[Openstack] [nova] Hyperv devstack

Carlton, Paul (Cloud Services) paul.carlton2 at hpe.com
Wed Apr 13 11:22:03 UTC 2016


Claudiu

 

Got it configured and I can start an instance

 

However not able to ping or ssh to it

 

I see warnings in nova-compute agent log..

 

2016-04-13 11:43:12.618 1140 WARNING neutron.agent.securitygroups_rpc
[req-419dd0ec-c962-4779-bec3-5283020a0d02 - - - - -] Driver configuration
doesn't match with enable_security_group

2016-04-13 11:43:12.648 1140 WARNING
neutron.plugins.hyperv.agent.security_groups_driver
[req-419dd0ec-c962-4779-bec3-5283020a0d02 - - - - -] You are using the
deprecated firewall driver:
neutron.plugins.hyperv.agent.security_groups_driver.HyperVSecurityGroup

sDriver.Use the recommended driver
hyperv.neutron.security_groups_driver.HyperVSecurityGroupsDriver instead.

 

Console log extract...

############ debug start ##############

### /etc/init.d/sshd start

Starting dropbear sshd: OK

route: fscanf

### ifconfig -a

eth0      Link encap:Ethernet  HWaddr FA:16:3E:F1:91:14

          inet6 addr: fe80::f816:3eff:fef1:9114/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:1437 (1.4 KiB)

 

lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

### route -n

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface

route: fscanf

### cat /etc/resolv.conf

cat: can't open '/etc/resolv.conf': No such file or directory

### gateway not found

/sbin/cirros-status: line 1: can't open /etc/resolv.conf: no such file

### pinging nameservers

### uname -a

Linux paul-1 3.2.0-41-virtual #66-Ubuntu SMP Thu Apr 25 03:47:17 UTC 2013
x86_64 GNU/Linux

### lsmod

Module                  Size  Used by    Not tainted

hv_utils               13540  0

hv_storvsc             17896  1

hv_netvsc              22939  0

hv_vmbus               30447  3 hv_utils,hv_storvsc,hv_netvsc

nls_iso8859_1          12713  0

nls_cp437              16991  0

vfat                   17585  0

fat                    61512  1 vfat

isofs                  40257  0

ip_tables              27473  0

x_tables               29891  1 ip_tables

pcnet32                42119  0

8139cp                 27409  0

ne2k_pci               13691  0

8390                   18856  1 ne2k_pci

e1000                 108589  0

### dmesg | tail

[   21.341267] kjournald starting.  Commit interval 5 seconds

[   21.341297] EXT3-fs (sda1): recovery complete

[   21.341941] EXT3-fs (sda1): mounted filesystem with ordered data mode

[   21.376013] kjournald starting.  Commit interval 5 seconds

[   21.376042] EXT3-fs (sda1): mounted filesystem with ordered data mode

[   21.423169] EXT3-fs (sda1): using internal journal

[   21.468029] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5

[   21.589595] ISO 9660 Extensions: Microsoft Joliet Level 3

[   21.593790] ISO 9660 Extensions: RRIP_1991A

[   32.687385] eth0: no IPv6 routers present

### tail -n 25 /var/log/messages

Apr 13 13:09:51 paul-1 kern.notice kernel: [   11.169237] sd 2:0:0:0: [sda]
Write Protect is off

Apr 13 13:09:51 paul-1 kern.debug kernel: [   11.171869] sd 2:0:0:0: [sda]
Mode Sense: 0f 00 00 00

Apr 13 13:09:51 paul-1 kern.notice kernel: [   11.172038] sd 2:0:0:0: [sda]
Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

Apr 13 13:09:51 paul-1 kern.info kernel: [   11.177282] scsi3 :
storvsc_host_t

Apr 13 13:09:51 paul-1 kern.info kernel: [   11.177604] scsi scan: INQUIRY
result too short (5), using 36

Apr 13 13:09:51 paul-1 kern.info kernel: [   11.177779] scsi scan: INQUIRY
result too short (5), using 36

