centos7 image missing lsb_release

Bug #1641106 reported by Oliver Walsh
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
Fix Released
Undecided
Oliver Walsh

Bug Description

Create a centos 7 overcloud image following the tripleo docs: http://docs.openstack.org/developer/tripleo-docs/basic_deployment/basic_deployment_cli.html#get-images

If the Ceph repo is not enabled the deployment fails in os-collect-config due to missing lsb_release:

++ lsb_release -is
Nov 10 22:15:29 overcloud-novacompute-0 os-collect-config[4498]: /usr/libexec/os-refresh-config/configure.d/51-hosts: line 36: lsb_release: command not found
Nov 10 22:15:29 overcloud-novacompute-0 os-collect-config[4498]: ++ tr -s '[A-Z]' '[a-z]'
Nov 10 22:15:29 overcloud-novacompute-0 os-collect-config[4498]: + DIST=
Nov 10 22:15:29 overcloud-novacompute-0 os-collect-config[4498]: [2016-11-10 22:15:29,855] (os-refresh-config) [ERROR] during configure phase. [Command '['dib-run-parts', '/usr/libexec/os-refresh-config/configure.d']' returned no
Nov 10 22:15:29 overcloud-novacompute-0 os-collect-config[4498]: [2016-11-10 22:15:29,855] (os-refresh-config) [ERROR] Aborting...
Nov 10 22:15:29 overcloud-novacompute-0 os-collect-config[4498]: Command failed, will not cache new data. Command 'os-refresh-config --timeout 14400' returned non-zero exit status 1

If the ceph repo is enabled then lsb_release is installed as dependency:
$ rpm -q --whatrequires redhat-lsb-core
ceph-base-10.2.2-0.el7.x86_64

Oliver Walsh (owalsh)
Changed in diskimage-builder:
assignee: nobody → Oliver Walsh (owalsh)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to diskimage-builder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/396607

Changed in diskimage-builder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on diskimage-builder (master)

Change abandoned by Oliver Walsh (<email address hidden>) on branch: master
Review: https://review.openstack.org/396607
Reason: Got with https://review.openstack.org/#/c/396759 instead

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-image-elements 6.0.0.0b1

This issue was fixed in the openstack/tripleo-image-elements 6.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-image-elements 5.2.0

This issue was fixed in the openstack/tripleo-image-elements 5.2.0 release.

Oliver Walsh (owalsh)
Changed in diskimage-builder:
status: In Progress → Fix Released
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.