Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 871136

Summary: Deleting a mock provider account returns a "401 Unauthorized" error
Product: [Retired] CloudForms Cloud Engine Reporter: Ronelle Landy <rlandy>
Component: aeolus-conductorAssignee: Matt Wagner <matt.wagner>
Status: CLOSED WORKSFORME QA Contact: Rehana <aeolus-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.1.0CC: athomas, cpelland, dajohnso, matt.wagner, slinaber
Target Milestone: 1.1.2Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-16 20:21:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
401 Unauthorized error none

Description Ronelle Landy 2012-10-29 17:45:04 UTC
Description of problem:

I added a mock provider and then created an account for this provider.
When I tried to delete that account, Conductor returned a "401 Unauthorized" error (see attached screenshot) 


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

conductor git commit: ada5996eaafb634940b7ffe4b529d581d03b580b (conductor/.git/refs/heads/master)

Referring to deltacloud-core/imagefactory/iwhd:

[root@qeblade39 ~]# rpm -qa |grep deltacloud
deltacloud-core-0.5.0-10.el6_2.noarch
rubygem-deltacloud-client-0.5.0-2.el6.noarch
deltacloud-core-vsphere-0.5.0-10.el6_2.noarch
deltacloud-core-rhevm-0.5.0-10.el6_2.noarch
deltacloud-core-ec2-0.5.0-10.el6_2.noarch

[root@qeblade39 ~]# rpm -qa |grep imagefactory
imagefactory-jeosconf-ec2-rhel-1.0.2-1.el6cf.noarch
imagefactory-jeosconf-ec2-fedora-1.0.2-1.el6cf.noarch
imagefactory-1.0.2-1.el6cf.noarch

[root@qeblade39 ~]# rpm -qa |grep iwhd
iwhd-1.5-2.el6.x86_64


Steps to Reproduce:
1. On Fedora 17, run >> yum install aeolus-all
2. Referring to deltacloud-core/imagefactory/iwhd versions listed above (installed on a separate box) run bootstrap.sh as described in http://blog.aeolusproject.org/upstream-conductor-development/
3. Open browser pointing at http:<server>:3000
4. Add a mock provider + provider account
5. Delete that account
  
Actual results:

"401 Unauthorized" error

Expected results:

Account should be deleted

Additional info:

Comment 1 Ronelle Landy 2012-10-29 17:46:16 UTC
marking this BZ as high severity as it blocks the upstream automation

Comment 2 Ronelle Landy 2012-10-29 17:47:23 UTC
Created attachment 635114 [details]
401 Unauthorized error

Comment 4 Matt Wagner 2013-01-16 20:21:55 UTC
We are unable to reproduce this anymore, and given its age, I'm closing as 'worksforme'.