Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

conflict occurred attempting to store project

Hi all, I got some error when configuring keystone, after I executed : ADMIN_PASSWORD=$OS_PASSWORD SERVICE_PASSWORD=servicepass openstack-keystone-sample-data

The error messages are below: Conflict occurred attempting to store project. (1062, "Duplicate entry 'default-demo' for key 'domain_id'") (HTTP 409) Conflict occurred attempting to store user. (1062, "Duplicate entry 'default-admin' for key 'domain_id'") (HTTP 409) Conflict occurred attempting to store role. (1062, "Duplicate entry 'admin' for key 'name'") (HTTP 409) usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>] keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument Conflict occurred attempting to store project. (1062, "Duplicate entry 'default-service' for key 'domain_id'") (HTTP 409) Conflict occurred attempting to store user. (1062, "Duplicate entry 'default-glance' for key 'domain_id'") (HTTP 409) usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>] keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument usage: keystone user-create --name <user-name> [--tenant <tenant>] [--pass [<pass>]] [--email <email>] [--enabled <true|false>] keystone user-create: error: argument --tenant/--tenant-id: expected one argument usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>] keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument usage: keystone user-create --name <user-name> [--tenant <tenant>] [--pass [<pass>]] [--email <email>] [--enabled <true|false>] keystone user-create: error: argument --tenant/--tenant-id: expected one argument usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>] keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument usage: keystone user-create --name <user-name> [--tenant <tenant>] [--pass [<pass>]] [--email <email>] [--enabled <true|false>] keystone user-create: error: argument --tenant/--tenant-id: expected one argument usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>] keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). +-------------+---------------------------------------+ | Property | Value | +-------------+---------------------------------------+ | adminurl | http://localhost:$(admin_port)s/v2.0 | | id | 0be702858f8a4dcfa6ba9b10e93ec15a | | internalurl | http://localhost:$(public_port)s/v2.0 | | publicurl | http://localhost:$(public_port)s/v2.0 | | region | RegionOne | | service_id | 0ce374f2d00b4ecda148e220191a3c95 | +-------------+---------------------------------------+ WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). +-------------+------------------------------------------------------+ | Property | Value | +-------------+------------------------------------------------------+ | adminurl | http://localhost:$(compute_port)s/v1.1/$(tenant_id)s | | id | 8f1acb964c8d476595ac1b890711c3fb | | internalurl | http://localhost:$(compute_port)s/v1.1/$(tenant_id)s | | publicurl | http://localhost:$(compute_port)s/v1.1/$(tenant_id)s | | region | RegionOne | | service_id | e25bcf6cbe404f8e98256d22f6d1db97 | +-------------+------------------------------------------------------+ WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). +-------------+----------------------------------------+ | Property | Value | +-------------+----------------------------------------+ | adminurl | http://localhost:8776/v1/$(tenant_id)s | | id | 1dffb2553fd44f738d18d190eddc1d0c | | internalurl | http://localhost:8776/v1/$(tenant_id)s | | publicurl | http://localhost:8776/v1/$(tenant_id)s | | region | RegionOne | | service_id | 9dce6a4901ef4df9b046245e130bf9dd | +-------------+----------------------------------------+ WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). +-------------+----------------------------------+ | Property | Value | +-------------+----------------------------------+ | adminurl | http://localhost:9292 | | id | d8e682088d2d47eea8ad5341baa96c4c | | internalurl | http://localhost:9292 | | publicurl | http://localhost:9292 | | region | RegionOne | | service_id | 8d6a0ef419734ea59d1ac39a4cc8198e | +-------------+----------------------------------+ WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). +-------------+--------------------------------------+ | Property | Value | +-------------+--------------------------------------+ | adminurl | http://localhost:8773/services/Admin | | id | 981c7de4aa3d43d0b6aeb96fd9584d80 | | internalurl | http://localhost:8773/services/Cloud | | publicurl | http://localhost:8773/services/Cloud | | region | RegionOne | | service_id | 0af5d38012164ea1a7c7f721ff6b4790 | +-------------+--------------------------------------+ WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). +-------------+---------------------------------------------+ | Property | Value | +-------------+---------------------------------------------+ | adminurl | http://localhost:8888/v1 | | id | 70693629f7c84da09a1c78cfd6520c90 | | internalurl | http://localhost:8888/v1/AUTH_$(tenant_id)s | | publicurl | http://localhost:8888/v1/AUTH_$(tenant_id)s | | region | RegionOne | | service_id | 9abe2cec418645f581f4a8488a2be984 | +-------------+---------------------------------------------+ Unknown Attribute: auth_tenant_id

I followed a document to setup openstack and I am new on this, would somebody advise how can I fix this problem? Thanks

click to hide/show revision 2
No.2 Revision

conflict occurred attempting to store project

Hi all,
 I got some error when configuring keystone, after I executed :
ADMIN_PASSWORD=$OS_PASSWORD SERVICE_PASSWORD=servicepass openstack-keystone-sample-data

