[Openstack] 'novarc' environment setting failed to authenticated

Rain Li lyp20062392 at gmail.com
Fri Feb 8 18:54:58 UTC 2013


Hi Mark,

Thanks for replying. But still get the same output.

Best,
Rain


On Fri, Feb 8, 2013 at 10:52 AM, Miller, Mark M (EB SW Cloud - R&D -
Corvallis) <mark.m.miller at hp.com> wrote:

>  Hi Rain,****
>
> ** **
>
> I’ve been setting the following 2 environment variables instead:****
>
> ** **
>
> **·         **SERVICE_ENDPOINT=”http://10.0.0.1:35357/v2.0”****
>
> **·         **SERVICE_TOKEN=<admin_token value  from the keystone.conf
> file>****
>
> ** **
>
> Mark****
>
> ** **
>
> *From:* openstack-bounces+mark.m.miller=hp.com at lists.launchpad.net[mailto:
> openstack-bounces+mark.m.miller=hp.com at lists.launchpad.net] *On Behalf Of
> *Rain Li
> *Sent:* Thursday, February 07, 2013 7:13 PM
> *To:* openstack at lists.launchpad.net
> *Subject:* [Openstack] 'novarc' environment setting failed to
> authenticated****
>
> ** **
>
> Hi, all,****
>
> I am following OpenStack Basic Install guide (
> http://docs.openstack.org/folsom/basic-install/content/index.html), but
> when executing the keystone-endpoint.sh script on the controller-node, I
> always get this error message:
> Expecting authentication method via
>   either a service token, --token or env[SERVICE_TOKEN],
>   or credentials, --os-username or env[OS_USERNAME].
> usage: keystone endpoint-create [--region <endpoint-region>] --service-id
>                                 <service-id> [--publicurl <public-url>]
>                                 [--adminurl <admin-url>]
>                                 [--internalurl <internal-url>]
> keystone endpoint-create: error: argument --service-id/--service_id:
> expected one argument
> ...****
>
> But I already setup the environment variables like this:
> stack at folsom-controller:~$ env | grep OS_
> OS_PASSWORD=password
> OS_AUTH_URL=http://10.0.0.1:35357/v2.0
> OS_USERNAME=admin
> OS_TENANT_NAME=admin****
>
> And get the similar error when executing the sample quantum-networking.sh
> script on the network-node:
> Expecting authentication method via
>   either a service token, --token or env[SERVICE_TOKEN],
>   or credentials, --os-username or env[OS_USERNAME].****
>
> You must provide a username via either --os-username or env[OS_USERNAME]
> ...****
>
> I have environment variables setting like:
> stack at folsom-network:~$ env | grep OS_
> OS_PASSWORD=password
> OS_AUTH_URL=http://10.0.0.1:5000/v2.0
> OS_USERNAME=admin
> OS_TENANT_NAME=admin****
>
> Any suggestions to get around this?****
>
> Regards,****
>
> Rain****
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130208/95bb1d24/attachment.html>


More information about the Openstack mailing list