[3.0-2713] UI, Need a support for the special character comma in policy and security group

Bug #1546553 reported by musharani
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
High
Siva Bavanasi

Bug Description

Created one security group with the name sec1,2. It is throwing the below error while attaching this security group under one port since it is not taking the full name sec1,2 instead it takes the name sec1 before comma

Error: Unknown reference in resource update virtual_machine_interface {'uuid': '4e01cbf6-bf4d-42e1-803b-2a85554018a5', 'display_name': '4e01cbf6-bf4d-42e1-803b-2a85554018a5', 'virtual_machine_interface_bindings': {'key_value_pair': [{'value': 'nodec41', 'key': 'host_id'}, {'value': 'vrouter', 'key': 'vif_type'}, {'value': 'normal', 'key': 'vnic_type'}]}, 'fq_name': ['default-domain', 'admin', '4e01cbf6-bf4d-42e1-803b-2a85554018a5'], 'name': '4e01cbf6-bf4d-42e1-803b-2a85554018a5', 'virtual_machine_interface_dhcp_option_list': {}, 'deviceComputeShow': True, 'security_group_refs': [{'to': ['default-domain', 'admin', 'sec1']}, {'to': ['2']}], 'floating_ip_back_refs': [], 'parent_type': 'project', 'interface_route_table_refs': [], 'virtual_machine_interface_allowed_address_pairs': {}, 'virtual_network_refs': [{'to': ['default-domain', 'admin', 'net8*(#@!)'], 'uuid': '04e4a517-33a0-4f28-a837-239334e0ae39'}], 'virtual_machine_interface_fat_flow_protocols': {'fat_flow_protocol': []}, 'virtual_machine_refs': [{'to': ['424d517d-4edf-42a9-8a62-a9338a437a40'], 'uuid': '424d517d-4edf-42a9-8a62-a9338a437a40'}], 'virtual_machine_interface_device_owner': 'compute:nova', 'virtual_machine_interface_properties': {'local_preference': None, 'interface_mirror': {}}, 'ecmp_hashing_include_fields': {}, 'virtual_machine_interface_mac_addresses': {'mac_address': ['02:4e:01:cb:f6:bf']}}.

The same issue is seen for attaching policy in VN. So need a support for comma special character for both policy and security group.

Tags: ui
Revision history for this message
musharani (musharani) wrote :
Rahul (rahuls)
Changed in juniperopenstack:
assignee: Rahul (rahuls) → Balamurugan Gopal (gbala)
Rahul (rahuls)
Changed in juniperopenstack:
assignee: Balamurugan Gopal (gbala) → Siva Bavanasi (kbsiva)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/19694
Submitter: Siva Bavanasi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/19694
Committed: http://github.org/Juniper/contrail-web-controller/commit/59b927d72b2507a16aaa8649d07e53f456a22b1f
Submitter: Zuul
Branch: master

commit 59b927d72b2507a16aaa8649d07e53f456a22b1f
Author: Siva Bavanasi <email address hidden>
Date: Thu Apr 28 13:13:48 2016 +0530

Resolved Special Character issues in Policy, Security group pages

Issues detail descriptions

1)UI, Tilde symbol is not supported in Policy
2)UI, Need a support for the special character comma in policy and security
group
3)UI, Getting an error "At least one of source or destination addresses must be
'local'" while creating security group name with Tilde symbol

Handled Special characters in all config pages for Multiselect and
Dropdown controls

Closes-bug: #1546553
Closes-bug: #1546900
Closes-bug: #1546907

Change-Id: Iba7fc4ac953648a868d3c7ff889cbe624eea98cb

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.