yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #50842
[Bug 1581667] [NEW] AttributeError - 'NoneType' object has no attribute 'lower'
Public bug reported:
When create a service with region = "None", occurs Error list services
without horizon.
how to test
> create a service any with the region = None
Example:
+----------------------------------+-----------+--------------+----------------+---------+-----------+------------------------------------------+
| ID | Region | Service Name | Service Type | Enabled | Interface | URL |
+----------------------------------+-----------+--------------+----------------+---------+-----------+------------------------------------------+
| 01089a905fec48ef957e77281c9aec92 | RegionOne | nova_legacy | compute_legacy | True | public | http://10.0.99.85:8774/v2/$(project_id)s |
| 1238174be563469fa1fd34fec099bcf8 | RegionOne | cinder | volume | True | admin | http://10.0.99.85:8776/v1/$(project_id)s |
| 22303c8d5b0340cda534f0fd33fd2ac3 | None | nova | image | True | public | http://10.0.99.85:500/v1/$(project_id)s |
-------------------------------------------------------------------------------------------------------------------------------------------------
> go to http://localhost/dashboard/admin/info/
horizon error
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/templatetags/context_selection.py", line 100, in <lambda>
AttributeError: 'NoneType' object has no attribute 'lower'
2016-05-11 16:59:02.554680 key=lambda x: x.lower()),
** Affects: horizon
Importance: Undecided
Status: New
** Tags: low-hanging-fruit
** Tags added: low-hanging-fruit
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1581667
Title:
AttributeError - 'NoneType' object has no attribute 'lower'
Status in OpenStack Dashboard (Horizon):
New
Bug description:
When create a service with region = "None", occurs Error list services
without horizon.
how to test
> create a service any with the region = None
Example:
+----------------------------------+-----------+--------------+----------------+---------+-----------+------------------------------------------+
| ID | Region | Service Name | Service Type | Enabled | Interface | URL |
+----------------------------------+-----------+--------------+----------------+---------+-----------+------------------------------------------+
| 01089a905fec48ef957e77281c9aec92 | RegionOne | nova_legacy | compute_legacy | True | public | http://10.0.99.85:8774/v2/$(project_id)s |
| 1238174be563469fa1fd34fec099bcf8 | RegionOne | cinder | volume | True | admin | http://10.0.99.85:8776/v1/$(project_id)s |
| 22303c8d5b0340cda534f0fd33fd2ac3 | None | nova | image | True | public | http://10.0.99.85:500/v1/$(project_id)s |
-------------------------------------------------------------------------------------------------------------------------------------------------
> go to http://localhost/dashboard/admin/info/
horizon error
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/templatetags/context_selection.py", line 100, in <lambda>
AttributeError: 'NoneType' object has no attribute 'lower'
2016-05-11 16:59:02.554680 key=lambda x: x.lower()),
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1581667/+subscriptions
Follow ups