Openstack user admin commands removed from nova-manage
Lately I have been trying to get an openstack node up and running on an Ubuntu VM. For which, I was following a couple of the many guides available online. Everything went well until I found out that I was not able to create a user with an admin role using the nova-manage command. I was trying to run,
nova-manage user admin openstack
Much to my disappointment, I got the following error,
nova-manage: error: argument category: invalid choice: 'user' (choose from 'version', 'bash-completion', 'project', 'account', 'shell', 'logs', 'service', 'db', 'vm', 'agent', 'cell', 'instance_type', 'host', 'flavor', 'fixed', 'vpn', 'floating', 'network')
I was a bit frustrated after going through the wiki for the nova-manage command which said that nova-manage was going away in the Folsom release of openstack, but never said anything about what is going to replace it. That's when I bothered to find out which version of openstack I was using! I know, I should've done it earlier, probably checked the "System requirements" section in the installation/setup tutorials, but then it is when you ignore parts like these that you get a feeling of having finished reading the whole bible in a couple of hours!
Anyway, I figured that I was running Ubuntu 13.04 with Openstack Grizzly. Even though the nova-manage wiki (which I guess was written somewhere around Essex) said that it was supposed to go away in Folsom, I found that it was still available in Grizzly but with some of the subcommands stripped off. I also came across the commit which removed the "user" and a couple of other subcommands from nova-manage which is here: Remove auth-related nova-manage commands · f953091 · openstack/nova · GitHub
Some more time with the codebase, and I came across this file openstack/nova/nova/auth/manager.py whose docstring clearly stated that I should be using Keystone going forward. Keystone which is documented here: Keystone - Openstack; seems to be a bit more complex than the simpler but obsolete "nova-manage user" command.
I haven't yet got Keystone fully setup, so that's it for now. But I should be back with an update to this post as to how it goes!
UPDATE:
It turns out that usage of keystone is as simple as:
Of course, with a couple of other commands to create an admin role and add the user to that role, but the best part is that the documentation here: Adding Users, Tenants and Roles, is very clear on the usage of it.
UPDATE:
It turns out that usage of keystone is as simple as:
keystone user-create --name=openstack --pass=openstack --email=admin@example.com
Of course, with a couple of other commands to create an admin role and add the user to that role, but the best part is that the documentation here: Adding Users, Tenants and Roles, is very clear on the usage of it.
At the most effective roulette websites UK gamers can discover, many of these promotions come in the type of deposit-match cash bonuses. You will 로스트아크 all the time discover several of} websites that provide free spins on sure slot games, but phrases of|when it comes to|by method of} the most effective roulette bonuses, you need to} search out the most generous cash bonus. On this page, we’ll provide advice on {how to|the method to|tips on how to} find a secure on-line roulette actual cash casino.
ReplyDelete