Bug 1472420 - Instance Type on Provision Instances remains empty after adding flavor which has disk size of 0
Summary: Instance Type on Provision Instances remains empty after adding flavor which ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.8.0
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: GA
: 5.9.0
Assignee: Tzu-Mainn Chen
QA Contact: Ido Ovadia
URL:
Whiteboard: openstack
Depends On:
Blocks: 1481449 1481869
TreeView+ depends on / blocked
 
Reported: 2017-07-18 16:45 UTC by Ido Ovadia
Modified: 2018-01-14 09:59 UTC (History)
9 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1481449 1481869 (view as bug list)
Environment:
Last Closed: 2018-01-14 09:59:38 UTC
Category: Bug
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Flavors list (101.11 KB, image/png)
2017-07-18 16:49 UTC, Ido Ovadia
no flags Details
Empty instance type (110.49 KB, image/png)
2017-07-18 16:50 UTC, Ido Ovadia
no flags Details

Description Ido Ovadia 2017-07-18 16:45:49 UTC
Description of problem:
=======================
Creating a flavor on OSP after adding OSP to CFME does not updating Instance Type list on Provision Instances although flavors list updated 


Version-Release number of selected component:
=============================================
5.8.1.2


How reproducible:
=================
100%


Steps to Reproduce:
===================
1. Add OSP to CFME as cloud provider (without any flavor) 
2. Create Flavor on OSP
3. Refresh CFME
4. Verify Flavor updated: Compute --> Clouds --> Flavors
5. On Provision Instances --> Properties, try to select an instance type


Actual results:
===============
An empty list, 'No Choices Available' 


Expected results:
================
The flavor should available on Instance Type

Comment 1 Ido Ovadia 2017-07-18 16:49:04 UTC
Created attachment 1300553 [details]
Flavors list

Comment 2 Ido Ovadia 2017-07-18 16:50:03 UTC
Created attachment 1300554 [details]
Empty instance type

Comment 6 Marek Aufart 2017-07-25 14:50:08 UTC
Ido, could you paste details of the Glance image you used (interesting are its attributes min_disk and min_ram), thanks.

Comment 7 Ido Ovadia 2017-07-30 09:59:38 UTC
 openstack image show Cirros
+------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field            | Value                                                                                                                                                                                                                   |
+------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| checksum         | 50bdc35edb03a38d91b1b071afb20a3c                                                                                                                                                                                        |
| container_format | bare                                                                                                                                                                                                                    |
| created_at       | 2017-07-12T13:15:12Z                                                                                                                                                                                                    |
| disk_format      | qcow2                                                                                                                                                                                                                   |
| file             | /v2/images/de71fe68-da7f-427b-bd1e-6c2098d50d9c/file                                                                                                                                                                    |
| id               | de71fe68-da7f-427b-bd1e-6c2098d50d9c                                                                                                                                                                                    |
| min_disk         | 0                                                                                                                                                                                                                       |
| min_ram          | 0                                                                                                                                                                                                                       |
| name             | Cirros                                                                                                                                                                                                                  |
| owner            | 85835c65a06e4b7aa68dfd824eefa7af                                                                                                                                                                                        |
| properties       | direct_url='rbd://8543fa6c-657c-11e7-8073-52540079b45b/images/de71fe68-da7f-427b-bd1e-6c2098d50d9c/snap', locations='[{u'url': u'rbd://8543fa6c-657c-11e7-8073-52540079b45b/images/de71fe68-da7f-427b-bd1e-             |
|                  | 6c2098d50d9c/snap', u'metadata': {}}]'                                                                                                                                                                                  |
| protected        | False                                                                                                                                                                                                                   |
| schema           | /v2/schemas/image                                                                                                                                                                                                       |
| size             | 9761280                                                                                                                                                                                                                 |
| status           | active                                                                                                                                                                                                                  |
| tags             |                                                                                                                                                                                                                         |
| updated_at       | 2017-07-12T13:15:15Z                                                                                                                                                                                                    |
| virtual_size     | None                                                                                                                                                                                                                    |
| visibility       | public                                                                                                                                                                                                                  |
+------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Comment 9 CFME Bot 2017-08-14 13:59:20 UTC
New commit detected on ManageIQ/manageiq-providers-openstack/master:
https://github.com/ManageIQ/manageiq-providers-openstack/commit/f3d600345a9c0ba50265251c736bd2268d638280

commit f3d600345a9c0ba50265251c736bd2268d638280
Author:     Tzu-Mainn Chen <tzumainn>
AuthorDate: Mon Jul 31 15:50:22 2017 +0200
Commit:     Tzu-Mainn Chen <tzumainn>
CommitDate: Mon Jul 31 15:50:22 2017 +0200

    Update provision requirements check to allow exact matches
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1472420

 .../manageiq/providers/openstack/cloud_manager/provision_workflow.rb  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


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