openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #20766
'novarc' environment setting failed to authenticated
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@xxxxxx> 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@xxxxxxxxxxxxxxxxxxx[mailto:
> openstack-bounces+mark.m.miller=hp.com@xxxxxxxxxxxxxxxxxxx] *On Behalf Of
> *Rain Li
> *Sent:* Thursday, February 07, 2013 7:13 PM
> *To:* openstack@xxxxxxxxxxxxxxxxxxx
> *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@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@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****
>
References