-
Bug
-
Resolution: Done
-
Major
-
fuse-7.0
-
%
-
Fuse 7.0 Sprint 26
fabric8:log doesn't work.
After such execution
mvn clean install fabric8:resource fabric8:build fabric8:deploy -Dfabric8.generator.from=docker-registry.engineering.redhat.com/jboss-fuse-7/fis-java-openshift:1.0 -Dfabric8.generator.fromMode=docker -Dfabric8.deploy.createExternalUrls=true
and invoking the tail of log
[INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building fabric8-maven-sample-zero-config 3.1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- fabric8-maven-plugin:3.5.32.fuse-000029:log (default-cli) @ fabric8-maven-sample-zero-config --- [INFO] F8: Using OpenShift at https://master.7fuse.dos.fuse-qe.eng.rdu2.redhat.com:8443/ in namespace llowinge-log with manifest /home/llowinge/Documents/Redhat/xpass-openshift/xpaas-qe/test-fuse/src/test/resources/apps/spring-boot/fmp-zero-config/target/classes/META-INF/fabric8/openshift.yml [INFO] OpenShift platform detected [INFO] Using project: llowinge-log [INFO] F8: Watching pods with selector LabelSelector(matchExpressions=[], matchLabels={app=fabric8-maven-sample-zero-config, provider=fabric8, group=io.fabric8}, additionalProperties={}) waiting for a running pod... [INFO] F8:[NEW] fabric8-maven-sample-zero-config-1-8rdqr status: Running Ready [INFO] F8:[NEW] Tailing log of pod: fabric8-maven-sample-zero-config-1-8rdqr [INFO] F8:[NEW] Press Ctrl-C to stop tailing the log [INFO] F8:[NEW] [INFO] F8:[NEW] fabric8-maven-sample-zero-config-1-8rdqr status: Running Ready
but
oc logs fabric8-maven-sample-zero-config-1-8rdqr
returns the expected log.
Probably connected to upstream bug .