Bug 1943232 - acl user add is exiting with "Row has incorrect number of values, (actual) 6!=5 (expected)" message
Summary: acl user add is exiting with "Row has incorrect number of values, (actual) 6!...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-barbicanclient
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: zstream
: 16.1 (Train on RHEL 8.2)
Assignee: Douglas Mendizábal
QA Contact: Jeremy Agee
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-25 16:00 UTC by Khomesh Thakre
Modified: 2022-08-11 18:47 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-11 18:33:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-801 0 None None None 2022-08-11 18:47:47 UTC

Description Khomesh Thakre 2021-03-25 16:00:57 UTC
Description of problem:

While adding the ACL for the user it failed with the below error

~~~
(gokudbz) [stack@undercloud-0 ~]$ openstack user list                                                                                                                                                                                         
+----------------------------------+-------------------------+
| ID                               | Name                    |
+----------------------------------+-------------------------+
| d7a47332bf254589ae9ec7c3b5026d4b | admin                   |
| 0083cfa82fb74d3fbb7415457abffc0a | cinder                  |
| 682b4b450a4a44da8c94173f15546068 | cinderv2                |
| 802fb06a4f484aeeacc039cacfd4702c | cinderv3                |
| 077e6df5ef9747c38900dbb2e0935351 | glance                  |
| a480893fc28d4d64b5da38bd25b29df9 | heat                    |
| 98f9f7e8418e431e82b3678ae5a198e3 | heat_stack_domain_admin |
| f164bd935a9049f4b7088ee42335e657 | heat-cfn                |
| b9b466e41f744ed8b8eff5f3132fd002 | neutron                 |
| 4fc98219b243472e8a8fbb4bfcf93279 | nova                    |
| 668abc9a4fb64350884dc8af81818ad6 | octavia                 |
| 53df8e88a01244feb58e5e8d2b804c89 | placement               |
| 19609077ddfb4a09bff51883286146be | swift                   |
| 2ac145ff225b43e5a288f46742ba527a | barbican                |
| a89fbe505e2a498f9548cc77e5984c02 | goku                    |
+----------------------------------+-------------------------+
(gokudbz) [stack@undercloud-0 ~]$ . overcloudrc 
(overcloud) [stack@undercloud-0 ~]$ openstack secret list                                                                                                                                                                                     
+------------------------------------------------------------------------+------+---------------------------+--------+---------------+-----------+------------+-------------+------+------------+
| Secret href                                                            | Name | Created                   | Status | Content types | Algorithm | Bit length | Secret type | Mode | Expiration |
+------------------------------------------------------------------------+------+---------------------------+--------+---------------+-----------+------------+-------------+------+------------+
| http://10.0.0.107:9311/v1/secrets/a22f2336-04b4-47d6-8891-6231638019e2 | None | 2021-03-25T14:25:26+00:00 | ACTIVE | None          | aes       |        256 | opaque      | cbc  | None       |
+------------------------------------------------------------------------+------+---------------------------+--------+---------------+-----------+------------+-------------+------+------------+
(overcloud) [stack@undercloud-0 ~]$ openstack acl user add --user a89fbe505e2a498f9548cc77e5984c02  http://10.0.0.107:9311/v1/secrets/a22f2336-04b4-47d6-8891-6231638019e2 
Row has incorrect number of values, (actual) 6!=5 (expected)
~~~


Version-Release number of selected component (if applicable):
RedHat OpenStack platform 16.1


Note You need to log in before you can comment on or make changes to this bug.