← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1404491] Re: Cant boot from Image (create new Volume) for Windows ONLY

 

This looks like you have set something in nova.conf that is trying to
store the image somewhere it doesn't have permission: Permission denied:
'/root/WindowsServer2012R2_x64.iso'

** Changed in: nova
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1404491

Title:
  Cant boot from Image (create new Volume) for Windows ONLY

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  ENVIRONMENT:
  I am using Icehouse and using external storage for cinder. 
  Network and Controller in one hypervisor - Ubuntu KVM
  Compute on another hypervisor - Ubuntu kvm
  GRE tunnel between compute and network node

  ISSUE:
  When I use boot from Image (create new Volume) option for windows 2012 R2  it fails. It did create the volume but then after it errors out. (Look for error in the log below)
  If I create a separate volume and attach is with Windows in 2 steps then it works fine
  boot from Image (create new Volume)  works fine with Centos also.
  Below are the log messages from compute nova-compute.log

  2014-12-20 00:04:18.346 15633 TRACE nova.openstack.common.periodic_task OSError:       [Errno 13] Permission denied: '/root/WindowsServer2012R2_x64.iso'
  2014-12-20 00:04:18.346 15633 TRACE nova.openstack.common.periodic_task
  2014-12-20 00:05:10.853 15633 AUDIT nova.compute.resource_tracker [-] Auditing l      ocally available compute resources
  2014-12-20 00:05:11.419 15633 ERROR nova.openstack.common.periodic_task [-] Erro      r during ComputeManager.update_available_resource: [Errno 13] Permission denied:       '/root/WindowsServer2012R2_x64.iso'
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task Tracebac      k (most recent call last):
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task   File "      /usr/lib/python2.7/dist-packages/nova/openstack/common/periodic_task.py", line 1      82, in run_periodic_tasks
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task     task      (self, context)
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task   File "      /usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 5444, in update_      available_resource
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task     rt.u      pdate_available_resource(context)
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task   File "      /usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", line 249,       in inner
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task     retu      rn f(*args, **kwargs)
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task   File "      /usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 293, in       update_available_resource
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task     reso      urces = self.driver.get_available_resource(self.nodename)
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task   File "      /usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4187, in get      _available_resource
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task     stat      s = self.get_host_stats(refresh=True)
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task   File "      /usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4862, in get      _host_stats
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task     retu      rn self.host_state.get_host_stats(refresh=refresh)
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task   File "      /usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 5263, in get      _host_stats
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task     self      .update_status()
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task               /usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 5306              ate_status
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task               ['disk_available_least'] = _get_disk_available_least()
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task               /usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 5279              t_disk_available_least
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task               _over_committed = (self.driver.
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task               /usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4832              _disk_over_committed_size_total
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task               .get_instance_disk_info(i_name))
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task               /usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4804              _instance_disk_info
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task               ize = int(os.path.getsize(path))
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task               /usr/lib/python2.7/genericpath.py", line 49, in getsize
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task               rn os.stat(filename).st_size
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task                [Errno 13] Permission denied: '/root/WindowsServer2012R2_x64.iso'
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task
  ^C
  root@compute01:~# tail -f /var/log/nova/nova-compute.log |perl -pe 's/ER              ;31;43m$&\e[0m/g'
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task               /usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 5279              t_disk_available_least
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task               _over_committed = (self.driver.
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task               /usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4832              _disk_over_committed_size_total
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task               .get_instance_disk_info(i_name))
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task               /usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4804              _instance_disk_info
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task               ize = int(os.path.getsize(path))
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task               /usr/lib/python2.7/genericpath.py", line 49, in getsize
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task               rn os.stat(filename).st_size
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task                [Errno 13] Permission denied: '/root/WindowsServer2012R2_x64.iso'
  2014-12-20 00:05:11.419 15633 TRACE nova.openstack.common.periodic_task
  2014-12-20 00:06:11.634 15633 AUDIT nova.compute.resource_tracker [-] Au              diting locally available compute resources
  2014-12-20 00:06:12.199 15633 ERROR nova.openstack.common.periodic_task               [-] Error during ComputeManager.update_available_resource: [Errno 13] Pe              rmission denied: '/root/WindowsServer2012R2_x64.iso'
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task               Traceback (most recent call last):
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                 File "/usr/lib/python2.7/dist-packages/nova/openstack/common/periodic_              task.py", line 182, in run_periodic_tasks
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                   task(self, context)
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                 File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line               5444, in update_available_resource
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                   rt.update_available_resource(context)
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                 File "/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils              .py", line 249, in inner
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                   return f(*args, **kwargs)
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                 File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.p              y", line 293, in update_available_resource
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                   resources = self.driver.get_available_resource(self.nodename)
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                 File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", l              ine 4187, in get_available_resource
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                   stats = self.get_host_stats(refresh=True)
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                 File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", l              ine 4862, in get_host_stats
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                   return self.host_state.get_host_stats(refresh=refresh)
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                 File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", l              ine 5263, in get_host_stats
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                   self.update_status()
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                 File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", l              ine 5306, in update_status
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                   data['disk_available_least'] = _get_disk_available_least()
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                 File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", l              ine 5279, in _get_disk_available_least
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                   disk_over_committed = (self.driver.
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                 File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", l              ine 4832, in get_disk_over_committed_size_total
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                   self.get_instance_disk_info(i_name))
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                 File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", l              ine 4804, in get_instance_disk_info
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                   dk_size = int(os.path.getsize(path))
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                 File "/usr/lib/python2.7/genericpath.py", line 49, in getsize
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task                   return os.stat(filename).st_size
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task               OSError: [Errno 13] Permission denied: '/root/WindowsServer2012R2_x64.is              o'
  2014-12-20 00:06:12.199 15633 TRACE nova.openstack.common.periodic_task
  2014-12-20 00:06:37.248 15633 AUDIT nova.compute.manager [req-9a0e2c7b-c              0f1-49a1-81ef-9c1eed836fed a5bb74f9028e48a0b0dc269d81dc8255 2136a657f30c              4f65895dd95164f4dda6] [instance: 4843482c-a9fe-442d-a255-fe94f38e4c5d] T              erminating instance
  2014-12-20 00:06:37.261 15633 ERROR nova.virt.libvirt.driver [-] [instan              ce: 4843482c-a9fe-442d-a255-fe94f38e4c5d] During wait destroy, instance               disappeared.
  2014-12-20 00:06:37.387 15633 INFO nova.virt.libvirt.driver [req-9a0e2c7              b-c0f1-49a1-81ef-9c1eed836fed a5bb74f9028e48a0b0dc269d81dc8255 2136a657f              30c4f65895dd95164f4dda6] [instance: 4843482c-a9fe-442d-a255-fe94f38e4c5d              ] Deletion of /var/lib/nova/instances/4843482c-a9fe-442d-a255-fe94f38e4c              5d complete
  2014-12-20 00:06:37.597 15633 WARNING nova.virt.libvirt.utils [req-9a0e2              c7b-c0f1-49a1-81ef-9c1eed836fed a5bb74f9028e48a0b0dc269d81dc8255 2136a65              7f30c4f65895dd95164f4dda6] systool is not installed
  2014-12-20 00:06:37.690 15633 WARNING nova.virt.libvirt.utils [req-9a0e2              c7b-c0f1-49a1-81ef-9c1eed836fed a5bb74f9028e48a0b0dc269d81dc8255 2136a65              7f30c4f65895dd95164f4dda6] systool is not installed
  2014-12-20 00:06:37.693 15633 INFO urllib3.connectionpool [-] Starting n              ew HTTP connection (1): controller01.qa.cloud
  2014-12-20 00:06:37.727 15633 WARNING nova.compute.manager [req-9a0e2c7b              -c0f1-49a1-81ef-9c1eed836fed a5bb74f9028e48a0b0dc269d81dc8255 2136a657f3              0c4f65895dd95164f4dda6] [instance: 4843482c-a9fe-442d-a255-fe94f38e4c5d]               Ignoring VolumeNotFound: Volume None could not be found.
  2014-12-20 00:07:12.395 15633 AUDIT nova.compute.resource_tracker [-] Auditin         g locally available compute resources
  2014-12-20 00:07:12.958 15633 ERROR nova.openstack.common.periodic_task [-] E         rror during ComputeManager.update_available_resource: [Errno 13] Permission d         enied: '/root/WindowsServer2012R2_x64.iso'
  2014-12-20 00:07:12.958 15633 TRACE nova.openstack.common.periodic_task Trace         back (most recent call last):
  2014-12-20 00:07:12.958 15633 TRACE nova.openstack.common.periodic_task   Fil         e "/usr/lib/python2.7/dist-packages/nova/openstack/common/periodic_task.py",          line 182, in run_periodic_tasks
  2014-12-20 00:07:12.958 15633 TRACE nova.openstack.common.periodic_task     t         ask(self, context)
  2014-12-20 00:07:12.958 15633 TRACE nova.openstack.common.periodic_task   Fil         e "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 5444, in u         pdate_available_resource
  2014-12-20 00:07:12.958 15633 TRACE nova.openstack.common.periodic_task     r         t.update_available_resource(context)
  2014-12-20 00:07:12.958 15633 TRACE nova.openstack.common.periodic_task   Fil         e "/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", line          249, in inner
  2014-12-20 00:07:12.958 15633 TRACE nova.openstack.common.periodic_task     r         eturn f(*args, **kwargs)
  2014-12-20 00:07:12.958 15633 TRACE nova.openstack.common.periodic_task   Fil         e "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 2         93, in update_available_resource
  2014-12-20 00:07:12.958 15633 TRACE nova.openstack.common.periodic_task     r         esources = self.driver.get_available_resource(self.nodename)
  2014-12-20 00:07:12.958 15633 TRACE nova.openstack.common.periodic_task   Fil         e "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4187,          in get_available_resource

  
  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1404491/+subscriptions


References