Bug 1663873
Summary: | Command 'instack-install-undercloud' returned non-zero exit status 1 | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Sasha Smolyak <ssmolyak> | ||||
Component: | instack-undercloud | Assignee: | Martin Magr <mmagr> | ||||
Status: | CLOSED ERRATA | QA Contact: | Nataf Sharabi <nsharabi> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 13.0 (Queens) | CC: | agurenko, aiyengar, aschultz, augol, ccopello, dwojewod, j.thadden, lnatapov, mburns, mmagr, mzheng, nsharabi, pmorey, rcernin, rszmigie, sbandyop, slinaber, sputhenp, ssmolyak | ||||
Target Milestone: | z5 | Keywords: | Regression, Reopened, Triaged, ZStream | ||||
Target Release: | 13.0 (Queens) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | instack-undercloud-8.4.6-5.el7ost | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1668263 (view as bug list) | Environment: | |||||
Last Closed: | 2019-03-14 13:55:07 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: | 1668263 | ||||||
Attachments: |
|
Description
Sasha Smolyak
2019-01-07 09:22:14 UTC
Do you have sosreport from the undercloud available? Created attachment 1519159 [details]
/home/stack from undercloud
sosreport from undercloud: https://drive.google.com/drive/folders/1YhQzmMWjhutx2sthWZzbsBSITNDV0O85?usp=sharing *** Bug 1663261 has been marked as a duplicate of this bug. *** Actual error is in ceilometer-upgrade 2019-01-08 04:58:25,543 INFO: ^[[1;31mError: ceilometer-upgrade --skip-metering-database returned 2 instead of one of [0]^[[0m 2019-01-08 04:58:25,543 INFO: ^[[1;31mError: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns: change from notrun to 0 failed: ceilometer-upgrade --skip-metering-database returned 2 instead of one of [0]^[[0m Specifically the ceilometer-upgrade doesn't have the --skip-metering-database option. 2019-01-08 04:58:25,541 INFO: ^[[mNotice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns: usage: ceilometer-upgrade [-h] [--config-dir DIR] [--config-file PATH]^[[0m 2019-01-08 04:58:25,541 INFO: ^[[mNotice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns: [--debug] [--log-config-append PATH]^[[0m 2019-01-08 04:58:25,541 INFO: ^[[mNotice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns: [--log-date-format DATE_FORMAT] [--log-dir LOG_DIR]^[[0m 2019-01-08 04:58:25,541 INFO: ^[[mNotice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns: [--log-file PATH] [--nodebug]^[[0m 2019-01-08 04:58:25,541 INFO: ^[[mNotice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns: [--noskip-gnocchi-resource-types] [--nouse-journal]^[[0m 2019-01-08 04:58:25,542 INFO: ^[[mNotice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns: [--nouse-json] [--nouse-syslog] [--nowatch-log-file]^[[0m 2019-01-08 04:58:25,542 INFO: ^[[mNotice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns: [--retry RETRY] [--skip-gnocchi-resource-types]^[[0m 2019-01-08 04:58:25,542 INFO: ^[[mNotice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns: [--syslog-log-facility SYSLOG_LOG_FACILITY]^[[0m 2019-01-08 04:58:25,542 INFO: ^[[mNotice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns: [--use-journal] [--use-json] [--use-syslog]^[[0m 2019-01-08 04:58:25,542 INFO: ^[[mNotice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns: [--version] [--watch-log-file]^[[0m 2019-01-08 04:58:25,542 INFO: ^[[mNotice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns: ceilometer-upgrade: error: unrecognized arguments: --skip-metering-database^[[0m 2019-01-08 04:58:25,543 INFO: ^[[1;31mError: ceilometer-upgrade --skip-metering-database returned 2 instead of one of [0]^[[0m 2019-01-08 04:58:25,543 INFO: ^[[1;31mError: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns: change from notrun to 0 failed: ceilometer-upgrade --skip-metering-database returned 2 instead of one of [0]^[[0m *** This bug has been marked as a duplicate of bug 1659044 *** *** Bug 1667424 has been marked as a duplicate of this bug. *** Hello, DHS is currently hitting this bug causing the undercloud update failures. The problem is caused by /usr/share/instack-undercloud/puppet-stack-config/puppet-stack-config.pp file from instack-undercloud-8.4.6-4.el7ost.noarch package. Please note that during openstack undercloud install copy of this file is created in /etc/puppet/manifests/ and it is used during the next installation attempt. Resolution which works in my case: [root@director13 ~]# cat << EOF > /tmp/BZ1667424.patch --- /usr/share/instack-undercloud/puppet-stack-config/puppet-stack-config.pp 2018-11-26 10:45:03.000000000 -0500 +++ /usr/share/instack-undercloud/puppet-stack-config/puppet-stack-config.pp.new 2019-02-01 06:28:59.394972476 -0500 @@ -205,7 +205,7 @@ exec { 'ceilo-gnocchi-upgrade': - command => 'ceilometer-upgrade --skip-metering-database', + command => 'ceilometer-upgrade', path => ['/usr/bin', '/usr/sbin'], } EOF [root@director13 ~]# patch /usr/share/instack-undercloud/puppet-stack-config/puppet-stack-config.pp < /tmp/BZ1667424.patch patching file /usr/share/instack-undercloud/puppet-stack-config/puppet-stack-config.pp Hunk #1 succeeded at 207 with fuzz 2 (offset 2 lines). ### If you have already made openstack undercloud install attempt, you also need to patch copy of the file created in /etc/puppet/manifests/ [root@director13 ~]# patch /etc/puppet/manifests/puppet-stack-config.pp < /tmp/BZ1667424.patch patching file /etc/puppet/manifests/puppet-stack-config.pp Hunk #1 succeeded at 207 with fuzz 2 (offset 2 lines). Then you can re-run openstack undercloud install. I've deployed openstack with the following: puddle : 2019-02-25.2 config: controller:3,compute:2,ceph:3 Telemetry enabled in undercloud Templates: custom_templates: parameter_defaults: GnocchiBackend: file No errors found during deployment. Deployment was successful! 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/RHBA-2019:0448 |