Hi anand ts, Sergey has sent me a response, it follows: "Hello, you can reset volume's state to 'avaliable' and try to delete it again. cinder reset-state <volume-id>"
2014-05-14 9:00 GMT-03:00 Luis Guilherme Russi <luisguilherme...@gmail.com>: > If you try to detach first, then you run the command to delete the volume, > what happens? > > > 2014-05-14 8:43 GMT-03:00 anand ts <anandts...@gmail.com>: > >> Hi Ageeleshwar, >> >> I directly deleted the running instance from database. >> >> >> On Wed, May 14, 2014 at 5:06 PM, Ageeleshwar Kandavelu < >> ageeleshwar.kandav...@csscorp.com> wrote: >> >>> Was the instance terminated or directly deleted from the database? >>> ------------------------------ >>> *From:* anand ts [anandts...@gmail.com] >>> *Sent:* Wednesday, May 14, 2014 4:09 PM >>> *To:* openstack@lists.openstack.org >>> *Subject:* [Openstack] Cinder volume deleting issue >>> >>> Hi all, >>> >>> I have multinode setup on openstack+havana+rdo on CentOS6.5 >>> >>> Issue- Can't able to delete cinder volume. >>> >>> when try to delete through command line >>> >>> [root@cinder ~(keystone_admin)]# cinder list >>> >>> +--------------------------------------+--------+--------------+------+-------------+----------+--------------------------------------+ >>> | ID | Status | Display Name | Size | >>> Volume Type | Bootable | Attached to | >>> >>> +--------------------------------------+--------+--------------+------+-------------+----------+--------------------------------------+ >>> | fe0fdad1-2f8a-4cce-a173-797391dbc7ad | in-use | vol2 | 10 | >>> None | true | b998107b-e708-42a5-8790-4727fed879a3 | >>> >>> +--------------------------------------+--------+--------------+------+-------------+----------+------------------------------ >>> >>> [root@cinder ~(keystone_admin)]# cinder delete >>> fe0fdad1-2f8a-4cce-a173-797391dbc7ad >>> Delete for volume fe0fdad1-2f8a-4cce-a173-797391dbc7ad failed: Invalid >>> volume: Volume status must be available or error, but current status is: >>> in-use (HTTP 400) (Request-ID: req-d9be63f0-476a-4ecd-8655-20491336ee8b) >>> ERROR: Unable to delete any of the specified volumes. >>> >>> >>> when try to delete through dashboard, screen shot attached with the >>> mail. >>> >>> This occured when a cinder volume attached instance is deleted from >>> the database without detaching the volume. Now the volume is in use and >>> attached to NONE. >>> >>> >>> Please find the cinder logs here , >>> http://paste.openstack.org/show/80333/ >>> >>> Any work around to this problem. >>> http://www.csscorp.com/common/email-disclaimer.php >>> >> >> >> _______________________________________________ >> Mailing list: >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> Post to : openstack@lists.openstack.org >> Unsubscribe : >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> >> >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack