게시물 600건
   
Migration for instanc XXXXXXXXX refers to another host's instance!
글쓴이 : 최고관리자 날짜 : 2018-07-10 (화) 13:52 조회 : 2816
                                
증상 : 아래 로그는 자원이 남아있음에도 불구하고 리소스 할당이 안됨...

# tail -f /var/log/nova/nova-compute.log
..........................
2018-07-10 13:32:26.717 14497 ERROR nova.compute.resource_tracker [req-ef75b799-10f5-4091-b2d3-2cc249b6ef99 - - - - -] Migration for instance d158deca-5ddf-4ee7-bcb4-5b0b56f04460 refers to another host's instance!
2018-07-10 13:32:26.717 14497 ERROR nova.compute.resource_tracker [req-ef75b799-10f5-4091-b2d3-2cc249b6ef99 - - - - -] Migration for instance d158deca-5ddf-4ee7-bcb4-5b0b56f04460 refers to another host's instance!
2018-07-10 13:32:26.717 14497 ERROR nova.compute.resource_tracker [req-ef75b799-10f5-4091-b2d3-2cc249b6ef99 - - - - -] Migration for instance d158deca-5ddf-4ee7-bcb4-5b0b56f04460 refers to another host's instance!
2018-07-10 13:32:26.718 14497 ERROR nova.compute.resource_tracker [req-ef75b799-10f5-4091-b2d3-2cc249b6ef99 - - - - -] Migration for instance d158deca-5ddf-4ee7-bcb4-5b0b56f04460 refers to another host's instance!
2018-07-10 13:32:26.718 14497 ERROR nova.compute.resource_tracker [req-ef75b799-10f5-4091-b2d3-2cc249b6ef99 - - - - -] Migration for instance d158deca-5ddf-4ee7-bcb4-5b0b56f04460 refers to another host's instance!
2018-07-10 13:32:26.718 14497 ERROR nova.compute.resource_tracker [req-ef75b799-10f5-4091-b2d3-2cc249b6ef99 - - - - -] Migration for instance d158deca-5ddf-4ee7-bcb4-5b0b56f04460 refers to another host's instance!



mysql> select * from migrations where instance_uuid='d158deca-5ddf-4ee7-bcb4-5b0b56f04460' and status='pre-migrating';
+---------------------+------------+------------+-----+----------------+--------------+---------------+---------------+--------------------------------------+----------------------+----------------------+-------------+-----------+---------+----------------+--------+--------------+------------------+------------------+------------+----------------+----------------+
| created_at          | updated_at | deleted_at | id  | source_compute | dest_compute | dest_host     | status        | instance_uuid                        | old_instance_type_id | new_instance_type_id | source_node | dest_node | deleted | migration_type | hidden | memory_total | memory_processed | memory_remaining | disk_total | disk_processed | disk_remaining |
+---------------------+------------+------------+-----+----------------+--------------+---------------+---------------+--------------------------------------+----------------------+----------------------+-------------+-----------+---------+----------------+--------+--------------+------------------+------------------+------------+----------------+----------------+
| 2018-05-16 07:10:56 | NULL       | NULL       | 866 | hl-218-243     | hl-217-74    | 172.16.217.74 | pre-migrating | d158deca-5ddf-4ee7-bcb4-5b0b56f04460 |                   70 |                   47 | hl-218-243  | hl-217-74 |       0 | resize         |      0 |         NULL |             NULL |             NULL |       NULL |           NULL |           NULL |
| 2018-05-16 07:10:58 | NULL       | NULL       | 867 | hl-218-243     | hl-217-74    | 172.16.217.74 | pre-migrating | d158deca-5ddf-4ee7-bcb4-5b0b56f04460 |                   70 |                   47 | hl-218-243  | hl-217-74 |       0 | resize         |      0 |         NULL |             NULL |             NULL |       NULL |           NULL |           NULL |
| 2018-05-16 07:10:59 | NULL       | NULL       | 868 | hl-218-243     | hl-217-63    | 172.16.217.63 | pre-migrating | d158deca-5ddf-4ee7-bcb4-5b0b56f04460 |                   70 |                   47 | hl-218-243  | hl-217-63 |       0 | resize         |      0 |         NULL |             NULL |             NULL |       NULL |           NULL |           NULL |
| 2018-05-16 08:40:06 | NULL       | NULL       | 869 | hl-218-243     | hl-217-74    | 172.16.217.74 | pre-migrating | d158deca-5ddf-4ee7-bcb4-5b0b56f04460 |                   70 |                   47 | hl-218-243  | hl-217-74 |       0 | resize         |      0 |         NULL |             NULL |             NULL |       NULL |           NULL |           NULL |
| 2018-05-16 08:40:07 | NULL       | NULL       | 870 | hl-218-243     | hl-217-74    | 172.16.217.74 | pre-migrating | d158deca-5ddf-4ee7-bcb4-5b0b56f04460 |                   70 |                   47 | hl-218-243  | hl-217-74 |       0 | resize         |      0 |         NULL |             NULL |             NULL |       NULL |           NULL |           NULL |
| 2018-05-16 08:40:09 | NULL       | NULL       | 871 | hl-218-243     | hl-217-63    | 172.16.217.63 | pre-migrating | d158deca-5ddf-4ee7-bcb4-5b0b56f04460 |                   70 |                   47 | hl-218-243  | hl-217-63 |       0 | resize         |      0 |         NULL |             NULL |             NULL |       NULL |           NULL |           NULL |
| 2018-05-16 08:46:25 | NULL       | NULL       | 872 | hl-218-243     | hl-217-74    | 172.16.217.74 | pre-migrating | d158deca-5ddf-4ee7-bcb4-5b0b56f04460 |                   70 |                   47 | hl-218-243  | hl-217-74 |       0 | resize         |      0 |         NULL |             NULL |             NULL |       NULL |           NULL |           NULL |
| 2018-05-16 08:46:26 | NULL       | NULL       | 873 | hl-218-243     | hl-217-74    | 172.16.217.74 | pre-migrating | d158deca-5ddf-4ee7-bcb4-5b0b56f04460 |                   70 |                   47 | hl-218-243  | hl-217-74 |       0 | resize         |      0 |         NULL |             NULL |             NULL |       NULL |           NULL |           NULL |
| 2018-05-16 08:46:27 | NULL       | NULL       | 874 | hl-218-243     | hl-217-63    | 172.16.217.63 | pre-migrating | d158deca-5ddf-4ee7-bcb4-5b0b56f04460 |                   70 |                   47 | hl-218-243  | hl-217-63 |       0 | resize         |      0 |         NULL |             NULL |             NULL |       NULL |           NULL |           NULL |
| 2018-05-16 09:16:19 | NULL       | NULL       | 879 | hl-218-243     | hl-217-74    | 172.16.217.74 | pre-migrating | d158deca-5ddf-4ee7-bcb4-5b0b56f04460 |                   70 |                   47 | hl-218-243  | hl-217-74 |       0 | resize         |      0 |         NULL |             NULL |             NULL |       NULL |           NULL |           NULL |
| 2018-05-16 09:16:20 | NULL       | NULL       | 880 | hl-218-243     | hl-217-74    | 172.16.217.74 | pre-migrating | d158deca-5ddf-4ee7-bcb4-5b0b56f04460 |                   70 |                   47 | hl-218-243  | hl-217-74 |       0 | resize         |      0 |         NULL |             NULL |             NULL |       NULL |           NULL |           NULL |
| 2018-05-16 09:16:21 | NULL       | NULL       | 881 | hl-218-243     | hl-217-63    | 172.16.217.63 | pre-migrating | d158deca-5ddf-4ee7-bcb4-5b0b56f04460 |                   70 |                   47 | hl-218-243  | hl-217-63 |       0 | resize         |      0 |         NULL |             NULL |             NULL |       NULL |           NULL |           NULL |
| 2018-05-16 09:20:02 | NULL       | NULL       | 882 | hl-218-243     | hl-217-63    | 172.16.217.63 | pre-migrating | d158deca-5ddf-4ee7-bcb4-5b0b56f04460 |                   70 |                   47 | hl-218-243  | hl-217-63 |       0 | resize         |      0 |         NULL |             NULL |             NULL |       NULL |           NULL |           NULL |
| 2018-05-16 09:20:03 | NULL       | NULL       | 883 | hl-218-243     | hl-217-63    | 172.16.217.63 | pre-migrating | d158deca-5ddf-4ee7-bcb4-5b0b56f04460 |                   70 |                   47 | hl-218-243  | hl-217-63 |       0 | resize         |      0 |         NULL |             NULL |             NULL |       NULL |           NULL |           NULL |
+---------------------+------------+------------+-----+----------------+--------------+---------------+---------------+--------------------------------------+----------------------+----------------------+-------------+-----------+---------+----------------+--------+--------------+------------------+------------------+------------+----------------+----------------+
14 rows in set (0.01 sec)

