openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #14388
Re: Baremetal Provisioning and proxy-nova-compute
Trinath,
Do you have a /tftpboot/ directory on your proxy compute server, and if so are there any error logs in there? Please send us any error logs that you find and we'll try to get you fixed up.
JP
On Jul 6, 2012, at 6:51 AM, Trinath Somanchi wrote:
> Hi-
>
> I'm currently trying/testing on How Baremetal provisioning works with openstack nova.
>
> when I start nova-compute server in the proxy-nova-compute server, I have seen the following error
>
> 2012-07-06 16:13:15 DEBUG nova.service [-] quota_security_group_rules : 20 from (pid=11576) wait /usr/lib/python2.7/dist-packages/nova/service.py:411
> 2012-07-06 16:13:15 DEBUG nova.service [-] xenapi_connection_password : FLAG SET from (pid=11576) wait /usr/lib/python2.7/dist-packages/nova/service.py:409
> 2012-07-06 16:13:15 DEBUG nova.service [-] rabbit_virtual_host : / from (pid=11576) wait /usr/lib/python2.7/dist-packages/nova/service.py:411
> 2012-07-06 16:13:15 DEBUG nova.service [-] libvirt_volume_drivers : ['iscsi=nova.virt.libvirt.volume.LibvirtISCSIVolumeDriver', 'local=nova.virt.libvirt.volume.LibvirtVolumeDriver', 'fake=nova.virt.libvirt.volume.LibvirtFakeVolumeDriver', 'rbd=nova.virt.libvirt.volume.LibvirtNetVolumeDriver', 'sheepdog=nova.virt.libvirt.volume.LibvirtNetVolumeDriver'] from (pid=11576) wait /usr/lib/python2.7/dist-packages/nova/service.py:411
> 2012-07-06 16:13:15 DEBUG nova.service [-] network_driver : nova.network.linux_net from (pid=11576) wait /usr/lib/python2.7/dist-packages/nova/service.py:411
> 2012-07-06 16:13:15 DEBUG nova.service [-] quota_instances : 10 from (pid=11576) wait /usr/lib/python2.7/dist-packages/nova/service.py:411
> 2012-07-06 16:13:15 DEBUG nova.service [-] vnc_keymap : FLAG SET from (pid=11576) wait /usr/lib/python2.7/dist-packages/nova/service.py:409
> 2012-07-06 16:13:15 DEBUG nova.service [-] image_service : nova.image.glance.GlanceImageService from (pid=11576) wait /usr/lib/python2.7/dist-packages/nova/service.py:411
> 2012-07-06 16:13:15 DEBUG nova.service [-] libvirt_inject_password : FLAG SET from (pid=11576) wait /usr/lib/python2.7/dist-packages/nova/service.py:409
> 2012-07-06 16:13:15 DEBUG nova.service [-] control_exchange : nova from (pid=11576) wait /usr/lib/python2.7/dist-packages/nova/service.py:411
> 2012-07-06 16:13:15 DEBUG nova.service [-] cnt_vpn_clients : 0 from (pid=11576) wait /usr/lib/python2.7/dist-packages/nova/service.py:411
> 2012-07-06 16:13:15 DEBUG nova.service [-] log_file : None from (pid=11576) wait /usr/lib/python2.7/dist-packages/nova/service.py:411
> 2012-07-06 16:13:15 DEBUG nova.service [-] compute_manager : nova.compute.manager.ComputeManager from (pid=11576) wait /usr/lib/python2.7/dist-packages/nova/service.py:411
> 2012-07-06 16:13:15 DEBUG nova.service [-] compute_driver : nova.virt.connection.get_connection from (pid=11576) wait /usr/lib/python2.7/dist-packages/nova/service.py:411
> 2012-07-06 16:13:15 DEBUG nova.service [-] network_topic : network from (pid=11576) wait /usr/lib/python2.7/dist-packages/nova/service.py:411
> 2012-07-06 16:13:15 AUDIT nova.service [-] Starting compute node (version 2012.1-LOCALBRANCH:LOCALREVISION)
> 2012-07-06 16:13:16 DEBUG nova.utils [req-dc7cdfb3-e7b6-468d-8c62-9f7c2a6f5291 None None] backend <module 'nova.db.sqlalchemy.api' from '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc'> from (pid=11576) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658
> 2012-07-06 16:13:16 CRITICAL nova [-] Expecting property name: line 1 column 2 (char 2)
> 2012-07-06 16:13:16 TRACE nova Traceback (most recent call last):
> 2012-07-06 16:13:16 TRACE nova File "/usr/bin/nova-compute", line 49, in <module>
> 2012-07-06 16:13:16 TRACE nova service.wait()
> 2012-07-06 16:13:16 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 413, in wait
> 2012-07-06 16:13:16 TRACE nova _launcher.wait()
> 2012-07-06 16:13:16 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 131, in wait
> 2012-07-06 16:13:16 TRACE nova service.wait()
> 2012-07-06 16:13:16 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 166, in wait
> 2012-07-06 16:13:16 TRACE nova return self._exit_event.wait()
> 2012-07-06 16:13:16 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
> 2012-07-06 16:13:16 TRACE nova return hubs.get_hub().switch()
> 2012-07-06 16:13:16 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in switch
> 2012-07-06 16:13:16 TRACE nova return self.greenlet.switch()
> 2012-07-06 16:13:16 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 192, in main
> 2012-07-06 16:13:16 TRACE nova result = function(*args, **kwargs)
> 2012-07-06 16:13:16 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 101, in run_server
> 2012-07-06 16:13:16 TRACE nova server.start()
> 2012-07-06 16:13:16 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 174, in start
> 2012-07-06 16:13:16 TRACE nova self.manager.update_available_resource(ctxt)
> 2012-07-06 16:13:16 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2403, in update_available_resource
> 2012-07-06 16:13:16 TRACE nova self.driver.update_available_resource(context, self.host)
> 2012-07-06 16:13:16 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/virt/baremetal/proxy.py", line 698, in update_available_resource
> 2012-07-06 16:13:16 TRACE nova 'vcpus_used': self.get_vcpu_used(),
> 2012-07-06 16:13:16 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/virt/baremetal/proxy.py", line 606, in get_vcpu_used
> 2012-07-06 16:13:16 TRACE nova for dom_id in self._conn.list_domains():
> 2012-07-06 16:13:16 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/virt/baremetal/proxy.py", line 115, in _get_connection
> 2012-07-06 16:13:16 TRACE nova self._wrapped_conn = dom.BareMetalDom()
> 2012-07-06 16:13:16 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/virt/baremetal/dom.py", line 83, in __init__
> 2012-07-06 16:13:16 TRACE nova self._read_domain_from_file()
> 2012-07-06 16:13:16 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/virt/baremetal/dom.py", line 90, in _read_domain_from_file
> 2012-07-06 16:13:16 TRACE nova self.domains = read_domains(self.fake_dom_file)
> 2012-07-06 16:13:16 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/virt/baremetal/dom.py", line 34, in read_domains
> 2012-07-06 16:13:16 TRACE nova domains = utils.loads(json)
> 2012-07-06 16:13:16 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 830, in loads
> 2012-07-06 16:13:16 TRACE nova return json.loads(s)
> 2012-07-06 16:13:16 TRACE nova File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
> 2012-07-06 16:13:16 TRACE nova return _default_decoder.decode(s)
> 2012-07-06 16:13:16 TRACE nova File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
> 2012-07-06 16:13:16 TRACE nova obj, end = self.raw_decode(s, idx=_w(s, 0).end())
> 2012-07-06 16:13:16 TRACE nova File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
> 2012-07-06 16:13:16 TRACE nova obj, end = self.scan_once(s, idx)
> 2012-07-06 16:13:16 TRACE nova ValueError: Expecting property name: line 1 column 2 (char 2)
>
> Please help me in troubleshooting the issue.
>
> Thanking you...
>
>
> --
> Regards,
> ----------------------------------------------
> Trinath Somanchi,
> +91 9866 235 130
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
References