instack-undercloud fails to install, w/ touch: cannot touch ‘/opt/stack/.undercloud-setup’: No such file or directory

Bug #1605349 reported by wes hayutin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
John Trowbridge

Bug Description

https://ci.centos.org/artifacts/rdo/jenkins-tripleo-quickstart-promote-master-delorean-minimal-384/undercloud/home/stack/undercloud_install.log.gz

+ for workbook in '$(ls /usr/share/openstack-tripleo-common/workbooks/*)'
+ mistral workbook-create /usr/share/openstack-tripleo-common/workbooks/plan_management.yaml
+------------+----------------------------+
| Field | Value |
+------------+----------------------------+
| Name | tripleo.plan_management.v1 |
| Tags | <none> |
| Created at | 2016-07-21 17:37:28.146922 |
| Updated at | None |
+------------+----------------------------+
+ systemctl restart openstack-nova-compute
+ sysctl -w net.ipv4.ip_forward=1
net.ipv4.ip_forward = 1
+ echo net.ipv4.ip_forward=1
+ touch /opt/stack/.undercloud-setup
touch: cannot touch ‘/opt/stack/.undercloud-setup’: No such file or directory
[2016-07-21 17:37:56,848] (os-refresh-config) [ERROR] during post-configure phase. [Command '['dib-run-parts', '/usr/libexec/os-refresh-config/post-configure.d']' returned non-zero exit status 1]

[2016-07-21 17:37:56,849] (os-refresh-config) [ERROR] Aborting...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1121, in install
    _run_orc(instack_env)
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 999, in _run_orc
    _run_live_command(args, instack_env, 'os-refresh-config')
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 492, in _run_live_command
    raise RuntimeError('%s failed. See log for details.' % name)
RuntimeError: os-refresh-config failed. See log for details.
Command 'instack-install-undercloud' returned non-zero exit status 1

Changed in tripleo:
assignee: nobody → John Trowbridge (trown)
status: New → In Progress
Steven Hardy (shardy)
Changed in tripleo:
milestone: none → newton-3
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to instack-undercloud (master)

Reviewed: https://review.openstack.org/345588
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=fe121a919d0b83a79e507a522d6ea9e4507ead8c
Submitter: Jenkins
Branch: master

commit fe121a919d0b83a79e507a522d6ea9e4507ead8c
Author: John Trowbridge <email address hidden>
Date: Thu Jul 21 14:02:09 2016 -0400

    Remove "OK_FILE" from undercloud-install element

    This was a vestige of a bygone era where the undercloud-setup
    script was not rerunnable. Currently, it is breaking installs
    that do not already have a /opt/stack directory created on
    the undercloud. As such, lets just get rid of it.

    Closes-Bug: 1605349

    Change-Id: I5a15d0c826c7848492863884829311260f7732ea

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/instack-undercloud 5.0.0.0b3

This issue was fixed in the openstack/instack-undercloud 5.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.