Abhishek:
In addition to the localrc settings as Elena suggests, try sourcing credentials for user 'admin' using the devstack/openrc script, e.g.:
source ~/devstack/openrc admin
before executing neutron commands. Later, if you want to e.g. launch a VM as user/tenant 'demo', you would source credentials as:
source ~/devstack/openrc demo
Good luck!
From: Elena Ezhova [mailto:eezhova at mirantis.com]
Sent: Saturday, March 01, 2014 2:13 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] Neutron error using devstack
If you want to use Neutron with devstack you have to add the related settings to localrc.
Please see https://wiki.openstack.org/wiki/NeutronDevstack for detailed instructions.
01 марта 2014 г. 22:11 пользователь "abhishek jain" <ashujain9727 at gmail.com<mailto:ashujain9727 at gmail.com>> написал:
Hi all
I have installed devstack successfully from the following link...
http://www.linux.com/learn/tutorials/721712-intro-to-openstack-part-two-how-to-install-and-configure-openstack-on-a-server
However I'm not able to run the neutron services.The error which generally comes after running neutron command is as follows.....
neutron subnet-create vxlan-net 10.100.1.0/24<http://10.100.1.0/24> --name vxlan-net
You must provide a username via either --os-username or env[OS_USERNAME]
ashu at ashu $ ps -ef | grep neutron
ashu 31039 30660 0 18:09 pts/25 00:00:00 grep --color=auto neutron
Please help regarding this
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org<mailto:OpenStack-dev at lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140301/f88a9eb9/attachment.html>