Bug 1663261 - Command 'instack-install-undercloud' returned non-zero exit status 1
Summary: Command 'instack-install-undercloud' returned non-zero exit status 1
Keywords:
Status: CLOSED DUPLICATE of bug 1663873
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: instack-undercloud
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: James Slagle
QA Contact: Arik Chernetsky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-03 15:17 UTC by Sasha Smolyak
Modified: 2019-01-08 11:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-08 11:38:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sasha Smolyak 2019-01-03 15:17:41 UTC
Description of problem:

Deploying 2018-12-07.1 puddle 

controller:1,compute:1,ceph:1,telemetry:1
Composable roles: telemetry.

Got an error while installing undercloud:

    2018-12-12 14:36:51.034 | TASK [print the last 60 lines of the undercloud installation] ******************
    2018-12-12 14:36:51.036 | task path: /home/rhos-ci/jenkins/workspace/OSPD-Customized-Deployment-virt/infrared/plugins/tripleo-undercloud/deploy.yml:27
    2018-12-12 14:36:51.038 | changed: [undercloud-0] => {
    2018-12-12 14:36:51.040 |     "changed": true,
    2018-12-12 14:36:51.042 |     "cmd": [
    2018-12-12 14:36:51.045 |         "tail",
    2018-12-12 14:36:51.047 |         "-n60",
    2018-12-12 14:36:51.049 |         "undercloud_install.log"
    2018-12-12 14:36:51.052 |     ],
    2018-12-12 14:36:51.054 |     "delta": "0:00:00.003064",
    2018-12-12 14:36:51.056 |     "end": "2018-12-12 09:36:50.908156",
    2018-12-12 14:36:51.058 |     "rc": 0,
    2018-12-12 14:36:51.060 |     "start": "2018-12-12 09:36:50.905092"
    2018-12-12 14:36:51.062 | }
    2018-12-12 14:36:51.065 |
    2018-12-12 14:36:51.067 | STDOUT:
    2018-12-12 14:36:51.069 |
    2018-12-12 14:36:51.071 | 2018-12-12 09:36:35,679 INFO:    Rabbitmq plugin: 2.33
    2018-12-12 14:36:51.075 | 2018-12-12 09:36:35,680 INFO:    Neutron config: 2.40
    2018-12-12 14:36:51.077 | 2018-12-12 09:36:35,680 INFO:    Keystone config: 2.46
    2018-12-12 14:36:51.079 | 2018-12-12 09:36:35,680 INFO:       Heat config: 2.81
    2018-12-12 14:36:51.081 | 2018-12-12 09:36:35,680 INFO:     Keystone role: 2.94
    2018-12-12 14:36:51.084 | 2018-12-12 09:36:35,680 INFO:        Mysql user: 2.99
    2018-12-12 14:36:51.086 | 2018-12-12 09:36:35,680 INFO:    Config retrieval: 24.32
    2018-12-12 14:36:51.088 | 2018-12-12 09:36:35,680 INFO:      Nova cell v2: 3.34
    2018-12-12 14:36:51.090 | 2018-12-12 09:36:35,680 INFO:    Glance api config: 3.42
    2018-12-12 14:36:51.093 | 2018-12-12 09:36:35,680 INFO:     Keystone user: 38.38
    2018-12-12 14:36:51.095 | 2018-12-12 09:36:35,680 INFO:    Keystone user role: 48.52
    2018-12-12 14:36:51.097 | 2018-12-12 09:36:35,681 INFO:           Service: 49.45
    2018-12-12 14:36:51.099 | 2018-12-12 09:36:35,681 INFO:              Exec: 50.74
    2018-12-12 14:36:51.101 | 2018-12-12 09:36:35,681 INFO:    Keystone endpoint: 54.39
    2018-12-12 14:36:51.103 | 2018-12-12 09:36:35,681 INFO:     Ironic config: 6.02
    2018-12-12 14:36:51.106 | 2018-12-12 09:36:35,681 INFO:           Package: 631.35
    2018-12-12 14:36:51.108 | 2018-12-12 09:36:35,681 INFO:        Filebucket: 0.00
    2018-12-12 14:36:51.110 | 2018-12-12 09:36:35,681 INFO:     Mysql datadir: 9.48
    2018-12-12 14:36:51.113 | 2018-12-12 09:36:35,681 INFO: Version:
    2018-12-12 14:36:51.115 | 2018-12-12 09:36:35,681 INFO:            Config: 1544624209
    2018-12-12 14:36:51.117 | 2018-12-12 09:36:35,681 INFO:            Puppet: 4.8.2
    2018-12-12 14:36:51.120 | 2018-12-12 09:36:50,172 INFO: + rc=6
    2018-12-12 14:36:51.122 | 2018-12-12 09:36:50,172 INFO: + set -e
    2018-12-12 14:36:51.124 | 2018-12-12 09:36:50,172 INFO: + echo 'puppet apply exited with exit code 6'
    2018-12-12 14:36:51.126 | 2018-12-12 09:36:50,173 INFO: puppet apply exited with exit code 6
    2018-12-12 14:36:51.128 | 2018-12-12 09:36:50,173 INFO: + '[' 6 '!=' 2 -a 6 '!=' 0 ']'
    2018-12-12 14:36:51.131 | 2018-12-12 09:36:50,173 INFO: + exit 6
    2018-12-12 14:36:51.133 | 2018-12-12 09:36:50,173 INFO: [2018-12-12 09:36:50,173] (os-refresh-config) [ERROR] during configure phase. [Command '['dib-run-parts', '/usr/libexec/os-refresh-config/configure.d']' returned non-zero exit status 1]
    2018-12-12 14:36:51.135 | 2018-12-12 09:36:50,173 INFO:
    2018-12-12 14:36:51.137 | 2018-12-12 09:36:50,174 INFO: [2018-12-12 09:36:50,173] (os-refresh-config) [ERROR] Aborting...
    2018-12-12 14:36:51.139 | 2018-12-12 09:36:50,183 DEBUG: An exception occurred
    2018-12-12 14:36:51.142 | Traceback (most recent call last):
    2018-12-12 14:36:51.144 |   File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 2332, in install
    2018-12-12 14:36:51.146 |     _run_orc(instack_env)
    2018-12-12 14:36:51.148 |   File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1599, in _run_orc
    2018-12-12 14:36:51.151 |     _run_live_command(args, instack_env, 'os-refresh-config')
    2018-12-12 14:36:51.153 |   File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 668, in _run_live_command
    2018-12-12 14:36:51.685 |     raise RuntimeError('%s failed. See log for details.' % name)
    2018-12-12 14:36:51.687 | RuntimeError: os-refresh-config failed. See log for details.
    2018-12-12 14:36:51.689 | 2018-12-12 09:36:50,184 ERROR:
    2018-12-12 14:36:51.691 | #############################################################################
    2018-12-12 14:36:51.693 | Undercloud install failed.
    2018-12-12 14:36:51.695 |
    2018-12-12 14:36:51.697 | Reason: os-refresh-config failed. See log for details.
    2018-12-12 14:36:51.699 |
    2018-12-12 14:36:51.701 | See the previous output for details about what went wrong.  The full install
    2018-12-12 14:36:51.703 | log can be found at /home/stack/.instack/install-undercloud.log.
    2018-12-12 14:36:51.705 |
    2018-12-12 14:36:51.707 | #############################################################################
    2018-12-12 14:36:51.709 |
    2018-12-12 14:36:51.711 | Traceback (most recent call last):
    2018-12-12 14:36:51.713 |   File "<string>", line 1, in <module>
    2018-12-12 14:36:51.717 |   File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 2332, in install
    2018-12-12 14:36:51.719 |     _run_orc(instack_env)
    2018-12-12 14:36:51.721 |   File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1599, in _run_orc
    2018-12-12 14:36:51.724 |     _run_live_command(args, instack_env, 'os-refresh-config')
    2018-12-12 14:36:51.726 |   File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 668, in _run_live_command
    2018-12-12 14:36:51.728 |     raise RuntimeError('%s failed. See log for details.' % name)
    2018-12-12 14:36:51.730 | RuntimeError: os-refresh-config failed. See log for details.
    2018-12-12 14:36:51.732 | Command 'instack-install-undercloud' returned non-zero exit status 1
    2018-12-12 14:36:51.734 |
    2018-12-12 14:36:51.736 |
    2018-12-12 14:36:51.738 | TASK [print any nested error entries in undercloud installation] ***************
    2018-12-12 14:36:51.740 | task path: /home/rhos-ci/jenkins/workspace/OSPD-Customized-Deployment-virt/infrared/plugins/tripleo-undercloud/deploy.yml:30
    2018-12-12 14:36:51.742 | changed: [undercloud-0] => {
    2018-12-12 14:36:51.744 |     "changed": true,
    2018-12-12 14:36:51.746 |     "cmd": "grep -B2 -A5 -i 'info:.*error:' undercloud_install.log || true",
    2018-12-12 14:36:51.748 |     "delta": "0:00:00.006566",
    2018-12-12 14:36:51.750 |     "end": "2018-12-12 09:36:51.481334",
    2018-12-12 14:36:51.752 |     "rc": 0,
    2018-12-12 14:36:51.754 |     "start": "2018-12-12 09:36:51.474768"
    2018-12-12 14:36:51.756 | }
    2018-12-12 14:36:51.758 |
    2018-12-12 14:36:51.760 | STDOUT:
    2018-12-12 14:36:51.762 |
    2018-12-12 14:36:51.764 | 2018-12-12 09:36:13,513 INFO: Notice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns:                           [--use-journal] [--use-json] [--use-syslog]
    2018-12-12 14:36:51.766 | 2018-12-12 09:36:13,513 INFO: Notice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns:                           [--version] [--watch-log-file]
    2018-12-12 14:36:51.768 | 2018-12-12 09:36:13,513 INFO: Notice: /Stage[main]/Main/Exec[ceilo-gnocchi-upgrade]/returns: ceilometer-upgrade: error: unrecognized arguments: --skip-metering-database
    2018-12-12 14:36:51.770 | 2018-12-12 09:36:13,513 INFO: Error: ceilometer-upgrade --skip-metering-database returned 2 instead of one of [0]
    2018-12-12 14:36:51.772 | 2018-12-12 09:36:13,513 INFO: Error: /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]
    2018-12-12 14:36:51.774 | 2018-12-12 09:36:17,137 INFO: Notice: /Stage[main]/Nova::Compute/Nova::Generic_service[compute]/Service[nova-compute]/ensure: ensure changed 'stopped' to 'running'
    2018-12-12 14:36:51.776 | 2018-12-12 09:36:17,138 INFO: Notice: /Stage[main]/Nova::Deps/Anchor[nova::service::end]: Triggered 'refresh' from 4 events
    2018-12-12 14:36:51.778 | 2018-12-12 09:36:17,144 INFO: Notice: /Stage[main]/Nova::Logging/File[/var/log/nova/nova-manage.log]/seluser: seluser changed 'unconfined_u' to 'system_u'
    2018-12-12 14:36:51.780 | 2018-12-12 09:36:20,610 INFO: Notice: /Stage[main]/Nova::Cell_v2::Discover_hosts/Exec[nova-cell_v2-discover_hosts]: Triggered 'refresh' from 2 events
    2018-12-12 14:36:51.782 | 2018-12-12 09:36:21,099 INFO: Notice: /Stage[main]/Swift::Storage::Account/Swift::Service[swift-account-reaper]/Service[swift-account-reaper]/ensure: ensure changed 'stopped' to 'running'
    2018-12-12 14:36:51.784 |
    2018-12-12 14:36:51.786 |
    2018-12-12 14:36:51.788 | TASK [fail] ********************************************************************
    2018-12-12 14:36:51.790 | task path: /home/rhos-ci/jenkins/workspace/OSPD-Customized-Deployment-virt/infrared/plugins/tripleo-undercloud/deploy.yml:33
    2018-12-12 14:36:51.792 | fatal: [undercloud-0]: FAILED! => {
    2018-12-12 14:36:51.794 |     "changed": false
    2018-12-12 14:36:51.796 | }
    2018-12-12 14:36:51.798 |
    2018-12-12 14:36:51.801 | MSG:
    2018-12-12 14:36:51.803 |
    2018-12-12 14:36:51.805 | Undercloud deployment failed... :(


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Try to deploy composable roles: telemetry with controller:1,compute:1,ceph:1,telemetry:1

Actual results:
Deployment fails

Expected results:
Deployment passes

Additional info:

Comment 1 Sasha Smolyak 2019-01-08 11:35:24 UTC
Is a duplicate of 1663873, was supposed to be opened for 13

Comment 2 Sasha Smolyak 2019-01-08 11:38:58 UTC

*** This bug has been marked as a duplicate of bug 1663873 ***


Note You need to log in before you can comment on or make changes to this bug.