RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1213645 - instack-install-undercloud defaults to fedora not host os
Summary: instack-install-undercloud defaults to fedora not host os
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: RDO
Classification: Community
Component: rdo-manager
Version: Icehouse
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Kilo
Assignee: James Slagle
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-21 01:30 UTC by Mohammed Arafa
Modified: 2016-04-18 06:49 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-12 21:33:49 UTC
Embargoed:


Attachments (Terms of Use)

Description Mohammed Arafa 2015-04-21 01:30:48 UTC
Description of problem:

this page https://repos.fedorapeople.org/repos/openstack-m/instack-undercloud/html/build-images.html says:
The built images will automatically have the same base OS as the running undercloud. See the Note below to choose a different OS:
so my instack is centos7.1 but all of a sudden i saw instack-build-images downloading fedora 21 images.
+ curl -o fedora-user.qcow2 -L http://cloud.fedoraproject.org/fedora-21.x86_64.qcow2
which meant that
export NODE_DIST=centos7 is mandatory as fedora is the default

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


How reproducible:
everytime - twice now. then set the NODE_DIST variable which resolved it

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 James Slagle 2015-05-12 21:33:49 UTC
instack-build-images will download the fedora image as the cloud user image to run on the overcloud as part of instack-test-overcloud. We have to use fedora b/c rhel/centos does not have support for any nested virt (qemu or kvm). The build images do have the same OS as the host.

Comment 2 Mohammed Arafa 2015-05-12 22:18:09 UTC
james 

the description above which is taken from the document says "The built images will automatically have the same base OS as the running undercloud"

this is not accurate. running on a centos host will download a fedora image

further more, you say  "We have to use fedora", the description above says "export NODE_DIST=centos7" - this will indeed use centos as the image. that variable was also taken from the documentation

and finally, when i used that above variable, i was able to complete the installation of rdo manager, including the 2 baremetal virt servers AND was able to login to horizon.

nest kvm is theoretically only required only if an instance will be instantiated on those virtual nodes deployed by the instack script.

the bug here to be exact is that on a centos host, the downloaded image should have been a centos image. on a fedora host, it should be a fedora image, however, on centos it in fact defaulted to fedora.


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