Apr 13 13:09:51 paul-1 kern.info kernel: [   11.178303]  sda: sda1

Apr 13 13:09:51 paul-1 kern.notice kernel: [   11.178638] sd 2:0:0:0: [sda]
Attached SCSI disk

Apr 13 13:09:51 paul-1 kern.info kernel: [   16.181310] hv_utils:
Registering HyperV Utility Driver

Apr 13 13:09:51 paul-1 kern.info kernel: [   16.181314] hv_vmbus:
registering driver hv_util

Apr 13 13:09:51 paul-1 kern.debug kernel: [   21.226564] ISO 9660
Extensions: Microsoft Joliet Level 3

Apr 13 13:09:51 paul-1 kern.debug kernel: [   21.228785] ISO 9660
Extensions: RRIP_1991A

Apr 13 13:09:51 paul-1 kern.info kernel: [   21.312669] EXT3-fs (sda1):
recovery required on readonly filesystem

Apr 13 13:09:51 paul-1 kern.info kernel: [   21.312673] EXT3-fs (sda1):
write access will be enabled during recovery

Apr 13 13:09:51 paul-1 kern.info kernel: [   21.341267] kjournald starting.
Commit interval 5 seconds

Apr 13 13:09:51 paul-1 kern.info kernel: [   21.341297] EXT3-fs (sda1):
recovery complete

Apr 13 13:09:51 paul-1 kern.info kernel: [   21.341941] EXT3-fs (sda1):
mounted filesystem with ordered data mode

Apr 13 13:09:51 paul-1 kern.info kernel: [   21.376013] kjournald starting.
Commit interval 5 seconds

Apr 13 13:09:51 paul-1 kern.info kernel: [   21.376042] EXT3-fs (sda1):
mounted filesystem with ordered data mode

Apr 13 13:09:51 paul-1 kern.info kernel: [   21.423169] EXT3-fs (sda1):
using internal journal

Apr 13 13:09:51 paul-1 kern.info kernel: [   21.468029] acpiphp: ACPI Hot
Plug PCI Controller Driver version: 0.5

Apr 13 13:09:51 paul-1 kern.debug kernel: [   21.589595] ISO 9660
Extensions: Microsoft Joliet Level 3

Apr 13 13:09:51 paul-1 kern.debug kernel: [   21.593790] ISO 9660
Extensions: RRIP_1991A

Apr 13 13:10:02 paul-1 kern.debug kernel: [   32.687385] eth0: no IPv6
routers present

Apr 13 13:12:51 paul-1 authpriv.info dropbear[276]: Running in background

############ debug end   ##############

  ____               ____  ____

/ __/ __ ____ ____ / __ \/ __/

/ /__ / // __// __// /_/ /\ \

\___//_//_/  /_/   \____/___/

   http://cirros-cloud.net

 

 

login as 'cirros' user. defa

~/openstack/devstack$ ping 172.24.4.4

PING 172.24.4.4 (172.24.4.4) 56(84) bytes of data.

^C

--- 172.24.4.4 ping statistics ---

3 packets transmitted, 0 received, 100% packet loss, time 2016ms

 

~/openstack/devstack$ ssh cirros at 172.24.4.4

ssh: connect to host 172.24.4.4 port 22: No route to host

 

 

From: Claudiu Belu [mailto:cbelu at cloudbasesolutions.com] 
Sent: 12 April 2016 15:14
To: Carlton, Paul (Cloud Services) <paul.carlton2 at hpe.com>
Cc: openstack at lists.openstack.org
Subject: RE: [Openstack] [nova] Hyperv devstack

 

Hello,

It sounds like the Hyper-V role / component is not working.

You can check if it runs with:

Get-Service vmms

You can also check if it can properly run with:

New-VM test | Start-VM

If you don't have the Hyper-V Role installed, you can easily do it with
this:

Get-WindowsFeature *hyper* | Install-WindowsFeature


Please do note that, as far as nested virtualization goes, only Hyper-V on
Hyper-V or Hyper-V on VMWare works. Or you can have it on baremetal nodes.

