Comment 2 for bug 1711297

Revision history for this message
Akihiro Motoki (amotoki) wrote :

required=True (default value) is used for icmp_type and icmp_code and it seems this prevents from creating a rule. Perhaps the form tries to show some error message to icmp_type and icmp_code, but they are not visible and it causes a console message "An invalid form control with name='icmp_type' is not focusable.".

I don't know what is the right solution on this, but in this case we are lucky as icmp_code and icmp_type are not required fields in neutron security group API. They are required in nova security group API but we dropped the support for nova-network security group support in Pike. We can avoid the bug by specifying required=False to icmp_type/code.