cinder list - ERROR: Not found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Invalid
|
Undecided
|
Mike Perez |
Bug Description
Hello,
In my OpenStack Grizzly setup I have a Ceph cluster as backend for Cinder.
I'm sure that configuration of cinder.conf and libvirt to talk with Ceph is right (after start of service Cinder talk with Ceph asking "rados lspools" and it respond).
BTW with cinder client and nova client, I'm not able to talk with cinder backend.
# cinder list
==> /var/log/
2013-03-25 20:07:14 DEBUG [keystoneclient
2013-03-25 20:07:14 DEBUG [keystoneclient
2013-03-25 20:07:14 DEBUG [routes.middleware] No route matched for GET /volumes/detail
ERROR: Not found
# cinder create 10
==> /var/log/
2013-03-25 20:08:13 DEBUG [keystoneclient
2013-03-25 20:08:13 DEBUG [keystoneclient
2013-03-25 20:08:13 DEBUG [routes.middleware] No route matched for POST /volumes
ERROR: Not found
With Strace
strace -e trace=network cinder list
--- SIGCHLD (Child exited) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
socket(PF_FILE, SOCK_STREAM|
connect(3, {sa_family=AF_FILE, path="/
socket(PF_FILE, SOCK_STREAM|
connect(3, {sa_family=AF_FILE, path="/
socket(PF_INET, SOCK_DGRAM|
connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=
sendto(3, "\233\306\
recvfrom(3, "\233\306\
socket(PF_INET, SOCK_DGRAM|
connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=
sendto(3, "\344\251\
recvfrom(3, "\344\251\
socket(PF_INET, SOCK_DGRAM|
connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=
sendto(3, "\327\235\
recvfrom(3, "\327\235\
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
connect(3, {sa_family=AF_INET, sin_port=
sendto(3, "POST /v2.0/tokens HTTP/1.
recvfrom(3, "HTTP/1.1 200 OK\r\nVary: X-Auth-To"..., 8192, 0, NULL, NULL) = 1448
recvfrom(3, "In1dLCAiZW5kcG
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
connect(3, {sa_family=AF_INET, sin_port=
sendto(3, "GET /v2/volumes/detail HTTP/1.1\r"..., 4580, 0, NULL, 0) = 4580
recvfrom(3, 2013-03-25 20:10:42 DEBUG [keystoneclient
2013-03-25 20:10:42 DEBUG [keystoneclient
2013-03-25 20:10:42 DEBUG [routes.middleware] No route matched for GET /volumes/detail
"HTTP/1.1 404 Not Found\r\
ERROR: Not found
The config of policy.json is the default.
Below the cinder.conf
[DEFAULT]
debug=true
verbose=true
log_date_
connection_
sql_connection=
api_paste_
pybasedir=
bindir=
my_ip=10.1.2.51
glance_
glance_port=9292
glance_
glance_
glance_
scheduler_
volume_
enable_v2_api=true
api_rate_limit=true
osapi_volume_
osapi_max_
sql_max_retries=10
host=nova1
storage_
auth_strategy=
control_
policy_
policy_
volume_
snapshot_
backup_
rabbit_
volume_
rbd_pool=nova-pool
rbd_user=openstack
rbd_secret_
Could anyone explane me if this is an bug or my config error?
Thanks you so much!
Federico
Changed in cinder: | |
status: | New → Incomplete |
assignee: | nobody → Mike Perez (thingee) |
Hi Federico,
The API server and client look like they're configured correctly. However I noticed when the API server receives the forwarded request it comes through as /volumes/detail without a version.
When you run "keystone service-list shows" what's the endpoint for Cinder look like?