Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

openstack-swift: keystone endpoint-create: error: argument --service/--service-id/--service_id: expected one argument

Hi,

From this site: http://docs.openstack.org/trunk/install-guide/install/apt/content/swift-install-controller-node.html

Everything goes wel until I run this:

keystone endpoint-create
--service-id $(keystone service-list | awk '/ object-store / {print $2}')
--publicurl 'http://controller:8080/v1/AUTH_%(tenant_id)s' --internalurl 'http://controller:8080/v1/AUTH_%(tenant_id)s' --adminurl 'http://controller:8080' --region 'regionOne'

I got this message:

Expecting an auth URL via either --os-auth-url or env[OS_AUTH_URL] usage: keystone endpoint-create [--region <endpoint-region>] --service <service> --publicurl <public-url> [--adminurl <admin-url>] [--internalurl <internal-url>] keystone endpoint-create: error: argument --service/--service-id/--service_id: expected one argument

I have been searched for the error message but cant fint anything:

export no_proxy="localhost,127.0.0.1"

openstack-swift: keystone endpoint-create: error: argument --service/--service-id/--service_id: expected one argument

Hi,

From this site: http://docs.openstack.org/trunk/install-guide/install/apt/content/swift-install-controller-node.html

Everything goes wel until I run this:

>

 keystone endpoint-create 
> --service-id $(keystone service-list | awk '/ object-store / {print $2}')
> --publicurl 'http://controller:8080/v1/AUTH_%(tenant_id)s' > --internalurl 'http://controller:8080/v1/AUTH_%(tenant_id)s' > --adminurl 'http://controller:8080' --region 'regionOne'

'regionOne'

I got this message:

>

 Expecting an auth URL via either
 > --os-auth-url or env[OS_AUTH_URL] usage: keystone endpoint-create
 > [--region <endpoint-region>] --service
 >                                 <service> --publicurl <public-url>
 >                                 [--adminurl <admin-url>]
 >                                 [--internalurl <internal-url>]
 > keystone endpoint-create: error:
 > argument
 > --service/--service-id/--service_id: expected one argument

argument

I have been searched for the error message but cant fint anything:

export no_proxy="localhost,127.0.0.1"