xenapi plugin exception when launching an instance
Hi, I am getting a timeout when launching an instance. I am running XCP version 1.1 then launching a VM with ubuntu 10.04 64bit where I have installed nova core:trunk on it.
The instance is running:
INSTANCE i-00000002 ami-00000003 10.0.0.2 10.0.0.2 running None (openstack, ubuntu-xcp-os) 0 m1.small 2011-09-
but the nova-compute.log shows the error.
2011-09-23 10:27:45,160 INFO nova.virt.
2011-09-23 10:27:45,160 INFO nova.virt.
2011-09-23 10:27:46,411 INFO nova.virt.
2011-09-23 10:27:46,411 INFO nova.virt.
2011-09-23 10:27:47,056 INFO nova.compute.
2011-09-23 10:27:58,678 WARNING nova.virt.xenapi [-] Task [Async.
2011-09-23 10:27:58,679 ERROR nova.virt.
2011-09-23 10:27:58,679 ERROR nova.virt.
2011-09-23 10:28:29,738 WARNING nova.virt.xenapi [-] Task [Async.
2011-09-23 10:28:29,739 ERROR nova.virt.
2011-09-23 10:28:29,739 ERROR nova.virt.
2011-09-23 10:28:47,077 DEBUG nova.manager [-] Notifying Schedulers of capabilities ... from (pid=9716) periodic_tasks /root/openstack
2011-09-23 10:28:47,077 DEBUG nova.rpc [-] Making asynchronous fanout cast... from (pid=9716) fanout_cast /root/openstack
2011-09-23 10:28:47,480 INFO nova.virt.
2011-09-23 10:28:47,480 INFO nova.virt.
2011-09-23 10:28:48,610 INFO nova.virt.
2011-09-23 10:28:48,611 INFO nova.virt.
2011-09-23 10:28:49,185 INFO nova.compute.
=======
Do I have to run something else in the xenserver (xcp) ? agent?
any ideas?
thanks!
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hi Arturo,
Does the image your trying to boot have the openstack guest agent installed:
https:/
When using XenServer nova communicates w/ the agent via XenStore on the hypervisor. In your case nova-compute is looking for a response from the agent (which is also stored in XenServer) and it is timing out.
Also, you might hit up comstud on IRC if you are looking for the latest agent builds.
Hope this helps.
Dan
Revision history for this message
|
#2 |
Hi,
I got the same problem.
When I tried to install guest agent, I got this error (make check):
make[2]: Entering directory `/home/
Traceback (most recent call last):
File "run_tests.py", line 38, in <module>
tests.
File "/home/
test_suite = unittest.
File "/usr/lib/
suites = [self.loadTests
File "/usr/lib/
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_freebsd_
make[2]: *** [check-local] Error 1
make[2]: Leaving directory `/home/
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/
make: *** [check-recursive] Error 1
Any idea to fix this problem ????
Thank you,
Afef
Revision history for this message
|
#3 |
I just pushed up a new branch which adds a minor new feature but also fixes the unit test problem you're seeing.
https:/
Revision history for this message
|
#4 |
That exception shouldn't actually be a problem if you don't need the functionality the agent gives you.
If you use cloud-init you should get things like ssh-key injection, and DHCP, if you are using it, will get the IP configuration setup properly.
But if you install the agent (linux or windows one) it gives you extra goodies like password reset. Obviously, in certain cases that can be a life saver!
Revision history for this message
|
#5 |
Sorry my bad, got confused with dates here!
Revision history for this message
|
#6 |
Hi all,
I installed the openstack guest agent on the image. But, I still have the same errors :
Any other way to solve it ?
Thank you,
Afef
--------------
2012-10-04 13:50:37 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:50:37 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:50:41 DEBUG nova.virt.
2012-10-04 13:50:41 ERROR nova.virt.
2012-10-04 13:50:41 ERROR nova.virt.
2012-10-04 13:51:12 DEBUG nova.virt.
2012-10-04 13:51:12 ERROR nova.virt.
2012-10-04 13:51:12 ERROR nova.virt.
2012-10-04 13:51:37 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:51:37 DEBUG nova.manager [-] Notifying Schedulers of capabilities ... from (pid=30089) _publish_
2012-10-04 13:51:37 DEBUG nova.openstack.
2012-10-04 13:51:37 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:51:37 DEBUG nova.manager [-] Skipping ComputeManager.
2012-10-04 13:51:37 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:51:37 INFO nova.compute.
2012-10-04 13:51:37 ERROR nova.manager [-] Error during ComputeManager.
2012-10-04 13:51:37 TRACE nova.manager Traceback (most recent call last):
2012-10-04 13:51:37 TRACE nova.manager File "/opt/stack/
2012-10-04 13:51:37 TRACE nova.manager task(self, context)
2012-10-04 13:51:37 TRACE nova.manager File "/opt/stack/
2012-10-04 13:51:37 TRACE nova.manager bw_counters = self.driver.
2012-10-04 13:51:37 TRACE nova.manager File "/opt/stack/
2012-10-04 13:51:37 TRACE nova.manager all_counters = self._vmops.
2012-10-04 13:51:37 TRACE nova.manager File "/opt/stack/
2012-10-04 13:51:37 TRACE nova.manager counters = vm_utils.
2012-10-04 13:51:37 TRACE nova.manager AttributeError: 'module' object has no attribute 'fetch_bandwidth'
2012-10-04 13:51:37 TRACE nova.manager
2012-10-04 13:51:37 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:51:37 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:51:37 DEBUG nova.utils [-] Got semaphore "compute_resources" for method "update_
2012-10-04 13:51:37 DEBUG nova.virt.
2012-10-04 13:51:38 DEBUG nova.compute.
2012-10-04 13:51:38 DEBUG nova.compute.
2012-10-04 13:51:38 DEBUG nova.compute.
2012-10-04 13:51:39 AUDIT nova.compute.
2012-10-04 13:51:39 AUDIT nova.compute.
2012-10-04 13:51:39 AUDIT nova.compute.
2012-10-04 13:51:39 INFO nova.compute.
2012-10-04 13:51:39 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:51:39 DEBUG nova.manager [-] Skipping ComputeManager.
2012-10-04 13:51:39 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:51:39 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:51:39 DEBUG nova.openstack.
2012-10-04 13:51:39 DEBUG nova.openstack.
2012-10-04 13:51:39 DEBUG nova.compute.
2012-10-04 13:51:39 DEBUG nova.manager [-] Skipping ComputeManager.
2012-10-04 13:51:39 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:51:39 DEBUG nova.compute.
2012-10-04 13:51:39 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:51:39 INFO nova.compute.
2012-10-04 13:51:39 DEBUG nova.virt.
2012-10-04 13:51:40 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:51:43 DEBUG nova.virt.
2012-10-04 13:51:43 ERROR nova.virt.
2012-10-04 13:51:43 ERROR nova.virt.
2012-10-04 13:52:13 DEBUG nova.virt.
2012-10-04 13:52:13 ERROR nova.virt.
2012-10-04 13:52:13 ERROR nova.virt.
2012-10-04 13:52:40 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:52:40 DEBUG nova.manager [-] Notifying Schedulers of capabilities ... from (pid=30089) _publish_
2012-10-04 13:52:40 DEBUG nova.openstack.
2012-10-04 13:52:40 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:52:40 DEBUG nova.manager [-] Skipping ComputeManager.
2012-10-04 13:52:40 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:52:40 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:52:40 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:52:40 DEBUG nova.utils [-] Got semaphore "compute_resources" for method "update_
2012-10-04 13:52:40 DEBUG nova.virt.
2012-10-04 13:52:41 DEBUG nova.compute.
2012-10-04 13:52:41 DEBUG nova.compute.
2012-10-04 13:52:41 DEBUG nova.compute.
2012-10-04 13:52:41 AUDIT nova.compute.
2012-10-04 13:52:41 AUDIT nova.compute.
2012-10-04 13:52:41 AUDIT nova.compute.
2012-10-04 13:52:41 INFO nova.compute.
2012-10-04 13:52:41 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:52:41 DEBUG nova.manager [-] Skipping ComputeManager.
2012-10-04 13:52:41 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:52:41 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:52:41 DEBUG nova.openstack.
2012-10-04 13:52:41 DEBUG nova.openstack.
2012-10-04 13:52:42 DEBUG nova.compute.
2012-10-04 13:52:42 DEBUG nova.manager [-] Skipping ComputeManager.
2012-10-04 13:52:42 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:52:42 DEBUG nova.compute.
2012-10-04 13:52:42 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:52:42 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:52:44 DEBUG nova.virt.
2012-10-04 13:52:44 ERROR nova.virt.
2012-10-04 13:52:44 ERROR nova.virt.
2012-10-04 13:53:15 DEBUG nova.virt.
2012-10-04 13:53:15 ERROR nova.virt.
2012-10-04 13:53:15 ERROR nova.virt.
2012-10-04 13:53:42 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:53:42 DEBUG nova.manager [-] Notifying Schedulers of capabilities ... from (pid=30089) _publish_
2012-10-04 13:53:42 DEBUG nova.openstack.
2012-10-04 13:53:42 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:53:42 DEBUG nova.manager [-] Skipping ComputeManager.
2012-10-04 13:53:42 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:53:42 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:53:42 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:53:42 DEBUG nova.utils [-] Got semaphore "compute_resources" for method "update_
2012-10-04 13:53:42 DEBUG nova.virt.
2012-10-04 13:53:43 DEBUG nova.compute.
2012-10-04 13:53:43 DEBUG nova.compute.
2012-10-04 13:53:43 DEBUG nova.compute.
2012-10-04 13:53:43 AUDIT nova.compute.
2012-10-04 13:53:43 AUDIT nova.compute.
2012-10-04 13:53:43 AUDIT nova.compute.
2012-10-04 13:53:43 INFO nova.compute.
2012-10-04 13:53:43 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:53:43 DEBUG nova.manager [-] Skipping ComputeManager.
2012-10-04 13:53:43 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:53:43 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:53:43 DEBUG nova.openstack.
2012-10-04 13:53:43 DEBUG nova.openstack.
2012-10-04 13:53:43 DEBUG nova.compute.
2012-10-04 13:53:43 DEBUG nova.manager [-] Skipping ComputeManager.
2012-10-04 13:53:43 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:53:43 DEBUG nova.compute.
2012-10-04 13:53:43 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:53:43 INFO nova.compute.
2012-10-04 13:53:43 DEBUG nova.virt.
2012-10-04 13:53:44 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:53:45 DEBUG nova.virt.
2012-10-04 13:53:45 ERROR nova.virt.
2012-10-04 13:53:45 ERROR nova.virt.
2012-10-04 13:54:16 DEBUG nova.virt.
2012-10-04 13:54:16 ERROR nova.virt.
2012-10-04 13:54:16 ERROR nova.virt.
2012-10-04 13:54:44 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:54:44 DEBUG nova.manager [-] Notifying Schedulers of capabilities ... from (pid=30089) _publish_
2012-10-04 13:54:44 DEBUG nova.openstack.
2012-10-04 13:54:44 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:54:44 DEBUG nova.manager [-] Skipping ComputeManager.
2012-10-04 13:54:44 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:54:44 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:54:44 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:54:44 DEBUG nova.utils [-] Got semaphore "compute_resources" for method "update_
2012-10-04 13:54:44 DEBUG nova.virt.
2012-10-04 13:54:45 DEBUG nova.compute.
2012-10-04 13:54:45 DEBUG nova.compute.
2012-10-04 13:54:45 DEBUG nova.compute.
2012-10-04 13:54:45 AUDIT nova.compute.
2012-10-04 13:54:45 AUDIT nova.compute.
2012-10-04 13:54:45 AUDIT nova.compute.
2012-10-04 13:54:45 AUDIT nova.compute.
2012-10-04 13:54:45 INFO nova.compute.
2012-10-04 13:54:45 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:54:45 DEBUG nova.manager [-] Skipping ComputeManager.
2012-10-04 13:54:45 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:54:45 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:54:45 DEBUG nova.openstack.
2012-10-04 13:54:45 DEBUG nova.openstack.
2012-10-04 13:54:46 DEBUG nova.compute.
2012-10-04 13:54:46 DEBUG nova.manager [-] Skipping ComputeManager.
2012-10-04 13:54:46 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:54:46 DEBUG nova.compute.
2012-10-04 13:54:46 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:54:46 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:54:47 DEBUG nova.virt.
2012-10-04 13:54:47 ERROR nova.virt.
2012-10-04 13:54:47 ERROR nova.virt.
2012-10-04 13:55:17 DEBUG nova.virt.
2012-10-04 13:55:17 ERROR nova.virt.
2012-10-04 13:55:17 ERROR nova.virt.
2012-10-04 13:55:17 INFO nova.virt.
2012-10-04 13:55:17 DEBUG nova.virt.
2012-10-04 13:55:46 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:55:46 DEBUG nova.manager [-] Notifying Schedulers of capabilities ... from (pid=30089) _publish_
2012-10-04 13:55:46 DEBUG nova.openstack.
2012-10-04 13:55:46 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:55:46 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:55:47 WARNING nova.compute.
2012-10-04 13:55:47 INFO nova.compute.
2012-10-04 13:55:47 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:55:47 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:55:47 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:55:47 DEBUG nova.utils [-] Got semaphore "compute_resources" for method "update_
2012-10-04 13:55:47 DEBUG nova.virt.
2012-10-04 13:55:48 DEBUG nova.compute.
2012-10-04 13:55:48 DEBUG nova.compute.
2012-10-04 13:55:48 DEBUG nova.compute.
2012-10-04 13:55:48 AUDIT nova.compute.
2012-10-04 13:55:48 AUDIT nova.compute.
2012-10-04 13:55:48 AUDIT nova.compute.
2012-10-04 13:55:48 INFO nova.compute.
2012-10-04 13:55:48 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:55:48 DEBUG nova.manager [-] Skipping ComputeManager.
2012-10-04 13:55:48 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:55:48 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:55:48 DEBUG nova.openstack.
2012-10-04 13:55:48 DEBUG nova.openstack.
2012-10-04 13:55:49 DEBUG nova.compute.
2012-10-04 13:55:49 DEBUG nova.manager [-] Skipping ComputeManager.
2012-10-04 13:55:49 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:55:49 DEBUG nova.compute.
2012-10-04 13:55:49 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:55:49 INFO nova.compute.
2012-10-04 13:55:49 DEBUG nova.virt.
2012-10-04 13:55:50 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:56:18 DEBUG nova.virt.
2012-10-04 13:56:18 ERROR nova.virt.
2012-10-04 13:56:18 ERROR nova.virt.
2012-10-04 13:56:18 DEBUG nova.virt.
2012-10-04 13:56:18 DEBUG nova.virt.
2012-10-04 13:56:18 DEBUG nova.compute.
2012-10-04 13:56:18 DEBUG nova.utils [req-4d8a0269-
2012-10-04 13:56:18 DEBUG nova.utils [req-4d8a0269-
2012-10-04 13:56:18 INFO nova.compute.
2012-10-04 13:56:50 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:56:50 DEBUG nova.manager [-] Notifying Schedulers of capabilities ... from (pid=30089) _publish_
2012-10-04 13:56:50 DEBUG nova.openstack.
2012-10-04 13:56:50 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:56:50 DEBUG nova.manager [-] Skipping ComputeManager.
2012-10-04 13:56:50 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:56:50 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:56:50 DEBUG nova.manager [-] Running periodic task ComputeManager.
2012-10-04 13:56:50 DEBUG nova.utils [-] Got semaphore "compute_resources" for method "update_
2012-10-04 13:56:50 DEBUG nova.virt.
2012-10-04 13:56:51 DEBUG nova.compute.
2012-10-04 13:56:51 DEBUG nova.compute.
2012-10-04 13:56:51 DEBUG nova.compute.
2012-10-04 13:56:51 AUDIT nova.compute.
2012-10-04 13:56:5
Can you help with this problem?
Provide an answer of your own, or ask arturo lorenzo for more information if necessary.