yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #00972
[Bug 988698] Re: Tenant is created successfully without any information supplied.
fix was released in folsom for v2 api. name was set as required field.
see:
https://github.com/openstack/keystone/commit/19b6076869f6e177febc559b191f4ef9c352e55b
** Changed in: keystone
Status: Triaged => Fix Released
** Changed in: keystone
Assignee: adapaka bhavaniprasad (adapaka-prasad) => (unassigned)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/988698
Title:
Tenant is created successfully without any information supplied.
Status in OpenStack Identity (Keystone):
Fix Released
Bug description:
In python keystoneclient ,when you call the create method of
TenantManager,you can set both tenant_name and description as None,the
tenant will be created successfully .The data of the new tenant looks
boring and meaningless.
<Tenant {u'id': u'1bc61fe59518464bba2c1a37c6b9c76f', u'enabled': True,
u'description': None, u'name': None}>
I suggest checking the type of tenant_name in
TenantManager.create(self, tenant_name, description=None,
enabled=True) method, and filtering the None type.
The same problem exists in UserManager.create(self, name, password,
email, tenant_id=None, enabled=True) method!
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/988698/+subscriptions