New Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to attach volume to instance instance-00000001

After a fresh install of v-magine I tried to launch an instance of the ciro image but it failed with the common error message:

No valid host was found. There are not enough hosts available.

Looking at the nova-compute.log shows that there were some issues with attaching the volume to the instance:

Unable to attach volume to instance instance-00000001
Traceback (most recent call last):
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\volumeops.py", line 115, in attach_volume
    disk_bus=disk_bus)
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\volumeops.py", line 281, in attach_volume
    serial=serial)
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\os_win\utils\compute\vmutils.py", line 496, in attach_volume_to_controller
    diskdrive.HostResource = [mounted_disk_path]
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\wmi\__init__.py", line 111, in func_wrapper
    raise x_wmi(err_msg, com_ex)
x_wmi: <x_wmi: Array item cannot be NULL >

The full log can be found here nova-compute.log

Unable to attach volume to instance instance-00000001

After a fresh install of v-magine (2016.2.0.0) I tried to launch an instance of the ciro "cirros" image but it failed with the common error message:

No valid host was found. There are not enough hosts available.

Looking After ensuring nova service-list listed the "nova-compute" as "enabled" and "up" for my host (HV1) I looked at the nova-compute.logC:\OpenStack\Log\nova-compute.log shows that there were some issues with attaching the volume to the instance:

Unable to attach volume to instance instance-00000001
Traceback (most recent call last):
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\volumeops.py", line 115, in attach_volume
    disk_bus=disk_bus)
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\volumeops.py", line 281, in attach_volume
    serial=serial)
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\os_win\utils\compute\vmutils.py", line 496, in attach_volume_to_controller
    diskdrive.HostResource = [mounted_disk_path]
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\wmi\__init__.py", line 111, in func_wrapper
    raise x_wmi(err_msg, com_ex)
x_wmi: <x_wmi: Array item cannot be NULL >

The full log can be found here nova-compute.log

Unable to attach volume to instance instance-00000001

After a fresh install of v-magine (2016.2.0.0) I tried to launch an instance of the "cirros" image but it failed with the common error message:

No valid host was found. There are not enough hosts available.

After ensuring nova service-list listed the "nova-compute" as "enabled" and "up" for my host (HV1) I looked at the C:\OpenStack\Log\nova-compute.log shows that log file which showed there were some issues with attaching the volume to the instance:

Unable to attach volume to instance instance-00000001
Traceback (most recent call last):
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\volumeops.py", line 115, in attach_volume
    disk_bus=disk_bus)
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\volumeops.py", line 281, in attach_volume
    serial=serial)
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\os_win\utils\compute\vmutils.py", line 496, in attach_volume_to_controller
    diskdrive.HostResource = [mounted_disk_path]
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\wmi\__init__.py", line 111, in func_wrapper
    raise x_wmi(err_msg, com_ex)
x_wmi: <x_wmi: Array item cannot be NULL >

The full log can be found here nova-compute.log any idea what might be going wrong?

Unable to attach volume to instance instance-00000001

After a fresh install of v-magine (2016.2.0.0) I tried to launch an instance of the "cirros" image but it failed with the common error message:

No valid host was found. There are not enough hosts available.

After ensuring nova service-list listed the "nova-compute" as "enabled" and "up" for my host (HV1) I looked at the C:\OpenStack\Log\nova-compute.log log file which showed there were some issues with attaching the volume to the instance:

Unable to attach volume to instance instance-00000001
Traceback (most recent call last):
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\volumeops.py", line 115, in attach_volume
    disk_bus=disk_bus)
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\volumeops.py", line 281, in attach_volume
    serial=serial)
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\os_win\utils\compute\vmutils.py", line 496, in attach_volume_to_controller
    diskdrive.HostResource = [mounted_disk_path]
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\wmi\__init__.py", line 111, in func_wrapper
    raise x_wmi(err_msg, com_ex)
x_wmi: <x_wmi: Array item cannot be NULL >

The full log can be found here nova-compute.log any idea what might be going wrong?

Unable to attach volume to instance instance-00000001

After a fresh install of v-magine (2016.2.0.0) on a hyper-converged deployment with Windows Server 2016 I tried to launch an instance of the "cirros" image but it failed with the common error message:

No valid host was found. There are not enough hosts available.

After ensuring nova service-list listed the "nova-compute" as "enabled" and "up" for my host (HV1) I looked at the C:\OpenStack\Log\nova-compute.log log file which showed there were some issues with attaching the volume to the instance:

Unable to attach volume to instance instance-00000001
Traceback (most recent call last):
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\volumeops.py", line 115, in attach_volume
    disk_bus=disk_bus)
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\volumeops.py", line 281, in attach_volume
    serial=serial)
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\os_win\utils\compute\vmutils.py", line 496, in attach_volume_to_controller
    diskdrive.HostResource = [mounted_disk_path]
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\wmi\__init__.py", line 111, in func_wrapper
    raise x_wmi(err_msg, com_ex)