mysql> delete from migrations where instance_uuid='d158deca-5ddf-4ee7-bcb4-5b0b56f04460' and status='pre-migrating';
Query OK, 14 rows affected (0.01 sec)

mysql> select * from migrations where instance_uuid='d158deca-5ddf-4ee7-bcb4-5b0b56f04460';
+---------------------+---------------------+------------+-----+----------------+--------------+----------------+-----------+--------------------------------------+----------------------+----------------------+-------------+------------+---------+----------------+--------+--------------+------------------+------------------+------------+----------------+----------------+
| created_at          | updated_at          | deleted_at | id  | source_compute | dest_compute | dest_host      | status    | instance_uuid                        | old_instance_type_id | new_instance_type_id | source_node | dest_node  | deleted | migration_type | hidden | memory_total | memory_processed | memory_remaining | disk_total | disk_processed | disk_remaining |
+---------------------+---------------------+------------+-----+----------------+--------------+----------------+-----------+--------------------------------------+----------------------+----------------------+-------------+------------+---------+----------------+--------+--------------+------------------+------------------+------------+----------------+----------------+
| 2018-05-16 09:20:04 | 2018-05-16 09:33:15 | NULL       | 884 | hl-218-243     | hl-217-156   | 172.16.217.156 | confirmed | d158deca-5ddf-4ee7-bcb4-5b0b56f04460 |                   70 |                   47 | hl-218-243  | hl-217-156 |       0 | resize         |      0 |         NULL |             NULL |             NULL |       NULL |           NULL |           NULL |
+---------------------+---------------------+------------+-----+----------------+--------------+----------------+-----------+--------------------------------------+----------------------+----------------------+-------------+------------+---------+----------------+--------+--------------+------------------+------------------+------------+----------------+----------------+
1 row in set (0.00 sec)



해결)
status='pre-migrating 리스트를 computeNode에서는 계속해서 모니터링중....
DB에서 삭제하고 나서는 ComputeNode에서 로그가 사라짐! 
 

최고관리자 2018-09-12 (수) 10:20
post_migrating
이름 패스워드
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

 



 
사이트명 : 모지리네 | 대표 : 이경현 | 개인커뮤니티 : 랭키닷컴 운영체제(OS) | 경기도 성남시 분당구 | 전자우편 : mojily골뱅이chonnom.com Copyright ⓒ www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.