Best regards,
Claudiu Belu

  _____  

From: Paul Carlton [paul.carlton2 at hpe.com]
Sent: Tuesday, April 12, 2016 3:53 PM
To: Claudiu Belu
Cc: openstack at lists.openstack.org <mailto:openstack at lists.openstack.org> 
Subject: Re: [Openstack] [nova] Hyperv devstack

Claudiu

will be in a meeting for 30 mins but now I get...

2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager
[req-8735537a-388a-461f-ae0c-886ca9f4fc12 f95ee004957f4e6689524d885a5d20b5
37b0970196564fcba8bd544248bb9492 - - -] [instance: fe8f6dd6-f197-4fd
5-9d8d-c0607f8219de] Instance failed to spawn
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de] Traceback (most recent call last):
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]   File
"C:\OpenStack\Nova\Python27\lib\site-packages\nova\compute\manager.py", line
2213, in _
build_resources
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]     yield resources
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]   File
"C:\OpenStack\Nova\Python27\lib\site-packages\nova\compute\manager.py", line
2059, in _
build_and_run_instance
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]
block_device_info=block_device_info)
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]   File
"C:\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\driver.py", line
70, in wrapp
er
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]     six.reraise(raised_exception, exc,
exc_info[2])
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]   File
"C:\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\driver.py", line
54, in wrapp
er
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]     return function(*args, **kwargs)
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]   File
"C:\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\driver.py", line
153, in spaw
n
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]     admin_password, network_info,
block_device_info)
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]   File
"C:\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\vmops.py", line
91, in wrappe
r
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]     return function(self, *args,
**kwds)
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]   File
"C:\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\vmops.py", line
291, in spawn
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]     self.destroy(instance)
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]   File
"C:\OpenStack\Nova\Python27\lib\site-packages\oslo_utils\excutils.py", line
220, in __e
xit__
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]     self.force_reraise()
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]   File
"C:\OpenStack\Nova\Python27\lib\site-packages\oslo_utils\excutils.py", line
196, in for
ce_reraise
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]     six.reraise(self.type_,
self.value, self.tb)
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]   File
"C:\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\vmops.py", line
288, in spawn
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]     self.power_on(instance,
network_info=network_info)
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]   File
"C:\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\vmops.py", line
772, in power
_on
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]     self._set_vm_state(instance,
os_win_const.HYPERV_VM_STATE_ENABLED)
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]   File
"C:\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\vmops.py", line
789, in _set_
vm_state
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]     'req_state': req_state})
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]   File
"C:\OpenStack\Nova\Python27\lib\site-packages\oslo_utils\excutils.py", line
220, in __e
xit__
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]     self.force_reraise()
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]   File
"C:\OpenStack\Nova\Python27\lib\site-packages\oslo_utils\excutils.py", line
196, in for
ce_reraise
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]     six.reraise(self.type_,
self.value, self.tb)
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]   File
"C:\OpenStack\Nova\Python27\lib\site-packages\hyperv\nova\vmops.py", line
779, in _set_
vm_state
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]
self._vmutils.set_vm_state(instance_name, req_state)
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]   File
"C:\OpenStack\Nova\Python27\lib\site-packages\os_win\utils\compute\vmutils.p
y", line 58
8, in set_vm_state
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]
self._jobutils.check_ret_val(ret_val, job_path, [0, 32775])
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]   File
"C:\OpenStack\Nova\Python27\lib\site-packages\os_win\utils\jobutils.py",
line 48, in ch
eck_ret_val
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]     return
self._wait_for_job(job_path)
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]   File
"C:\OpenStack\Nova\Python27\lib\site-packages\os_win\utils\jobutils.py",
line 80, in _w
ait_for_job
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]     "Error code: %(err_code)d") %
data)
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de] NovaException: WMI job failed with
status 10. Error details: 'instance-00000004' failed to sta
rt.
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de] Failed to start the virtual machine
'instance-00000004' because one of the Hyper-V components
is not running. - 'instance-00000004' failed to start. (Virtual machine ID
E25B3DE6-200F-42D3-B6B9-35171CD5A887)
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de] The Virtual Machine Management Service
failed to start the virtual machine 'instance-00000004'
 because one of the Hyper-V components is not running (Virtual machine ID
E25B3DE6-200F-42D3-B6B9-35171CD5A887). - Error code: 32768
2016-04-12 13:51:57.980 2420 ERROR nova.compute.manager [instance:
fe8f6dd6-f197-4fd5-9d8d-c0607f8219de]
2016-04-12 13:51:57.980 2420 INFO nova.compute.manager
[req-8735537a-388a-461f-ae0c-886ca9f4fc12 f95ee004957f4e6689524d885a5d20b5
37b0970196564fcba8bd544248bb9492 - - -] [instance: fe8f6dd6-f197-4fd5
-9d8d-c0607f8219de] Terminating instance
2016-04-12 13:51:57.980 2420 WARNING nova.image.glance
[req-8735537a-388a-461f-ae0c-886ca9f4fc12 f95ee004957f4e6689524d885a5d20b5
37b0970196564fcba8bd544248bb9492 - - -] No protocol specified in for
api_server 'http://192.168.122.244:9292', please update [glance] api_servers
with fully qualified url including scheme (http / https)





