简体   繁体   中英

OpenStack Python Novaclient does not require authentication

I'm using OpenStack Diablo on RHEL6 with packages from GridDynamics.

Everything seems to work with the EC2 api, but when using python-novaclient, the system just allow access to any api commands regardless of the authentication provided.

See https://github.com/masom/Puck/blob/master/server/plugins/virtualization/nova.py#L42

I am not using Keystone for authentication (Waiting for essex to be released).

Why is nova blindly allowing anyone to issue api commands regardless of the authentication data provided?

Turns out /etc/nova/api-paste.ini had noauth and ec2noauth

Moving to the deprecated auth (not using keystone) by changing noauth to auth did it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM