Bug 1280076 - instack-virt-setup -- call to `virsh start instack` failing with improper status code
Summary: instack-virt-setup -- call to `virsh start instack` failing with improper sta...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: instack-undercloud
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 7.0 (Kilo)
Assignee: James Slagle
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-10 21:49 UTC by Harry Rybacki
Modified: 2016-04-18 07:13 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Local machine (running Khaleesi): Fedora 22 Test machine (on which OS is being installed): RHEL 7.1 RPM list attached
Last Closed: 2015-11-10 21:53:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
instack-virt-setup log (127.83 KB, text/plain)
2015-11-10 21:49 UTC, Harry Rybacki
no flags Details
RPM list for bare metal machine (44.97 KB, text/plain)
2015-11-10 21:50 UTC, Harry Rybacki
no flags Details
ksgen_settings file used by Khaleesi to execute the build (14.26 KB, text/plain)
2015-11-10 21:50 UTC, Harry Rybacki
no flags Details

Description Harry Rybacki 2015-11-10 21:49:12 UTC
Created attachment 1092473 [details]
instack-virt-setup log

Description of problem:

While using Khaleesi to build a minimal cloud, instack-virt-setup is failing perform as expected and not returning an appropriate status code. As a result, ansible continues down the list of tasks until ambiguously failing when getting to one that requires a complete and proper build from instack-virt-setup. 

How reproducible:

Easy but requires a baremetal machine to run Khaleesi against

Follow the steps outlined in the Khaleesi cookbook -- http://rdo-ci-doc.usersys.redhat.com/cookbook.html 

Steps to Reproduce:
1. Follow steps outlined in http://rdo-ci-doc.usersys.redhat.com/cookbook.html through # Deployment Execution
2. run $ ansible-playbook -vv --extra-vars @ksgen_settings.yml -i local_hosts playbooks/full-job-no-test.yml

Actual results:
ansible-playbook fails with output: 
    fatal: [host0] => SSH Error: ssh.config.ansible line 16: Missing argument.

(assumed) instack-virt-setup is returning a status code zero upon failing `sudo virsh start instack`

Expected results:
instack-virt-setup should return an appropriate status code to prevent ansible from continuing execution

Comment 2 Harry Rybacki 2015-11-10 21:50:07 UTC
Created attachment 1092475 [details]
RPM list for bare metal machine

Comment 3 Harry Rybacki 2015-11-10 21:50:40 UTC
Created attachment 1092476 [details]
ksgen_settings file used by Khaleesi to execute the build


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