Paul Carlton
Software Engineer
Cloud Services 
Hewlett Packard
BUK03:T242
Longdown Avenue
Stoke Gifford
Bristol BS34 8QZ
 
Mobile:    +44 (0)7768 994283
Email:    mailto:paul.carlton2 at hpe.com
Hewlett-Packard Limited registered Office: Cain Road, Bracknell, Berks RG12
1HN Registered No: 690597 England. 
The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as "HP CONFIDENTIAL".
 

On 12/04/16 11:03, Claudiu Belu wrote:

Hello Paul,

By default, devstack will use create / use the 'stackrabbit' user. In your
nova.conf file (by default found at: 'C:\Program Files (x86)\Cloudbase
Solutions\OpenStack\Nova\etc\nova.conf' or 'C:\Program Files\Cloudbase
Solutions\OpenStack\Nova\etc\nova.conf') you have configured to use 'guest'.
You will have to change it to stackrabbit.

[oslo_messaging_rabbit]
rabbit_userid=stackrabbit


Also, from what I can see in the logs, your MSiSCSI is not started. Without
it, you will not be able to attach iSCSI volumes, only SMB volumes or Fibre
Channel. If you have used the installer, you did not check the "iSCSI
Initiator Service" option. The solution is simple though, just start the
service via powershell:

Start-Service MSiSCSI

Then, just restart the nova-compute service:

Restart-Service nova-compute

Best regards,

Claudiu Belu


  _____  


From: Paul Carlton [paul.carlton2 at hpe.com <mailto:paul.carlton2 at hpe.com> ]
Sent: Tuesday, April 12, 2016 12:26 PM
To: Claudiu Belu
Cc: openstack at lists.openstack.org <mailto:openstack at lists.openstack.org> 
Subject: Re: [Openstack] [nova] Hyperv devstack

Claudiu

Getting issues with hyperv  nova-agent not able to connect to rabbitmq on
devstack

On devstack I get....

=ERROR REPORT==== 12-Apr-2016::10:23:05 ===
closing AMQP connection <0.1267.0> (192.168.122.117:49170 ->
192.168.122.244:5672):
{handshake_error,starting,0,
                 {amqp_error,access_refused,
                             "AMQPLAIN login refused: user 'guest' - invalid
credentials",
                             'connection.start_ok'}}

on hyperv, nova log has...

2016-04-12 10:23:01.796 2148 WARNING oslo_config.cfg [-] Option
"network_api_class" from group "DEF
AULT" is deprecated for removal.  Its value may be silently ignored in the
future.
2016-04-12 10:23:01.858 2148 WARNING oslo_config.cfg [-] Option
"volume_api_class" from group "DEFA
ULT" is deprecated for removal.  Its value may be silently ignored in the
future.
2016-04-12 10:23:01.904 2148 INFO nova.virt.driver [-] Loading compute
driver 'hyperv.nova.driver.H
yperVDriver'
2016-04-12 10:23:02.140 2148 INFO os_win.utils.storage.initiator.iscsi_utils
[-] The ISCSI initiato
r node name can't be found. Choosing the default one. Exception: Executing
Win32 API function GetIS
csiInitiatorNodeNameW failed. Error code: 4026466366. Error message: The
Microsoft iSCSI initiator
service has not been started.
2016-04-12 10:23:02.154 2148 INFO hyperv.nova.volumeops [-] No iSCSI
initiator was explicitly reque
sted. The Microsoft iSCSI initiator will choose the initiator when
estabilishing sessions.
2016-04-12 10:23:02.154 2148 INFO os_win.utils.storage.initiator.iscsi_utils
[-] The ISCSI initiato
r node name can't be found. Choosing the default one. Exception: Executing
Win32 API function GetIS
csiInitiatorNodeNameW failed. Error code: 4026466366. Error message: The
Microsoft iSCSI initiator
service has not been started.
2016-04-12 10:23:02.154 2148 INFO hyperv.nova.volumeops [-] No iSCSI
initiator was explicitly reque
sted. The Microsoft iSCSI initiator will choose the initiator when
estabilishing sessions.
2016-04-12 10:23:02.171 2148 INFO os_win.utils.storage.initiator.iscsi_utils
[-] The ISCSI initiato
r node name can't be found. Choosing the default one. Exception: Executing
Win32 API function GetIS
csiInitiatorNodeNameW failed. Error code: 4026466366. Error message: The
Microsoft iSCSI initiator
service has not been started.
2016-04-12 10:23:02.171 2148 INFO hyperv.nova.volumeops [-] No iSCSI
initiator was explicitly reque
sted. The Microsoft iSCSI initiator will choose the initiator when
estabilishing sessions.
2016-04-12 10:23:02.171 2148 INFO os_win.utils.storage.initiator.iscsi_utils
[-] The ISCSI initiato
r node name can't be found. Choosing the default one. Exception: Executing
Win32 API function GetIS
csiInitiatorNodeNameW failed. Error code: 4026466366. Error message: The
Microsoft iSCSI initiator
service has not been started.
2016-04-12 10:23:02.186 2148 INFO hyperv.nova.volumeops [-] No iSCSI
initiator was explicitly reque
sted. The Microsoft iSCSI initiator will choose the initiator when
estabilishing sessions.
2016-04-12 10:23:02.186 2148 INFO os_win.utils.storage.initiator.iscsi_utils
[-] The ISCSI initiato
r node name can't be found. Choosing the default one. Exception: Executing
Win32 API function GetIS
csiInitiatorNodeNameW failed. Error code: 4026466366. Error message: The
Microsoft iSCSI initiator
service has not been started.
2016-04-12 10:23:02.186 2148 INFO hyperv.nova.volumeops [-] No iSCSI
initiator was explicitly reque
sted. The Microsoft iSCSI initiator will choose the initiator when
estabilishing sessions.
2016-04-12 10:23:02.358 2148 INFO os_win.utils.storage.initiator.iscsi_utils
[-] The ISCSI initiato
r node name can't be found. Choosing the default one. Exception: Executing
Win32 API function GetIS
csiInitiatorNodeNameW failed. Error code: 4026466366. Error message: The
Microsoft iSCSI initiator
service has not been started.
2016-04-12 10:23:02.358 2148 INFO hyperv.nova.volumeops [-] No iSCSI
initiator was explicitly reque
sted. The Microsoft iSCSI initiator will choose the initiator when
estabilishing sessions.
2016-04-12 10:23:02.358 2148 INFO os_win.utils.storage.initiator.iscsi_utils
[-] The ISCSI initiato
r node name can't be found. Choosing the default one. Exception: Executing
Win32 API function GetIS
csiInitiatorNodeNameW failed. Error code: 4026466366. Error message: The
Microsoft iSCSI initiator
service has not been started.
2016-04-12 10:23:02.358 2148 INFO hyperv.nova.volumeops [-] No iSCSI
initiator was explicitly reque
sted. The Microsoft iSCSI initiator will choose the initiator when
estabilishing sessions.
2016-04-12 10:23:02.374 2148 INFO os_win.utils.storage.initiator.iscsi_utils
[-] The ISCSI initiato
r node name can't be found. Choosing the default one. Exception: Executing
Win32 API function GetIS
csiInitiatorNodeNameW failed. Error code: 4026466366. Error message: The
Microsoft iSCSI initiator
service has not been started.
2016-04-12 10:23:02.374 2148 INFO hyperv.nova.volumeops [-] No iSCSI
initiator was explicitly reque
sted. The Microsoft iSCSI initiator will choose the initiator when
estabilishing sessions.
2016-04-12 10:23:02.374 2148 INFO os_win.utils.storage.initiator.iscsi_utils
[-] The ISCSI initiato
r node name can't be found. Choosing the default one. Exception: Executing
Win32 API function GetIS
csiInitiatorNodeNameW failed. Error code: 4026466366. Error message: The
Microsoft iSCSI initiator
service has not been started.
2016-04-12 10:23:02.374 2148 INFO hyperv.nova.volumeops [-] No iSCSI
initiator was explicitly reque
sted. The Microsoft iSCSI initiator will choose the initiator when
estabilishing sessions.
2016-04-12 10:23:02.388 2148 INFO os_win.utils.storage.initiator.iscsi_utils
[-] The ISCSI initiato
r node name can't be found. Choosing the default one. Exception: Executing
Win32 API function GetIS
csiInitiatorNodeNameW failed. Error code: 4026466366. Error message: The
Microsoft iSCSI initiator
service has not been started.
2016-04-12 10:23:02.388 2148 INFO hyperv.nova.volumeops [-] No iSCSI
initiator was explicitly reque
sted. The Microsoft iSCSI initiator will choose the initiator when
estabilishing sessions.
2016-04-12 10:23:02.404 2148 INFO os_win.utils.storage.initiator.iscsi_utils
[-] The ISCSI initiato
r node name can't be found. Choosing the default one. Exception: Executing
Win32 API function GetIS
csiInitiatorNodeNameW failed. Error code: 4026466366. Error message: The
Microsoft iSCSI initiator
service has not been started.
2016-04-12 10:23:02.404 2148 INFO hyperv.nova.volumeops [-] No iSCSI
initiator was explicitly reque
sted. The Microsoft iSCSI initiator will choose the initiator when
estabilishing sessions.
2016-04-12 10:23:02.404 2148 INFO os_win.utils.storage.initiator.iscsi_utils
[-] The ISCSI initiato
r node name can't be found. Choosing the default one. Exception: Executing
Win32 API function GetIS
csiInitiatorNodeNameW failed. Error code: 4026466366. Error message: The
Microsoft iSCSI initiator
service has not been started.
2016-04-12 10:23:02.421 2148 INFO hyperv.nova.volumeops [-] No iSCSI
initiator was explicitly reque
sted. The Microsoft iSCSI initiator will choose the initiator when
estabilishing sessions.
2016-04-12 10:23:02.421 2148 INFO os_win.utils.storage.initiator.iscsi_utils
[-] The ISCSI initiato
r node name can't be found. Choosing the default one. Exception: Executing
Win32 API function GetIS
csiInitiatorNodeNameW failed. Error code: 4026466366. Error message: The
Microsoft iSCSI initiator
service has not been started.
2016-04-12 10:23:02.421 2148 INFO hyperv.nova.volumeops [-] No iSCSI
initiator was explicitly reque
sted. The Microsoft iSCSI initiator will choose the initiator when
estabilishing sessions.
2016-04-12 10:23:02.436 2148 INFO os_win.utils.storage.initiator.iscsi_utils
[-] The ISCSI initiato
r node name can't be found. Choosing the default one. Exception: Executing
Win32 API function GetIS
csiInitiatorNodeNameW failed. Error code: 4026466366. Error message: The
Microsoft iSCSI initiator
service has not been started.
2016-04-12 10:23:02.436 2148 INFO hyperv.nova.volumeops [-] No iSCSI
initiator was explicitly reque
sted. The Microsoft iSCSI initiator will choose the initiator when
estabilishing sessions.
2016-04-12 10:23:02.451 2148 INFO os_win.utils.storage.initiator.iscsi_utils
[-] The ISCSI initiato
r node name can't be found. Choosing the default one. Exception: Executing
Win32 API function GetIS
csiInitiatorNodeNameW failed. Error code: 4026466366. Error message: The
Microsoft iSCSI initiator
service has not been started.
2016-04-12 10:23:02.451 2148 INFO hyperv.nova.volumeops [-] No iSCSI
initiator was explicitly reque
sted. The Microsoft iSCSI initiator will choose the initiator when
estabilishing sessions.
2016-04-12 10:23:02.467 2148 CRITICAL nova
[req-8ee0f049-2a31-4d85-95a1-0c78f0331a85 - - - - -] Acc
essRefused: (0, 0): (403) ACCESS_REFUSED - Login was refused using
authentication mechanism AMQPLAI
N. For details see the broker logfile.
2016-04-12 10:23:02.467 2148 ERROR nova Traceback (most recent call last):
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\Scripts\nova-compute-scr
ipt.py", line 9, in <module>
2016-04-12 10:23:02.467 2148 ERROR nova
load_entry_point('nova==13.0.0.0rc2.dev200', 'console_s
cripts', 'nova-compute')()
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\nova\c
md\compute.py", line 74, in main
2016-04-12 10:23:02.467 2148 ERROR nova
db_allowed=CONF.conductor.use_local)
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\nova\s
ervice.py", line 296, in create
2016-04-12 10:23:02.467 2148 ERROR nova     db_allowed=db_allowed)
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\nova\s
ervice.py", line 191, in __init__
2016-04-12 10:23:02.467 2148 ERROR nova
self.conductor_api.wait_until_ready(context.get_admin_c
ontext())
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\nova\c
onductor\api.py", line 157, in wait_until_ready
2016-04-12 10:23:02.467 2148 ERROR nova     timeout=timeout)
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\nova\b
aserpc.py", line 62, in ping
2016-04-12 10:23:02.467 2148 ERROR nova     return cctxt.call(context,
'ping', arg=arg_p)
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\oslo_m
essaging\rpc\client.py", line 158, in call
2016-04-12 10:23:02.467 2148 ERROR nova     retry=self.retry)
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\oslo_m
essaging\transport.py", line 90, in _send
2016-04-12 10:23:02.467 2148 ERROR nova     timeout=timeout, retry=retry)
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\oslo_m
essaging\_drivers\amqpdriver.py", line 470, in send
2016-04-12 10:23:02.467 2148 ERROR nova     retry=retry)
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\oslo_m
essaging\_drivers\amqpdriver.py", line 414, in _send
2016-04-12 10:23:02.467 2148 ERROR nova     msg.update({'_reply_q':
self._get_reply_q()})
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\oslo_m
essaging\_drivers\amqpdriver.py", line 386, in _get_reply_q
2016-04-12 10:23:02.467 2148 ERROR nova     conn =
self._get_connection(rpc_common.PURPOSE_LISTEN)
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\oslo_m
essaging\_drivers\amqpdriver.py", line 377, in _get_connection
2016-04-12 10:23:02.467 2148 ERROR nova     purpose=purpose)
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\oslo_m
essaging\_drivers\common.py", line 396, in __init__
2016-04-12 10:23:02.467 2148 ERROR nova     self.connection =
connection_pool.create(purpose)
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\oslo_m
essaging\_drivers\pool.py", line 110, in create
2016-04-12 10:23:02.467 2148 ERROR nova     return
self.connection_cls(self.conf, self.url, purpose
)
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\oslo_m
essaging\_drivers\impl_rabbit.py", line 555, in __init__
2016-04-12 10:23:02.467 2148 ERROR nova     self.ensure_connection()
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\oslo_m
essaging\_drivers\impl_rabbit.py", line 653, in ensure_connection
2016-04-12 10:23:02.467 2148 ERROR nova     self.ensure(method=lambda:
self.connection.connection)
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\oslo_m
essaging\_drivers\impl_rabbit.py", line 758, in ensure
2016-04-12 10:23:02.467 2148 ERROR nova     ret, channel =
autoretry_method()
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\kombu\
connection.py", line 436, in _ensured
2016-04-12 10:23:02.467 2148 ERROR nova     return fun(*args, **kwargs)
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\kombu\
connection.py", line 507, in __call__
2016-04-12 10:23:02.467 2148 ERROR nova     self.revive(create_channel())
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\kombu\
connection.py", line 242, in channel
2016-04-12 10:23:02.467 2148 ERROR nova     chan =
self.transport.create_channel(self.connection)
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\kombu\
connection.py", line 742, in connection
2016-04-12 10:23:02.467 2148 ERROR nova     self._connection =
self._establish_connection()
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\kombu\
connection.py", line 697, in _establish_connection
2016-04-12 10:23:02.467 2148 ERROR nova     conn =
self.transport.establish_connection()
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\kombu\
transport\pyamqp.py", line 116, in establish_connection
2016-04-12 10:23:02.467 2148 ERROR nova     conn = self.Connection(**opts)
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\amqp\c
onnection.py", line 180, in __init__
2016-04-12 10:23:02.467 2148 ERROR nova     (10, 30),  # tune
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\amqp\a
bstract_channel.py", line 67, in wait
2016-04-12 10:23:02.467 2148 ERROR nova     self.channel_id,
allowed_methods, timeout)
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\amqp\c
onnection.py", line 274, in _wait_method
2016-04-12 10:23:02.467 2148 ERROR nova     wait()
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\amqp\a
bstract_channel.py", line 69, in wait
2016-04-12 10:23:02.467 2148 ERROR nova     return
self.dispatch_method(method_sig, args, content)
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\amqp\a
bstract_channel.py", line 87, in dispatch_method
2016-04-12 10:23:02.467 2148 ERROR nova     return amqp_method(self, args)
2016-04-12 10:23:02.467 2148 ERROR nova   File
"C:\OpenStack\Nova\Python27\lib\site-packages\amqp\c
onnection.py", line 530, in _close
2016-04-12 10:23:02.467 2148 ERROR nova     (class_id, method_id),
ConnectionError)
2016-04-12 10:23:02.467 2148 ERROR nova AccessRefused: (0, 0): (403)
ACCESS_REFUSED - Login was ref
used using authentication mechanism AMQPLAIN. For details see the broker
logfile.
2016-04-12 10:23:02.467 2148 ERROR nova





Paul Carlton
Software Engineer
Cloud Services 
Hewlett Packard
BUK03:T242
Longdown Avenue
Stoke Gifford
Bristol BS34 8QZ
 
Mobile:    +44 (0)7768 994283
Email:    mailto:paul.carlton2 at hpe.com
Hewlett-Packard Limited registered Office: Cain Road, Bracknell, Berks RG12
1HN Registered No: 690597 England. 
The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as "HP CONFIDENTIAL".
 

On 07/04/16 12:20, Paul Carlton wrote:

Claudiu 

You may remember I've been trying to get the hyperv working with devstack. 

You shared with me the local.conf from your CI job but I still can't get it
to work. 

It fails with 

2016-04-07 10:56:40.612 | +
lib/neutron-legacy:_move_neutron_addresses_route:881 :   sudo ovs-vsctl
--may-exist add-port br-eth1 br100 
2016-04-07 10:56:40.620 | ovs-vsctl: no bridge named br-eth1 

I'm running this in a libvirt vm on my laptop 

The local.conf is attached 

Any thoughts on what is wrong? 

Thanks 





_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org
<mailto:openstack at lists.openstack.org> 
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160413/16dce7b5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5795 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160413/16dce7b5/attachment.bin>


More information about the Openstack mailing list