Bug 1224813

Summary: instack-undercloud: running "instack-virt-setup" doesn't create the instack VM.
Product: Red Hat OpenStack Reporter: Alexander Chuzhoy <sasha>
Component: instack-undercloudAssignee: James Slagle <jslagle>
Status: CLOSED ERRATA QA Contact: Alexander Chuzhoy <sasha>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: DirectorCC: mburns, rhel-osp-director-maint, sasha
Target Milestone: gaKeywords: Triaged
Target Release: Director   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-05 13:51:39 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:

Description Alexander Chuzhoy 2015-05-25 21:28:06 UTC
instack-undercloud: running "instack-virt-setup" doesn't create the instack VM.

Environment:
instack-undercloud-2.1.1-dev15.el7.centos.noarch


Steps to reproduce:
Try to deploy undercloud on a VM setup.
Follow  the sphynx docs, run "instack-virt-setup"


Result:

--------------------- END PROFILING ---------------------
dib-run-parts Tue May 26 00:23:48 IDT 2015 Running /tmp/image.zjmskaEn/hooks/cleanup.d/01-ccache
dib-run-parts Tue May 26 00:23:48 IDT 2015 01-ccache completed
dib-run-parts Tue May 26 00:23:48 IDT 2015 Running /tmp/image.zjmskaEn/hooks/cleanup.d/01-copy-manifests-dir
+ set -eu
+ set -o pipefail
+ '[' -d /tmp/image.zjmskaEn/mnt//etc/dib-manifests ']'
+ '[' -e /tmp/image.zjmskaEn/mnt/etc/dib_arguments ']'
+ sudo mv /tmp/image.zjmskaEn/mnt/etc/dib_arguments /tmp/image.zjmskaEn/mnt//etc/dib-manifests
+ '[' -e /tmp/image.zjmskaEn/mnt/etc/dib_environment ']'
+ sudo mv /tmp/image.zjmskaEn/mnt/etc/dib_environment /tmp/image.zjmskaEn/mnt//etc/dib-manifests
+ mkdir -p instack.d/
mkdir: cannot create directory 'instack.d/': Permission denied
/dev/loop0: [0036]:166311 (/tmp/image.VETZmKdH/image.raw)



Running: virsh list --all shows:
 Id    Name                           State
----------------------------------------------------
 -     baremetal_0                    shut off
 -     baremetal_1                    shut off


Expected result:

The instack VM should be up and running.

Comment 3 James Slagle 2015-05-26 15:01:44 UTC
it appears you're using RDO packages. can you restest using RHOS only?

I've put up a review documenting how to do this:
https://review.gerrithub.io/#/c/234349/

Comment 4 Alexander Chuzhoy 2015-06-01 21:01:30 UTC
The issue doesn't reproduce now - using RHOS.

Comment 5 Mike Burns 2015-06-02 11:45:41 UTC
marking modified since it's fixed now.  Removing blocker since we're not supporting instack-virt-setup.

Comment 9 Alexander Chuzhoy 2015-06-19 15:58:07 UTC
Verified:

Environment:
instack-undercloud-2.1.2-1.el7ost.noarch

The issue doesn't reproduce now.

Comment 11 errata-xmlrpc 2015-08-05 13:51:39 UTC
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/RHEA-2015:1549