openstack-keystone-sample-data

The error messages are below: Conflict occurred attempting to store project. (1062, "Duplicate entry 'default-demo' for key 'domain_id'") (HTTP 409) Conflict occurred attempting to store user. (1062, "Duplicate entry 'default-admin' for key 'domain_id'") (HTTP 409) Conflict occurred attempting to store role. (1062, "Duplicate entry 'admin' for key 'name'") (HTTP 409) usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>] keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument Conflict occurred attempting to store project. (1062, "Duplicate entry 'default-service' for key 'domain_id'") (HTTP 409) Conflict occurred attempting to store user. (1062, "Duplicate entry 'default-glance' for key 'domain_id'") (HTTP 409) usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>] keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument usage: keystone user-create --name <user-name> [--tenant <tenant>] [--pass [<pass>]] [--email <email>] [--enabled <true|false>] keystone user-create: error: argument --tenant/--tenant-id: expected one argument usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>] keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument usage: keystone user-create --name <user-name> [--tenant <tenant>] [--pass [<pass>]] [--email <email>] [--enabled <true|false>] keystone user-create: error: argument --tenant/--tenant-id: expected one argument usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>] keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument usage: keystone user-create --name <user-name> [--tenant <tenant>] [--pass [<pass>]] [--email <email>] [--enabled <true|false>] keystone user-create: error: argument --tenant/--tenant-id: expected one argument usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>] keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). +-------------+---------------------------------------+ | Property | Value | +-------------+---------------------------------------+ | adminurl | http://localhost:$(admin_port)s/v2.0 | | id | 0be702858f8a4dcfa6ba9b10e93ec15a | | internalurl | http://localhost:$(public_port)s/v2.0 | | publicurl | http://localhost:$(public_port)s/v2.0 | | region | RegionOne | | service_id | 0ce374f2d00b4ecda148e220191a3c95 | +-------------+---------------------------------------+ WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). +-------------+------------------------------------------------------+ | Property | Value | +-------------+------------------------------------------------------+ | adminurl | http://localhost:$(compute_port)s/v1.1/$(tenant_id)s | | id | 8f1acb964c8d476595ac1b890711c3fb | | internalurl | http://localhost:$(compute_port)s/v1.1/$(tenant_id)s | | publicurl | http://localhost:$(compute_port)s/v1.1/$(tenant_id)s | | region | RegionOne | | service_id | e25bcf6cbe404f8e98256d22f6d1db97 | +-------------+------------------------------------------------------+ WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). +-------------+----------------------------------------+ | Property | Value | +-------------+----------------------------------------+ | adminurl | http://localhost:8776/v1/$(tenant_id)s | | id | 1dffb2553fd44f738d18d190eddc1d0c | | internalurl | http://localhost:8776/v1/$(tenant_id)s | | publicurl | http://localhost:8776/v1/$(tenant_id)s | | region | RegionOne | | service_id | 9dce6a4901ef4df9b046245e130bf9dd | +-------------+----------------------------------------+ WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). +-------------+----------------------------------+ | Property | Value | +-------------+----------------------------------+ | adminurl | http://localhost:9292 | | id | d8e682088d2d47eea8ad5341baa96c4c | | internalurl | http://localhost:9292 | | publicurl | http://localhost:9292 | | region | RegionOne | | service_id | 8d6a0ef419734ea59d1ac39a4cc8198e | +-------------+----------------------------------+ WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). +-------------+--------------------------------------+ | Property | Value | +-------------+--------------------------------------+ | adminurl | http://localhost:8773/services/Admin | | id | 981c7de4aa3d43d0b6aeb96fd9584d80 | | internalurl | http://localhost:8773/services/Cloud | | publicurl | http://localhost:8773/services/Cloud | | region | RegionOne | | service_id | 0af5d38012164ea1a7c7f721ff6b4790 | +-------------+--------------------------------------+ WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). +-------------+---------------------------------------------+ | Property | Value | +-------------+---------------------------------------------+ | adminurl | http://localhost:8888/v1 | | id | 70693629f7c84da09a1c78cfd6520c90 | | internalurl | http://localhost:8888/v1/AUTH_$(tenant_id)s | | publicurl | http://localhost:8888/v1/AUTH_$(tenant_id)s | | region | RegionOne | | service_id | 9abe2cec418645f581f4a8488a2be984 | +-------------+---------------------------------------------+ Unknown Attribute: auth_tenant_id

auth_tenant_id

I followed a document to setup openstack and I am new on this, would somebody advise how can I fix this problem? Thanks

Thanks
click to hide/show revision 3
No.3 Revision

conflict occurred attempting to store project

Hi all, all,

I got some error when configuring keystone, after I executed : :

ADMIN_PASSWORD=$OS_PASSWORD SERVICE_PASSWORD=servicepass openstack-keystone-sample-data

The error messages are below: below:

