Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

swift user role not listed

I'm battling the same old Authentication problem with Swift. One listed here.

One question is:

  1. My user-role-list doesn't list and roles for swift:
root@lab-srv2544:/etc/swift# keystone user-role-list --user-id=admin
+----------------------------------+----------+----------------------------------+----------------------------------+
|                id                |   name   |             user_id              |            tenant_id             |
+----------------------------------+----------+----------------------------------+----------------------------------+
| 31086269092b4e29b9b2c8edc7526296 | _member_ | c061d2c159fc463da0d41e239d447f93 | f014f61da1244cfd9e6823b178af4bc9 |
| 35bc1b6e311249c091573f3a56b1d79d |  admin   | c061d2c159fc463da0d41e239d447f93 | f014f61da1244cfd9e6823b178af4bc9 |
+----------------------------------+----------+----------------------------------+----------------------------------+
root@lab-srv2544:/etc/swift# keystone user-role-list --user-id=swift
root@lab-srv2544:/etc/swift#
  1. However, when I try to add the role for swift user I get this error:
root@lab-srv2544:/etc/swift# keystone user-role-add --user=swift --tenant=service --role=admin
Conflict occurred attempting to store role grant - User d08f067266ea48fd988d33f82111b146 already has role 35bc1b6e311249c091573f3a56b1d79d in tenant 6acb448ffff74a4bbc6fd6167ed722cb (HTTP 409)
root@lab-srv2544:/etc/swift#

Any ideas how to resolve this?

Thank you.

swift user role not listed

I'm battling the same old Authentication problem with Swift. One listed here.

One . (DOn't have enough karma to post links).

My question is:

  1. My user-role-list doesn't list and roles for swift:
root@lab-srv2544:/etc/swift# keystone user-role-list --user-id=admin
+----------------------------------+----------+----------------------------------+----------------------------------+
|                id                |   name   |             user_id              |            tenant_id             |
+----------------------------------+----------+----------------------------------+----------------------------------+
| 31086269092b4e29b9b2c8edc7526296 | _member_ | c061d2c159fc463da0d41e239d447f93 | f014f61da1244cfd9e6823b178af4bc9 |
| 35bc1b6e311249c091573f3a56b1d79d |  admin   | c061d2c159fc463da0d41e239d447f93 | f014f61da1244cfd9e6823b178af4bc9 |
+----------------------------------+----------+----------------------------------+----------------------------------+
root@lab-srv2544:/etc/swift# keystone user-role-list --user-id=swift
root@lab-srv2544:/etc/swift#
  1. However, when I try to add the role for swift user I get this error:
root@lab-srv2544:/etc/swift# keystone user-role-add --user=swift --tenant=service --role=admin
Conflict occurred attempting to store role grant - User d08f067266ea48fd988d33f82111b146 already has role 35bc1b6e311249c091573f3a56b1d79d in tenant 6acb448ffff74a4bbc6fd6167ed722cb (HTTP 409)
root@lab-srv2544:/etc/swift#

Any ideas how to resolve this?

Thank you.

swift user role not listed

I'm battling the same old Authentication problem with Swift. One listed here. (DOn't have enough karma to post links)..

My question is:

  1. My user-role-list doesn't list and roles for swift:
root@lab-srv2544:/etc/swift# keystone user-role-list --user-id=admin
+----------------------------------+----------+----------------------------------+----------------------------------+
|                id                |   name   |             user_id              |            tenant_id             |
+----------------------------------+----------+----------------------------------+----------------------------------+
| 31086269092b4e29b9b2c8edc7526296 | _member_ | c061d2c159fc463da0d41e239d447f93 | f014f61da1244cfd9e6823b178af4bc9 |
| 35bc1b6e311249c091573f3a56b1d79d |  admin   | c061d2c159fc463da0d41e239d447f93 | f014f61da1244cfd9e6823b178af4bc9 |
+----------------------------------+----------+----------------------------------+----------------------------------+
root@lab-srv2544:/etc/swift# keystone user-role-list --user-id=swift
root@lab-srv2544:/etc/swift#
  1. However, when I try to add the role for swift user I get this error:
root@lab-srv2544:/etc/swift# keystone user-role-add --user=swift --tenant=service --role=admin
Conflict occurred attempting to store role grant - User d08f067266ea48fd988d33f82111b146 already has role 35bc1b6e311249c091573f3a56b1d79d in tenant 6acb448ffff74a4bbc6fd6167ed722cb (HTTP 409)
root@lab-srv2544:/etc/swift#

Any ideas how to resolve this?

Thank you.

swift user role not listed

I'm battling the same old Authentication problem with Swift. One listed here.

My question is:

  1. My user-role-list doesn't list and roles for swift:
root@lab-srv2544:/etc/swift# keystone user-role-list --user-id=admin
+----------------------------------+----------+----------------------------------+----------------------------------+
|                id                |   name   |             user_id              |            tenant_id             |
+----------------------------------+----------+----------------------------------+----------------------------------+
| 31086269092b4e29b9b2c8edc7526296 | _member_ | c061d2c159fc463da0d41e239d447f93 | f014f61da1244cfd9e6823b178af4bc9 |
| 35bc1b6e311249c091573f3a56b1d79d |  admin   | c061d2c159fc463da0d41e239d447f93 | f014f61da1244cfd9e6823b178af4bc9 |
+----------------------------------+----------+----------------------------------+----------------------------------+
root@lab-srv2544:/etc/swift# keystone user-role-list --user-id=swift
root@lab-srv2544:/etc/swift#
  1. However, when I try to add the role for swift user I get this error:
root@lab-srv2544:/etc/swift# keystone user-role-add --user=swift --tenant=service --role=admin
Conflict occurred attempting to store role grant - User d08f067266ea48fd988d33f82111b146 already has role 35bc1b6e311249c091573f3a56b1d79d in tenant 6acb448ffff74a4bbc6fd6167ed722cb (HTTP 409)
root@lab-srv2544:/etc/swift#

Any ideas how to resolve this?

Thank you.