x_wmi: <x_wmi: Array item cannot be NULL >

The full log can be found here nova-compute.log any idea what might be going wrong?

Unable to attach volume to instance instance-00000001

After a fresh install of v-magine (2016.2.0.0) on a hyper-converged deployment with Windows Server 2016 I tried to launch an instance of the "cirros" image but it failed with the common error message:

No valid host was found. There are not enough hosts available.

After ensuring nova service-list listed the "nova-compute" as "enabled" and "up" for my host (HV1) I looked at the /var/logs/nova-conductor.log which reported an error in nova.scheduler.utils

RescheduledException: Build of instance bde11dbc-e5a3-4635-89a4-034513f8efb5 was re-scheduled: <x_wmi: Array item cannot be NULL >

This exception was then repeated in the C:\OpenStack\Log\nova-compute.log log file which showed there were some issues with attaching the volume to the instance:

Unable to attach volume to instance instance-00000001
Traceback (most recent call last):
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\volumeops.py", line 115, in attach_volume
    disk_bus=disk_bus)
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\volumeops.py", line 281, in attach_volume
    serial=serial)
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\os_win\utils\compute\vmutils.py", line 496, in attach_volume_to_controller
    diskdrive.HostResource = [mounted_disk_path]
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\wmi\__init__.py", line 111, in func_wrapper
    raise x_wmi(err_msg, com_ex)
x_wmi: <x_wmi: Array item cannot be NULL >

The full log files can be found here nova-conductor.log and here nova-compute.log any idea what might be going wrong?

Unable to attach volume to instance instance-00000001

After a fresh install of v-magine (2016.2.0.0) on a hyper-converged deployment with Windows Server 2016 I tried to launch an instance of the "cirros" image but it failed with the common error message:

No valid host was found. There are not enough hosts available.

After ensuring nova service-list listed the "nova-compute" as "enabled" and "up" for my host (HV1) I looked at the /var/logs/nova-conductor.log which reported an error in nova.scheduler.utils

RescheduledException: Build of instance bde11dbc-e5a3-4635-89a4-034513f8efb5 was re-scheduled: <x_wmi: Array item cannot be NULL >

This exception was then repeated in the C:\OpenStack\Log\nova-compute.log log file which showed there were some issues with attaching the volume to the instance:

Unable to attach volume to instance instance-00000001
Traceback (most recent call last):
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\volumeops.py", line 115, in attach_volume
    disk_bus=disk_bus)
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\volumeops.py", line 281, in attach_volume
    serial=serial)
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\os_win\utils\compute\vmutils.py", line 496, in attach_volume_to_controller
    diskdrive.HostResource = [mounted_disk_path]
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\wmi\__init__.py", line 111, in func_wrapper
    raise x_wmi(err_msg, com_ex)
x_wmi: <x_wmi: Array item cannot be NULL >

The full log files can be found here nova-conductor.log and here nova-compute.log any idea what might be going wrong?

It works when I create an instance without a volume which suggests there is something wrong with volume creation.

Unable to attach volume to instance instance-00000001

After a fresh install of v-magine (2016.2.0.0) on a hyper-converged deployment with Windows Server 2016 I tried to launch an instance of the "cirros" image but it failed with the common error message:

No valid host was found. There are not enough hosts available.

After ensuring nova service-list listed the "nova-compute" as "enabled" and "up" for my host (HV1) I looked at the /var/logs/nova-conductor.log which reported an error in nova.scheduler.utils

RescheduledException: Build of instance bde11dbc-e5a3-4635-89a4-034513f8efb5 was re-scheduled: <x_wmi: Array item cannot be NULL >

This exception was then repeated in the C:\OpenStack\Log\nova-compute.log log file which showed there were some issues with attaching the volume to the instance:

Unable to attach volume to instance instance-00000001
Traceback (most recent call last):
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\volumeops.py", line 115, in attach_volume
    disk_bus=disk_bus)
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\volumeops.py", line 281, in attach_volume
    serial=serial)
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\os_win\utils\compute\vmutils.py", line 496, in attach_volume_to_controller
    diskdrive.HostResource = [mounted_disk_path]
  File "C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\wmi\__init__.py", line 111, in func_wrapper
    raise x_wmi(err_msg, com_ex)
x_wmi: <x_wmi: Array item cannot be NULL >

It works when I create an instance without a volume which suggests there is something wrong with volume creation. I installed v-magine onto a Cluster Shared Volume that communicates between nodes via Server Message Block (SMB) 3 and 10GbE Remote-Direct Memory Access (RDMA) networking. I don't have a SAN (FC or iSCSI).

The full log files can be found here nova-conductor.log and here nova-compute.log any idea what might be going wrong?

It works when I create an instance without a volume which suggests there is something wrong with volume creation.