Conflict occurred attempting to store project. (1062, "Duplicate entry 'default-demo' for key 'domain_id'") (HTTP 409)
Conflict occurred attempting to store user. (1062, "Duplicate entry 'default-admin' for key 'domain_id'") (HTTP 409)
Conflict occurred attempting to store role. (1062, "Duplicate entry 'admin' for key 'name'") (HTTP 409)
usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]
keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument
Conflict occurred attempting to store project. (1062, "Duplicate entry 'default-service' for key 'domain_id'") (HTTP 409)
Conflict occurred attempting to store user. (1062, "Duplicate entry 'default-glance' for key 'domain_id'") (HTTP 409)
usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]
keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument
usage: keystone user-create --name <user-name> [--tenant <tenant>]
                            [--pass [<pass>]] [--email <email>]
                            [--enabled <true|false>]
keystone user-create: error: argument --tenant/--tenant-id: expected one argument
usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]
keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument
usage: keystone user-create --name <user-name> [--tenant <tenant>]
                            [--pass [<pass>]] [--email <email>]
                            [--enabled <true|false>]
keystone user-create: error: argument --tenant/--tenant-id: expected one argument
usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]
keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument
usage: keystone user-create --name <user-name> [--tenant <tenant>]
                            [--pass [<pass>]] [--email <email>]
                            [--enabled <true|false>]
keystone user-create: error: argument --tenant/--tenant-id: expected one argument
usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]
keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
+-------------+---------------------------------------+
|   Property  |                 Value                 |
+-------------+---------------------------------------+
|   adminurl  |  http://localhost:$(admin_port)s/v2.0 |
|      id     |    0be702858f8a4dcfa6ba9b10e93ec15a   |
| internalurl | http://localhost:$(public_port)s/v2.0 |
|  publicurl  | http://localhost:$(public_port)s/v2.0 |
|    region   |               RegionOne               |
|  service_id |    0ce374f2d00b4ecda148e220191a3c95   |
+-------------+---------------------------------------+
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
+-------------+------------------------------------------------------+
|   Property  |                        Value                         |
+-------------+------------------------------------------------------+
|   adminurl  | http://localhost:$(compute_port)s/v1.1/$(tenant_id)s |
|      id     |           8f1acb964c8d476595ac1b890711c3fb           |
| internalurl | http://localhost:$(compute_port)s/v1.1/$(tenant_id)s |
|  publicurl  | http://localhost:$(compute_port)s/v1.1/$(tenant_id)s |
|    region   |                      RegionOne                       |
|  service_id |           e25bcf6cbe404f8e98256d22f6d1db97           |
+-------------+------------------------------------------------------+
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
+-------------+----------------------------------------+
|   Property  |                 Value                  |
+-------------+----------------------------------------+
|   adminurl  | http://localhost:8776/v1/$(tenant_id)s |
|      id     |    1dffb2553fd44f738d18d190eddc1d0c    |
| internalurl | http://localhost:8776/v1/$(tenant_id)s |
|  publicurl  | http://localhost:8776/v1/$(tenant_id)s |
|    region   |               RegionOne                |
|  service_id |    9dce6a4901ef4df9b046245e130bf9dd    |
+-------------+----------------------------------------+
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
+-------------+----------------------------------+
|   Property  |              Value               |
+-------------+----------------------------------+
|   adminurl  |      http://localhost:9292       |
|      id     | d8e682088d2d47eea8ad5341baa96c4c |
| internalurl |      http://localhost:9292       |
|  publicurl  |      http://localhost:9292       |
|    region   |            RegionOne             |
|  service_id | 8d6a0ef419734ea59d1ac39a4cc8198e |
+-------------+----------------------------------+
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
+-------------+--------------------------------------+
|   Property  |                Value                 |
+-------------+--------------------------------------+
|   adminurl  | http://localhost:8773/services/Admin |
|      id     |   981c7de4aa3d43d0b6aeb96fd9584d80   |
| internalurl | http://localhost:8773/services/Cloud |
|  publicurl  | http://localhost:8773/services/Cloud |
|    region   |              RegionOne               |
|  service_id |   0af5d38012164ea1a7c7f721ff6b4790   |
+-------------+--------------------------------------+
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
+-------------+---------------------------------------------+
|   Property  |                    Value                    |
+-------------+---------------------------------------------+
|   adminurl  |           http://localhost:8888/v1          |
|      id     |       70693629f7c84da09a1c78cfd6520c90      |
| internalurl | http://localhost:8888/v1/AUTH_$(tenant_id)s |
|  publicurl  | http://localhost:8888/v1/AUTH_$(tenant_id)s |
|    region   |                  RegionOne                  |
|  service_id |       9abe2cec418645f581f4a8488a2be984      |
+-------------+---------------------------------------------+
Unknown Attribute: auth_tenant_id

I followed a document to setup openstack and I am new on this, would somebody advise how can I fix this problem? Thanks

Thanks