¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 715°Ç
   
instance path
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2016-04-21 (¸ñ) 16:30 Á¶È¸ : 3345
                                
# vim /etc/nova/nova.conf
........................
instances_path=/PATH

µ¿ÀÏ µð½ºÅ©³»¿¡¼­ÀÇ µð·ºÅ丮 °æ·Î´Â º¯°æµÇÁö¸¸...¹°¸®ÀûÀ¸·Î ´Ù¸¥ µð½ºÅ©ÀÏ°æ¿ì path ¼³Á¤¿¡¼­ ¿¡·¯ ¹ß»ý
# tail -f /var/log/nova/nova-compute.log
2016-04-21 16:08:56.290 27257 INFO nova.compute.claims [req-b3153532-55a3-4054-b025-4675bf8ca365 1801dbd5187745ab890b6fb063c5f53d a6ecf620266e486db050c36854fcf1d9 - - -] [instance: 8b798a9b-5405-417f-b93f-9afe20254f85] Total disk: 234 GB, used: 0.00 GB
2016-04-21 16:08:56.291 27257 INFO nova.compute.claims [req-b3153532-55a3-4054-b025-4675bf8ca365 1801dbd5187745ab890b6fb063c5f53d a6ecf620266e486db050c36854fcf1d9 - - -] [instance: 8b798a9b-5405-417f-b93f-9afe20254f85] disk limit: 234.00 GB, free: 234.00 GB
2016-04-21 16:08:56.320 27257 INFO nova.compute.claims [req-b3153532-55a3-4054-b025-4675bf8ca365 1801dbd5187745ab890b6fb063c5f53d a6ecf620266e486db050c36854fcf1d9 - - -] [instance: 8b798a9b-5405-417f-b93f-9afe20254f85] Claim successful
2016-04-21 16:08:56.850 27257 INFO nova.virt.libvirt.driver [req-b3153532-55a3-4054-b025-4675bf8ca365 1801dbd5187745ab890b6fb063c5f53d a6ecf620266e486db050c36854fcf1d9 - - -] [instance: 8b798a9b-5405-417f-b93f-9afe20254f85] Creating image
2016-04-21 16:08:59.747 27257 ERROR nova.virt.libvirt.guest [req-b3153532-55a3-4054-b025-4675bf8ca365 1801dbd5187745ab890b6fb063c5f53d a6ecf620266e486db050c36854fcf1d9 - - -] Error launching a defined domain with XML: <domain type='kvm'>
................................
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [req-b3153532-55a3-4054-b025-4675bf8ca365 1801dbd5187745ab890b6fb063c5f53d a6ecf620266e486db050c36854fcf1d9 - - -] [instance: 8b798a9b-5405-417f-b93f-9afe20254f85] Instance failed to spawn
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85] Traceback (most recent call last):
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2155, in _build_resources
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]     yield resources
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2009, in _build_and_run_instance
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]     block_device_info=block_device_info)
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2515, in spawn
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]     block_device_info=block_device_info)
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4590, in _create_domain_and_network
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]     xml, pause=pause, power_on=power_on)
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4520, in _create_domain
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]     guest.launch(pause=pause)
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/guest.py", line 141, in launch
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]     self._encoded_xml, errors='ignore')
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 195, in __exit__
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]     six.reraise(self.type_, self.value, self.tb)
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/guest.py", line 136, in launch
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]     return self._domain.createWithFlags(flags)
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 183, in doit
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]     result = proxy_call(self._autowrap, f, *args, **kwargs)
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 141, in proxy_call
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]     rv = execute(f, *args, **kwargs)
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 122, in execute
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]     six.reraise(c, e, tb)
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 80, in tworker
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]     rv = meth(*args, **kwargs)
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 896, in createWithFlags
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]     if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85] libvirtError: internal error: process exited while connecting to monitor: 2016-04-21T07:08:59.222804Z qemu-system-x86_64: -drive file=/var/lib/nova/instances/8b798a9b-5405-417f-b93f-9afe20254f85/disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none: Could not open backing file: Could not open '/var/lib/nova/instances/_base/ba79ea3f695f2dfd87dc991daa49110a4c7bcc36': Permission denied
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]
2016-04-21 16:08:59.748 27257 ERROR nova.compute.manager [instance: 8b798a9b-5405-417f-b93f-9afe20254f85]
2016-04-21 16:08:59.750 27257 INFO nova.compute.manager [req-b3153532-55a3-4054-b025-4675bf8ca365 1801dbd5187745ab890b6fb063c5f53d a6ecf620266e486db050c36854fcf1d9 - - -] [instance: 8b798a9b-5405-417f-b93f-9afe20254f85] Terminating instance
2016-04-21 16:08:59.755 27257 INFO nova.virt.libvirt.driver [-] [instance: 8b798a9b-5405-417f-b93f-9afe20254f85] Instance destroyed successfully.
2016-04-21 16:08:59.775 27257 INFO nova.virt.libvirt.driver [req-b3153532-55a3-4054-b025-4675bf8ca365 1801dbd5187745ab890b6fb063c5f53d a6ecf620266e486db050c36854fcf1d9 - - -] [instance: 8b798a9b-5405-417f-b93f-9afe20254f85] Deleting instance files /var/lib/nova/instances/8b798a9b-5405-417f-b93f-9afe20254f85_del
2016-04-21 16:08:59.777 27257 INFO nova.virt.libvirt.driver [req-b3153532-55a3-4054-b025-4675bf8ca365 1801dbd5187745ab890b6fb063c5f53d a6ecf620266e486db050c36854fcf1d9 - - -] [instance: 8b798a9b-5405-417f-b93f-9afe20254f85] Deletion of /var/lib/nova/instances/8b798a9b-5405-417f-b93f-9afe20254f85_del complete


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

 



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