Ask Your Question
0

UnsupportedCinderAPIVersion: Nova does not support Cinder API version 1

asked 2017-05-22 07:49:51 -0500

updated 2017-05-22 07:51:10 -0500

Greetings,

Ocata release. Fresh install by following the documentation for Ubuntu. I can create volumes and can see them with "lvscan". tgt runs. However when i try to attach a volume to instance or create a volume within instance i get this error on horizon:

1. Error: Failed to perform requested operation on instance xxx, the instance has an error status: Please try again later [Error: Build of instance xxx aborted: Block Device Mapping is Invalid.]. So i've checked the logs and i've found this jewel in compute node1: UnsupportedCinderAPIVersion: Nova does not support Cinder API version 1 see the nova log below: https://gist.github.com/kunthar/2e827...

I've traced and get that cinder v2 started use since Kilo. So why this happens right now? How can we avoid this to hit again?

  1. Admin can create volume with admin account but can't see the volumes on Horizon; I can see volume is there and created both with

    openstack volume list

and

MariaDB [cinder]> select host, id, user_id, project_id, size, attach_status, status  from volumes;

I believe it is related to this famous API version fun.

Any comments?

ask.ubuntu editor is terrible btw.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-05-22 08:18:14 -0500

Found the error. Always double check endpoints when creating them. didn't create v2 endpoint and whoila.

openstack endpoint list
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-05-22 07:49:51 -0500

Seen: 309 times

Last updated: May 22 '17