yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #81890
[Bug 1866817] [NEW] Invalid input for field 'roles/0/id': 'role_admin' does not match '^[a-zA-Z0-9-]+$'
Public bug reported:
Hi,
Please suggest how to fix the below error:
i get this error when i execute for roles image_viewer, role_admin,
role_viewer only, works fine with other roles.
openstack application credential create --role image_viewer --secret
test iv Invalid input for field 'roles/0/id': 'image_viewer' does not
match '^[a-zA-Z0-9-]+$'
Failed validating 'pattern' in
schema['properties']['roles']['items']['properties']['id']:
{'maxLength': 64, 'minLength': 1, 'pattern': '^[a-zA-Z0-9-]+$', 'type':
'string'}
On instance['roles'][0]['id']: 'image_viewer' (HTTP 400) (Request-ID:
req-92bd08a5-d151-41ca-b564-e8e981dd0539) openstack application
credential create --role role_admin --secret test iv 0 ↵ Invalid input
for field 'roles/0/id': 'role_admin' does not match '^[a-zA-Z0-9-]+$'
Failed validating 'pattern' in
schema['properties']['roles']['items']['properties']['id']:
{'maxLength': 64, 'minLength': 1, 'pattern': '^[a-zA-Z0-9-]+$', 'type':
'string'}
On instance['roles'][0]['id']: 'role_admin' (HTTP 400) (Request-ID:
req-d2388261-bd0d-4b02-9342-5d9ec32ceb6f)
The request ID shows the same data, this is an old bug in nova:
https://bugs.launchpad.net/nova/+bug/1491325
** Affects: keystone
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1866817
Title:
Invalid input for field 'roles/0/id': 'role_admin' does not match
'^[a-zA-Z0-9-]+$'
Status in OpenStack Identity (keystone):
New
Bug description:
Hi,
Please suggest how to fix the below error:
i get this error when i execute for roles image_viewer, role_admin,
role_viewer only, works fine with other roles.
openstack application credential create --role image_viewer --secret
test iv Invalid input for field 'roles/0/id': 'image_viewer' does not
match '^[a-zA-Z0-9-]+$'
Failed validating 'pattern' in
schema['properties']['roles']['items']['properties']['id']:
{'maxLength': 64, 'minLength': 1, 'pattern': '^[a-zA-Z0-9-]+$',
'type': 'string'}
On instance['roles'][0]['id']: 'image_viewer' (HTTP 400) (Request-ID:
req-92bd08a5-d151-41ca-b564-e8e981dd0539) openstack application
credential create --role role_admin --secret test iv 0 ↵ Invalid input
for field 'roles/0/id': 'role_admin' does not match '^[a-zA-Z0-9-]+$'
Failed validating 'pattern' in
schema['properties']['roles']['items']['properties']['id']:
{'maxLength': 64, 'minLength': 1, 'pattern': '^[a-zA-Z0-9-]+$',
'type': 'string'}
On instance['roles'][0]['id']: 'role_admin' (HTTP 400) (Request-ID:
req-d2388261-bd0d-4b02-9342-5d9ec32ceb6f)
The request ID shows the same data, this is an old bug in nova:
https://bugs.launchpad.net/nova/+bug/1491325
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1866817/+subscriptions
Follow ups