[Openstack] [nova] Hyperv devstack

Paul Carlton paul.carlton2 at hpe.com
Tue Apr 12 09:26:05 UTC 2016


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
> 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/20160412/f52c1783/attachment.html>


More information about the Openstack mailing list