Bug 1280076 - instack-virt-setup -- call to `virsh start instack` failing with improper status code
instack-virt-setup -- call to `virsh start instack` failing with improper sta...
Status: CLOSED INSUFFICIENT_DATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: instack-undercloud (Show other bugs)
7.0 (Kilo)
Unspecified Unspecified
medium Severity medium
: ---
: 7.0 (Kilo)
Assigned To: James Slagle
yeylon@redhat.com
: Automation
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-10 16:49 EST by Harry Rybacki
Modified: 2016-04-18 03:13 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
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 16:53:25 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Harry Rybacki 2015-11-10 16:49:12 EST
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 16:50 EST
Created attachment 1092475 [details]
RPM list for bare metal machine
Comment 3 Harry Rybacki 2015-11-10 16:50 EST
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.