← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1505318] Re: VMware: fail to attach config drive when cluster is in a folder

 

** Changed in: nova/liberty
       Status: Fix Committed => Fix Released

-- 
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/1505318

Title:
  VMware: fail to attach config drive when cluster is in a folder

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) liberty series:
  Fix Released

Bug description:
  2015-10-12 10:36:17.470 INFO nova.virt.vmwareapi.vmops [req-85b5ece9-2f07-4c6d-ba63-307e9941b191 demo demo] [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f] Using config drive for instance
  /usr/local/lib/python2.7/dist-packages/urllib3/util/ssl_.py:100: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
    InsecurePlatformWarning
  2015-10-12 10:36:17.819 ERROR oslo_vmware.rw_handles [req-85b5ece9-2f07-4c6d-ba63-307e9941b191 demo demo] Error occurred while writing data to https://10.161.64.148:443/folder/bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f/configdrive.iso?dsName=vdnetSharedStorage&dcPath=os-datacenter.
  2015-10-12 10:36:17.819 TRACE oslo_vmware.rw_handles Traceback (most recent call last):
  2015-10-12 10:36:17.819 TRACE oslo_vmware.rw_handles   File "/usr/local/lib/python2.7/dist-packages/oslo_vmware/rw_handles.py", line 276, in write
  2015-10-12 10:36:17.819 TRACE oslo_vmware.rw_handles     self._file_handle.send(data)
  2015-10-12 10:36:17.819 TRACE oslo_vmware.rw_handles   File "/usr/lib/python2.7/httplib.py", line 798, in send
  2015-10-12 10:36:17.819 TRACE oslo_vmware.rw_handles     self.sock.sendall(data)
  2015-10-12 10:36:17.819 TRACE oslo_vmware.rw_handles   File "/usr/local/lib/python2.7/dist-packages/eventlet/green/ssl.py", line 168, in sendall
  2015-10-12 10:36:17.819 TRACE oslo_vmware.rw_handles     v = self.send(data_to_send)
  2015-10-12 10:36:17.819 TRACE oslo_vmware.rw_handles   File "/usr/local/lib/python2.7/dist-packages/eventlet/green/ssl.py", line 143, in send
  2015-10-12 10:36:17.819 TRACE oslo_vmware.rw_handles     super(GreenSSLSocket, self).send, data, flags)
  2015-10-12 10:36:17.819 TRACE oslo_vmware.rw_handles   File "/usr/local/lib/python2.7/dist-packages/eventlet/green/ssl.py", line 110, in _call_trampolining
  2015-10-12 10:36:17.819 TRACE oslo_vmware.rw_handles     return func(*a, **kw)
  2015-10-12 10:36:17.819 TRACE oslo_vmware.rw_handles   File "/usr/lib/python2.7/ssl.py", line 198, in send
  2015-10-12 10:36:17.819 TRACE oslo_vmware.rw_handles     v = self._sslobj.write(data)
  2015-10-12 10:36:17.819 TRACE oslo_vmware.rw_handles error: [Errno 32] Broken pipe
  2015-10-12 10:36:17.819 TRACE oslo_vmware.rw_handles 
  2015-10-12 10:36:17.833 ERROR nova.virt.vmwareapi.vmops [req-85b5ece9-2f07-4c6d-ba63-307e9941b191 demo demo] [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f] Creating config drive failed with error: Error occurred while writing data to https://10.161.64.148:443/folder/bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f/configdrive.iso?dsName=vdnetSharedStorage&dcPath=os-datacenter.
  Cause: [Errno 32] Broken pipe
  2015-10-12 10:36:17.834 ERROR nova.compute.manager [req-85b5ece9-2f07-4c6d-ba63-307e9941b191 demo demo] [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f] Instance failed to spawn
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f] Traceback (most recent call last):
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f]   File "/opt/stack/nova/nova/compute/manager.py", line 2172, in _build_resources
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f]     yield resources
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f]   File "/opt/stack/nova/nova/compute/manager.py", line 2019, in _build_and_run_instance
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f]     block_device_info=block_device_info)
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f]   File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 390, in spawn
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f]     admin_password, network_info, block_device_info)
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f]   File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 759, in spawn
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f]     injected_files, admin_password, network_info)
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f]   File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 242, in _configure_config_drive
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f]     cookies)
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f]   File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 813, in _create_config_drive
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f]     e, instance=instance)
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f]   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 195, in __exit__
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f]     six.reraise(self.type_, self.value, self.tb)
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f]   File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 808, in _create_config_drive
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f]     file_path=upload_iso_path)
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f]   File "/opt/stack/nova/nova/virt/vmwareapi/images.py", line 248, in upload_iso_to_datastore
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f]     write_file_handle.write(data)
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f]   File "/usr/local/lib/python2.7/dist-packages/oslo_vmware/rw_handles.py", line 289, in write
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f]     raise exceptions.VimException(excep_msg, excep)
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f] VimException: Error occurred while writing data to https://10.161.64.148:443/folder/bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f/configdrive.iso?dsName=vdnetSharedStorage&dcPath=os-datacenter.
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f] Cause: [Errno 32] Broken pipe
  2015-10-12 10:36:17.834 TRACE nova.compute.manager [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f] 
  2015-10-12 10:36:17.846 INFO nova.compute.manager [req-85b5ece9-2f07-4c6d-ba63-307e9941b191 demo demo] [instance: bfa0cfd0-ddb7-4be5-a06d-2bc38ef9990f] Terminating instance

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


References