Bug 1409561
Summary: | During --abort operation, "--log-file LOG_FILE" doesn't capture all outputs to the log file | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Prasanth <pprakash> |
Component: | cns-deploy-tool | Assignee: | Michael Adam <madam> |
Status: | CLOSED ERRATA | QA Contact: | Prasanth <pprakash> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | cns-3.4 | CC: | hchiramm, jarrpa, madam, mliyazud, pprakash, rcyriac, rtalur, vinug |
Target Milestone: | --- | ||
Target Release: | CNS 3.5 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | cns-deploy-4.0.0-11.el7rhgs | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-04-20 18:26:29 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1415598 |
Description
Prasanth
2017-01-02 13:28:39 UTC
We need to capture output for all the commands in the cns-deploy and let output function print it, so everything will be logged. This change will require more time. Proposing this for CNS 3.5 and removing it from the tracker. Tested this against the latest cns-deploy build and looks like the issue persists. See below: ################### [root@dhcp46-195 opt]# cns-deploy -g --abort --log-file=/var/log/cns-deploy/latest-cns-deploy-abort-5.log Using OpenShift CLI. NAME STATUS AGE storage-project Active 2d Using namespace "storage-project". Do you wish to abort the deployment? [Y]es, [N]o? [Default: N]: y service "heketi" deleted serviceaccount "heketi-service-account" deleted No resources found service "heketi-storage-endpoints" deleted deploymentconfig "heketi" deleted route "heketi" deleted template "deploy-heketi" deleted template "heketi" deleted Error from server (NotFound): secrets "heketi-db-backup" not found node "dhcp46-53.lab.eng.blr.redhat.com" labeled node "dhcp47-145.lab.eng.blr.redhat.com" labeled node "dhcp47-131.lab.eng.blr.redhat.com" labeled daemonset "glusterfs" deleted template "glusterfs" deleted [root@dhcp46-195 cns-deploy]# ls -al /var/log/cns-deploy/latest-cns-deploy-abort-5.log -rw-r--r--. 1 root root 56 Mar 30 16:53 /var/log/cns-deploy/latest-cns-deploy-abort-5.log [root@dhcp46-195 cns-deploy]# cat /var/log/cns-deploy/latest-cns-deploy-abort-5.log Using OpenShift CLI. Using namespace "storage-project". ################### Moving this bz back to Assigned for fixing the same. https://github.com/gluster/gluster-kubernetes/pull/221 has been merged upstream. will get into next build. Verified Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:1112 Marking qe-test-coverage as - since the preferred mode of deployment is using ansible |