glance , no route matched,

Asked by zhangjunfeng

i don't know how to solved this.,

used add-apt-repository ppa:glance-core/release and add-apt-repository ppa:nova-core/release,

here is some logs:

role: nova control node, ip:192.168.1.101, log: /etc/log/glance-api.log:
2011-06-17 00:39:12 DEBUG [routes.middleware] Match dict: {'action': u'meta', 'controller': <glance.server.Controller object at 0x2235250>, 'id': u'2'}
2011-06-17 00:39:12 DEBUG [eventlet.wsgi.server] 192.168.1.101 - - [17/Jun/2011 00:39:12] "HEAD /images/2 HTTP/1.1" 200 911 0.020626
2011-06-17 00:39:15 DEBUG [routes.middleware] No route matched for GET /v1/images/3
2011-06-17 00:39:15 DEBUG [eventlet.wsgi.server] 192.168.1.102 - - [17/Jun/2011 00:39:15] "GET /v1/images/3 HTTP/1.1" 404 175 0.001252

role: nvoa compute node, ip:192.168.1.102, log: /etc/log/nova/nova-compute.log:
(nova.compute.manager): TRACE: Traceback (most recent call last):
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/compute/manager.py", line 234, in run_instance
(nova.compute.manager): TRACE: self.driver.spawn(instance_ref)
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/exception.py", line 120, in _wrap
(nova.compute.manager): TRACE: return f(*args, **kw)
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 616, in spawn
(nova.compute.manager): TRACE: self._create_image(instance, xml, network_info)
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 867, in _create_image
(nova.compute.manager): TRACE: size=size)
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 776, in _cache_image
(nova.compute.manager): TRACE: call_if_not_exists(base, fn, *args, **kwargs)
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/utils.py", line 607, in inner
(nova.compute.manager): TRACE: retval = f(*args, **kwargs)
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 774, in call_if_not_exists
(nova.compute.manager): TRACE: fn(target=base, *args, **kwargs)
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 787, in _fetch_image
(nova.compute.manager): TRACE: images.fetch(image_id, target, user, project)
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/images.py", line 51, in fetch
(nova.compute.manager): TRACE: metadata = image_service.get(elevated, image_id, image_file)
(nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/image/glance.py", line 119, in get
(nova.compute.manager): TRACE: raise exception.NotFound
(nova.compute.manager): TRACE: NotFound: None

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
zhangjunfeng
Solved:
Last query:
Last reply:
Revision history for this message
zhangjunfeng (zjfhappy) said :
#1

great, :), i solved my problem。 the reason is i have installed a different version glance server in the compute node, beafore this i think the compute node don't need the glance and they don't have influence each other, it's my fault,'

Revision history for this message
van dinh phuc (phucvdb) said :
#2

hi zhangjunfeng (zjfhappy).
I had the same problem with you.I installed all component of Opnestack ,glance in server 1 and other glance server in server 2.
I tried to follow your instructions but failed as the above error.
Can you help me ?
thanks for any issue.