¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 715°Ç
   
attaching status °­Á¦»èÁ¦
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2016-08-23 (È­) 10:14 Á¶È¸ : 3167
                                
¾Æ·¡ ¸µÅ©¿¡ ÀÇÇØ ¹ß»ýµÈ ¿¡·¯·Î ÀÎÇØ cinder status °¡ attaching ¿¡¼­ ÁøÇàÀÌ ¾ÈµÇ´Â »óȲ
http://chonnom.com/bbs/board.php?bo_table=OpenStack&wr_id=365

MariaDB [(none)]> use cinder;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
MariaDB [cinder]> select * from volumes where id='7243daaa-4e72-4071-9909-7357bcb373ed';
+---------------------+---------------------+------------+---------+--------------------------------------+--------+----------------------------------+----------------------------------+-------------------+------+-------------------+-----------+---------------+---------------------+---------------------+---------------+--------------+---------------------+-------------------+---------------+-------------+----------------+--------------+----------+-------------------+----------+-------------------+------------------+--------------------+-----------------------------+-------------------------+---------------------+-------------+-------------+-----------------+
| created_at          | updated_at          | deleted_at | deleted | id                                   | ec2_id | user_id                          | project_id                       | host              | size | availability_zone | status    | attach_status | scheduled_at        | launched_at         | terminated_at | display_name | display_description | provider_location | provider_auth | snapshot_id | volume_type_id | source_volid | bootable | provider_geometry | _name_id | encryption_key_id | migration_status | replication_status | replication_extended_status | replication_driver_data | consistencygroup_id | provider_id | multiattach | previous_status |
+---------------------+---------------------+------------+---------+--------------------------------------+--------+----------------------------------+----------------------------------+-------------------+------+-------------------+-----------+---------------+---------------------+---------------------+---------------+--------------+---------------------+-------------------+---------------+-------------+----------------+--------------+----------+-------------------+----------+-------------------+------------------+--------------------+-----------------------------+-------------------------+---------------------+-------------+-------------+-----------------+
| 2016-08-22 13:05:03 | 2016-08-23 01:03:55 | NULL       |       0 | 7243daaa-4e72-4071-9909-7357bcb373ed | NULL   | c76b97bc7f294a7bac60e95229e45e53 | cf240e77532746c0aada67098ddb58e0 | cl-201-56@lvm#LVM |   12 | nova              | available | attached      | 2016-08-22 13:05:03 | 2016-08-22 13:05:04 | NULL          | akanaka_217  | NULL                | NULL              | NULL          | NULL        | NULL           | NULL         |        0 | NULL              | NULL     | NULL              | NULL             | disabled           | NULL                        | NULL                    | NULL                | NULL        |           0 | NULL            |
+---------------------+---------------------+------------+---------+--------------------------------------+--------+----------------------------------+----------------------------------+-------------------+------+-------------------+-----------+---------------+---------------------+---------------------+---------------+--------------+---------------------+-------------------+---------------+-------------+----------------+--------------+----------+-------------------+----------+-------------------+------------------+--------------------+-----------------------------+-------------------------+---------------------+-------------+-------------+-----------------+
1 row in set (0.00 sec)

MariaDB [cinder]> update volumes set attach_status='detached',status='available' where id='7243daaa-4e72-4071-9909-7357bcb373ed';
Query OK, 1 row affected (0.01 sec)
Rows matched: 1  Changed: 1  Warnings: 0

root@controller:~# cinder list
+--------------------------------------+-----------+-------------+------+-------------+----------+-------------+
|                  ID                  |   Status  |     Name    | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+-----------+-------------+------+-------------+----------+-------------+
| 7243daaa-4e72-4071-9909-7357bcb373ed | available | akanaka_217 |  12  |      -      |  false   |             |
+--------------------------------------+-----------+-------------+------+-------------+----------+-------------+

root@controller:~# cinder delete 7243daaa-4e72-4071-9909-7357bcb373ed
Request to delete volume 7243daaa-4e72-4071-9909-7357bcb373ed has been accepted.

Âü°í
https://ask.openstack.org/en/question/66918/how-to-delete-volume-with-available-status-and-attached-to/

À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.