Bug 1237020 - undercloud GUI- Image field is mandatory when setting VM for deploy overcloud
Summary: undercloud GUI- Image field is mandatory when setting VM for deploy overcloud
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tuskar-ui
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: y1
: 7.0 (Kilo)
Assignee: Ana Krivokapic
QA Contact: Ola Pavlenko
URL:
Whiteboard:
: 1233623 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-30 08:27 UTC by Eran Kuris
Modified: 2023-02-22 23:02 UTC (History)
7 users (show)

Fixed In Version: openstack-tuskar-ui-0.4.0-2.el7ost
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-08 12:10:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 198464 0 None None None Never
Red Hat Product Errata RHSA-2015:1862 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Linux OpenStack Platform 7 director update 2015-10-08 16:05:50 UTC

Description Eran Kuris 2015-06-30 08:27:53 UTC
Description of problem:
undercloud GUI- Image field is mandatory  when setting VM for deploy overcloud.
When deploying overcloud via cli and verifying it in GUI it's looks like VM configured with "unknown" image. 

Version-Release number of selected component (if applicable):
RHEL-OSP director puddle 7.0 RC puddle 2015-06-26-3
[stack@instack images]$ rpm -qa |grep tuskar
python-tuskarclient-0.1.18-3.el7ost.noarch
openstack-tuskar-0.4.18-3.el7ost.noarch
openstack-tuskar-ui-extras-0.0.4-1.el7ost.noarch
openstack-tuskar-ui-0.3.0-6.el7ost.noarch
How reproducible:
100%

Steps to Reproduce:
1. Deploy undercloud 
2. Log in to the undercloud UI dashboard
3. Go to deployment roles
4. you can see that image shown as "unknown" 
Actual results:


Expected results:


Additional info:

Comment 3 Eran Kuris 2015-06-30 11:27:05 UTC
 I deploy overcloud via CLI its worked well.Verified it in GUI checked how it looks like in GUI. Then I undeploy it via GUI and tried to run again deploy via GUI and got errors : https://bugzilla.redhat.com/show_bug.cgi?id=1237044

Comment 4 Ana Krivokapic 2015-06-30 15:44:21 UTC
So to clarify a bit further, the issue here is that if you deploy an overcloud via the CLI and then log into the GUI, the Roles page doesn't display associated images.

The cause is that the GUI expects to find the image UUID in the Tuskar plan parameter, but this parameter contains the image name. I am not sure if the parameter should contain the image UUID or the image name. If it should contain the image UUID, then this bug is on the Tuskar side - we need to make Tuskar save the UUID into the plan parameter instead of the name. If the parameter should contain the name, then this bug is on the GUI side and we need to make sure the GUI expects the name and not the UUID.

Jay, could you please clarify if the UUID or the name should be saved to the plan paramter.

Comment 5 Eran Kuris 2015-07-01 06:11:02 UTC
Yes , Ana Krivokapic you right this is  exactly what  happens

Comment 6 Jay Dobies 2015-07-01 13:27:18 UTC
The plan should use the image name.

Comment 7 Ana Krivokapic 2015-07-02 14:53:37 UTC
*** Bug 1233623 has been marked as a duplicate of this bug. ***

Comment 8 Ana Krivokapic 2015-07-03 22:05:11 UTC
Upstream patch: https://review.openstack.org/#/c/198464/

Comment 10 Ola Pavlenko 2015-09-20 13:19:37 UTC
Verified on Virt env.
openstack-tuskar-ui-0.4.0-3.el7ost.noarch

Comment 12 errata-xmlrpc 2015-10-08 12:10:25 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/RHSA-2015:1862


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