Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1243062 - On deployment failure, no reason is returned
On deployment failure, no reason is returned
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-rdomanager-oscplugin (Show other bugs)
unspecified
Unspecified Unspecified
medium Severity unspecified
: y1
: 7.0 (Kilo)
Assigned To: Dougal Matthews
Marius Cornea
: Triaged, ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-14 13:13 EDT by Steven Hardy
Modified: 2015-10-08 08:14 EDT (History)
8 users (show)

See Also:
Fixed In Version: python-rdomanager-oscplugin-0.0.9-2.el7ost
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-10-08 08:14:40 EDT
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)


External Trackers
Tracker ID Priority Status Summary Last Updated
Gerrithub.io 243585 None None None Never
Red Hat Product Errata RHSA-2015:1862 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Linux OpenStack Platform 7 director update 2015-10-08 12:05:50 EDT

  None (edit)
Description Steven Hardy 2015-07-14 13:13:45 EDT
Description of problem:

When doing openstack overcloud deploy, if something goes wrong, all you get is e.g "openstack Heat Stack update failed"

This is inconvenient as you then immediately have to do e.g a heat stack-show to see the reason.

In overcloud_deploy.py we've got code to get the stack (_get_stack), so we should use that and output the stack_status_reason on failure.
Comment 5 Marius Cornea 2015-09-14 13:03:27 EDT
[stack@instack ~]$ openstack overcloud deploy --ceph-storage-scale 3 --control-scale 3 --compute-scale 2 --ntp-server 10.16.255.1 --templates ~/templates/my-overcloud 
WARNING: rdomanager_oscplugin.v1.overcloud_deploy.DeployOvercloud There are 13 ironic nodes with no profile that will not be used: 9b40be41-7bc8-470e-9669-27c9eaa6bdbd, e2191af4-df23-42d3-a9d9-e16e616d2f65, db5d8e47-75bb-49e6-9fb3-e2bf28bdd2a6, d3c5af79-bd14-4aef-8f4b-14702b7eb194, 31a570e2-6795-40bf-8c01-e9e2f2d7dc5a, 0954fb53-18fd-493c-99c5-8748192f1db6, 29fb3628-ca2f-444a-b2fe-43dca5a6adea, 5cd0245c-44b6-4e31-868b-e7d6085076fa, a37530dd-8d80-4efe-b18f-ebc5a1a8a2f9, d282c4ef-1f2f-4320-b666-f191b85fec4b, 68088dee-fe2d-4a98-9488-835d17d5619f, bda2e59f-1051-4a0c-9701-e001523fa8be, 092cfaf6-e732-4938-adbd-858910f8e199
ERROR: rdomanager_oscplugin.v1.overcloud_deploy.DeployOvercloud Configuration has 1 warnings, fix them before proceeding. 

Deploying templates in the directory /home/stack/templates/my-overcloud

Stack failed with status: resources.Networks: resources.StorageMgmtNetwork: Conflict: resources.StorageMgmtSubnet: Unable to complete operation on subnet 503a45a6-40b7-4479-9ecc-4c4524f57dac. One or more ports have an IP allocation from this subnet.
ERROR: openstack Heat Stack update failed.
Comment 7 errata-xmlrpc 2015-10-08 08:14:40 EDT
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/RHSA-2015:1862

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