Description of problem: Openstack Volume Snapshots are appearing when we try to provision a instance via Lifecycle. Version-Release number of selected component (if applicable): Red Hat CloudForms 5.9.1.2 How reproducible: Always Steps to Reproduce: 1) Login to cloudforms operational portal via Normal user (Other than admin). 2) Navigate to Compute -> Cloud -> Instances 3) Select Lifecycle -> Provision Instance 4) We will only see list of volume snapshots instead of templates. Actual results: It is showing list of bootable volume snapshots. Expected results: CloudForms should display list of templates, bootable volumes & bootable volumes snapshots.
Re-assigning to Providers team to evaluate.
I believe that provisioning VM from Volume Snapshot is a feature introduced in 4.6/5.9.
Sorry, didn't get that other sources for provision are missing in this case.
https://bugzilla.redhat.com/show_bug.cgi?id=1589028 fixes the tenancy scoping issue.
https://github.com/ManageIQ/manageiq-providers-openstack/pull/310
New commit detected on ManageIQ/manageiq-providers-openstack/master: https://github.com/ManageIQ/manageiq-providers-openstack/commit/eda85c2f47505de8428e7d3a964197b6a91a2582 commit eda85c2f47505de8428e7d3a964197b6a91a2582 Author: Sam Lucidi <slucidi> AuthorDate: Tue Jun 26 12:34:02 2018 -0400 Commit: Sam Lucidi <slucidi> CommitDate: Tue Jun 26 12:34:02 2018 -0400 Fix tenant associations on VolumeSnapshotTemplates Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1589028 app/models/manageiq/providers/openstack/inventory/collector/cloud_manager.rb | 5 +- app/models/manageiq/providers/openstack/inventory/parser/cloud_manager.rb | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-)
New commit detected on ManageIQ/manageiq-providers-openstack/gaprindashvili: https://github.com/ManageIQ/manageiq-providers-openstack/commit/e9a51db31529a6e09cd81e03175b9103d14e61f3 commit e9a51db31529a6e09cd81e03175b9103d14e61f3 Author: Sam Lucidi <slucidi> AuthorDate: Tue Jun 26 12:34:02 2018 -0400 Commit: Sam Lucidi <slucidi> CommitDate: Tue Jun 26 12:34:02 2018 -0400 Fix tenant associations on VolumeSnapshotTemplates Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1589028 app/models/manageiq/providers/openstack/inventory/collector/cloud_manager.rb | 5 +- app/models/manageiq/providers/openstack/inventory/parser/cloud_manager.rb | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-)
Verified on 5.10.0.24