Bug 1365387 - Multiple Errors when deleting cloud volumes
Summary: Multiple Errors when deleting cloud volumes
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: cfme-future
Assignee: Tzu-Mainn Chen
QA Contact: Ola Pavlenko
URL:
Whiteboard: provider:cloud:volume:openstack
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-09 07:01 UTC by Aziza Karol
Modified: 2017-08-21 13:02 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-21 13:02:13 UTC
Category: Bug
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
cloud volumes (60.11 KB, image/png)
2016-08-09 07:01 UTC, Aziza Karol
no flags Details
volume with snapshot (80.42 KB, image/png)
2016-08-09 07:15 UTC, Aziza Karol
no flags Details
volume with creating status (45.06 KB, image/png)
2016-08-09 07:16 UTC, Aziza Karol
no flags Details
volume with error deleting status (82.00 KB, image/png)
2016-08-09 07:17 UTC, Aziza Karol
no flags Details

Description Aziza Karol 2016-08-09 07:01:27 UTC
Created attachment 1189064 [details]
cloud volumes

Description of problem:
Different exceptions thrown when deleting the cloud volume of different status.

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

How reproducible:
100%

Steps to Reproduce:
1.Deleting the cloud volume with status as available and with snapshot
see attached screenshot.
Error:
Expected(202) <=> Actual(400 Bad Request) excon.error.response :body => "{\"badRequest\": {\"message\": \"Invalid volume: Volume still has 1 dependent snapshots\", \"code\": 400}}" :cookies => [ ] :headers => { "Content-Length" => "98" "Content-Type" => "application/json; charset=UTF-8" "Date" => "Tue, 09 Aug 2016 06:38:12 GMT" "X-Compute-Request-Id" => "req-40096995-9cee-44c5-a0b2-b7b866e576e5" "X-Openstack-Request-Id" => "req-40096995-9cee-44c5-a0b2-b7b866e576e5" } :host => "10.8.58.50" :local_address => "192.168.100.113" :local_port => 57322 :path => "/v2/c76c3882788f4d88ba959904a3f9d243/volumes/c419514c-c3c5-4226-827b-93ce31d6fa3d" :port => 8776 :reason_phrase => "" :remote_ip => "10.8.58.50" :status => 400 :status_line => "HTTP/1.1 400 \r\n" [cloud_volume/button] 


2.Deleting a cloud volume when the status is creating. see attached screenshot
Error:
undefined method `status' for nil:NilClass [cloud_volume/button] 


3. Deleting a cloud volume with status error_deleting. see attached screenshot
Error:
 Expected(202) <=> Actual(400 Bad Request) excon.error.response :body => "{\"badRequest\": {\"message\": \"Invalid volume: Volume status must be available or error, but current status is: error_deleting\", \"code\": 400}}" :cookies => [ ] :headers => { "Content-Length" => "139" "Content-Type" => "application/json; charset=UTF-8" "Date" => "Tue, 09 Aug 2016 06:45:15 GMT" "X-Compute-Request-Id" => "req-77626c8b-2c0a-4877-9dfa-9ac3b1e9aba5" "X-Openstack-Request-Id" => "req-77626c8b-2c0a-4877-9dfa-9ac3b1e9aba5" } :host => "10.8.58.50" :local_address => "192.168.100.113" :local_port => 57450 :path => "/v2/c76c3882788f4d88ba959904a3f9d243/volumes/e8b5a563-b6ba-4613-b53d-dbd882330a01" :port => 8776 :reason_phrase => "" :remote_ip => "10.8.58.50" :status => 400 :status_line => "HTTP/1.1 400 \r\n" [cloud_volume/button] 


Actual results:


Expected results:
This all errors need to be handled

Additional info:

Comment 2 Aziza Karol 2016-08-09 07:15:35 UTC
Created attachment 1189068 [details]
volume with snapshot

Comment 3 Aziza Karol 2016-08-09 07:16:23 UTC
Created attachment 1189071 [details]
volume with creating status

Comment 4 Aziza Karol 2016-08-09 07:17:59 UTC
Created attachment 1189072 [details]
volume with error deleting status

Comment 7 Chris Pelland 2017-08-21 13:02:13 UTC
This bug has been open for more than a year and is assigned to an older release of CloudForms. 

If you would like to keep this Bugzilla open and if the issue is still present in the latest version of the product, please file a new Bugzilla which will be added and assigned to the latest release of CloudForms.


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