yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #02578
[Bug 1165095] Re: Exception when editing (some) Quantum security rules
** Changed in: horizon
Status: Fix Committed => Fix Released
--
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/1165095
Title:
Exception when editing (some) Quantum security rules
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
Reported on IRC by gmi while following this guide:
http://blog.aaronorosen.com/building-a-multi-tier-application-with-
openstack/
After running these commands:
$ quantum security-group-create web
$ quantum security-group-create database
$ quantum security-group-create ssh
$ quantum security-group-rule-create --direction ingress --protocol TCP --port-range-min 80 --port-range-max 80 web
$ quantum security-group-rule-create --direction ingress --protocol TCP --port-range-min 3306 --port-range-max 3306 --remote-group-id web database
$ quantum security-group-rule-create --direction ingress --protocol TCP --port-range-min 22 --port-range-max 22 --remote-group-id ssh database
$ quantum security-group-rule-create --direction ingress --protocol TCP --port-range-min 22 --port-range-max 22 --remote-group-id ssh web
An exception is thrown when editing the rules for groups web and ssh,
but not when editing database.
[Sun Mar 03 09:15:58 2013] [error] File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/access_and_security/security_groups/tables.py", line 97, in get_source
[Sun Mar 03 09:15:58 2013] [error] return rule.ip_range['cidr'] + ' (CIDR)'
[Sun Mar 03 09:15:58 2013] [error] TemplateSyntaxError: unsupported operand type(s) for +: 'NoneType' and 'str'
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1165095/+subscriptions