Bug 1182795 - Unable to provision openstack instance with non-admin tenant
Summary: Unable to provision openstack instance with non-admin tenant
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: GA
: 5.4.0
Assignee: Brandon Dunne
QA Contact: Jan Krocil
URL:
Whiteboard:
: 1182794 1266229 (view as bug list)
Depends On:
Blocks: 1184648
TreeView+ depends on / blocked
 
Reported: 2015-01-15 22:47 UTC by david.costakos
Modified: 2015-10-01 14:08 UTC (History)
10 users (show)

Fixed In Version: 5.4.0.0.11
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1184648 (view as bug list)
Environment:
Last Closed: 2015-06-16 12:47:48 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

Description david.costakos 2015-01-15 22:47:54 UTC
Description of problem:
Using the default provision UI (from CLOUD->Instances->Lifecycle->Provision)

Version-Release number of selected component (if applicable):
5.3.2.6.20150108100920_387a856


How reproducible:
Always


Steps to Reproduce:
1. Go to Cloud->Instances in the UI
2. Select Lifecycle -> Provision Instances
3. Provision an Instance to a Non-Admin Tenant

Actual results:
Instance failes at check_provision method, from the automate log:
[----] I, [2015-01-15T21:31:23.431112 #40062:12fd0a4]  INFO -- : Q-task_id([miq_provision_415000000000003]) Invoking [inline] method [ManageIQ/Cloud/VM/Provisioning/StateMachines/Methods/che
ck_provisioned] with inputs [{}]
[----] I, [2015-01-15T21:31:23.431825 #40062:12fd0a4]  INFO -- : Q-task_id([miq_provision_415000000000003]) <AEMethod [ManageIQ/Cloud/VM/Provisioning/StateMachines/Methods/check_provisioned]
> Starting 
[----] I, [2015-01-15T21:31:23.707729 #40062:56bb750]  INFO -- : Q-task_id([miq_provision_415000000000003]) <AEMethod check_provisioned> ProvisionCheck returned <error> for state <finished> and status <Error>
[----] I, [2015-01-15T21:31:23.716856 #40062:12fd0a4]  INFO -- : Q-task_id([miq_provision_415000000000003]) <AEMethod [ManageIQ/Cloud/VM/Provisioning/StateMachines/Methods/check_provisioned]> Ending


Instance actually provisions successfully in OpenStack though.
Expected results:
Instance provisions and the provisioning request does not fail at check_provision

Additional info:

Comment 2 Greg McCullough 2015-01-16 14:04:03 UTC
Brandon - I believe this is related to https://github.com/ManageIQ/manageiq/issues/1339 and we should be able to get access to their env to reproduce.

David - Can you provide us with login info for your environment in either a private comment here or send me a direct email?  Thanks

Comment 3 CFME Bot 2015-01-21 21:46:03 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/d0c0ae849838e43ea274fc45895530f2b3be2449

commit d0c0ae849838e43ea274fc45895530f2b3be2449
Author:     Brandon Dunne <bdunne>
AuthorDate: Wed Jan 21 15:38:20 2015 -0500
Commit:     Brandon Dunne <bdunne>
CommitDate: Wed Jan 21 15:38:20 2015 -0500

    [Openstack|provisioning] Discover instance in all accessible tenants
    
    Fixes #1339
    https://bugzilla.redhat.com/show_bug.cgi?id=1182795

 vmdb/app/models/miq_provision_openstack/cloning.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 4 CFME Bot 2015-01-21 22:21:05 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=4533c89448a96a74dbdcb6f68f61ff07f4e46c63

commit 4533c89448a96a74dbdcb6f68f61ff07f4e46c63
Author:     Brandon Dunne <bdunne>
AuthorDate: Wed Jan 21 15:38:20 2015 -0500
Commit:     Brandon Dunne <bdunne>
CommitDate: Wed Jan 21 17:02:36 2015 -0500

    [Openstack|provisioning] Discover instance in all accessible tenants
    
    Fixes #1339
    https://bugzilla.redhat.com/show_bug.cgi?id=1182795

 vmdb/app/models/miq_provision_openstack/cloning.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 5 Brandon Dunne 2015-01-22 16:01:00 UTC
*** Bug 1182794 has been marked as a duplicate of this bug. ***

Comment 6 Greg McCullough 2015-01-22 21:14:00 UTC
Removing needinfo flag.

Comment 8 Jan Krocil 2015-03-24 12:19:05 UTC
Verified fixed in 5.4.0.0.13 - 5.4.0.0.13.20150319164909_f011a66.

Comment 10 errata-xmlrpc 2015-06-16 12:47:48 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://rhn.redhat.com/errata/RHBA-2015-1100.html

Comment 11 Greg McCullough 2015-10-01 14:08:15 UTC
*** Bug 1266229 has been marked as a duplicate of this bug. ***


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