[Ubuntu-2285]:"Horizon not working due to same uuid for two subnets "

Bug #1352723 reported by Ruchi Priya
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Confirmed
Medium
Jeba Paulaiyan

Bug Description

Horizon showing different names for the sub nets on summary and detail page.

Steps:
Under network vn-2
1) Create a subnet ruchi (10.10.10.0/24)
2)added another subnet sub-1 (20.20.20.0/24)
3) added subnet sub-2 ( 10.10.10.0/24 --diff IPAM )

Now i see on sumarry page as subnets displayed as sub1 and ruchi ,ruchi
and in detail page as sub1 ,sub-2,sub-2

Please find the screenshot attached.

setup:nodea5.englab.juniper.net.

Revision history for this message
Ruchi Priya (ruchip) wrote :
Rahul (rahuls)
Changed in juniperopenstack:
assignee: nobody → Rahul (rahuls)
Revision history for this message
Rahul (rahuls) wrote :
Download full text (6.5 KiB)

See two subnets with same UUID:

7aaefc8a-37b7-4217-9483-24bcd83d0a8b

ValueError: Multiple matches were returned for that id: [<Subnet: {u'name': u'sub-1', u'enable_dhcp': True, u'network_id': u'5f6a6bcc-e68e-4b6d-b83a-44cf0fd5f6c5', u'tenant_id': u'0bb9908c61714470b799a4d5795fc344', u'dns_nameservers': [], u'allocation_pools': [{u'start': u'10.10.10.2', u'end': u'10.10.10.254'}], u'gateway_ip': u'10.10.10.1', u'ip_version': 4, u'host_routes': [], u'cidr': u'10.10.10.0/24', u'id': u'7aaefc8a-37b7-4217-9483-24bcd83d0a8b', 'ipver_str': 'IPv4'}>, <Subnet: {u'name': u'sub-4', u'enable_dhcp': True, u'network_id': u'5f6a6bcc-e68e-4b6d-b83a-44cf0fd5f6c5', u'tenant_id': u'0bb9908c61714470b799a4d5795fc344', u'dns_nameservers': [], u'allocation_pools': [{u'start': u'10.10.10.2', u'end': u'10.10.10.254'}], u'gateway_ip': u'10.10.10.1', u'ip_version': 4, u'host_routes': [], u'cidr': u'10.10.10.0/24', u'id': u'7aaefc8a-37b7-4217-9483-24bcd83d0a8b', 'ipver_str': 'IPv4'}>].

root@nodea5:~# neutron net-show 5f6a6bcc-e68e-4b6d-b83a-44cf0fd5f6c5
+-------------------------+-----------------------------------------------------------------------------------------------------------------+
| Field | Value |
+-------------------------+-----------------------------------------------------------------------------------------------------------------+
| admin_state_up | True |
| contrail:fq_name | default-domain |
| | admin |
| | vn-3 |
| contrail:instance_count | 0 |
| contrail:subnet_ipam | {"subnet_cidr": "10.10.10.0/24", "ipam_fq_name": ["default-domain", "admin", "test"]} |
| | {"subnet_cidr": "20.20.20.0/24", "ipam_fq_name": ["default-domain", "admin", "test"]} |
| | {"subnet_cidr": "30.30.30.0/24", "ipam_fq_name": ["default-domain", "admin", "test"]} |
| | {"subnet_cidr": "10.10.10.0/24", "ipam_fq_name": ["default-domain", "default-project", "default-network-ipam"]} |
| id | 5f6a6bcc-e68e-4b6d-b83a-44cf0fd5f6c5 |
| name | vn-3 |
| router:external | False |
| shared ...

Read more...

Changed in juniperopenstack:
milestone: none → r1.10-beta
assignee: Rahul (rahuls) → Sachin Bansal (sbansal)
importance: Medium → High
summary: - [Ubuntu-2285]:"Horizon showing different subnet names in network summary
- page and network overview page "
+ [Ubuntu-2285]:"Horizon not working due to same uuid for two subnets "
tags: added: config neutronapi openstack
Revision history for this message
Ashish Ranjan (aranjan-n) wrote :

This is negative test. Making the priority as low

information type: Proprietary → Public
Changed in juniperopenstack:
status: New → Confirmed
importance: High → Low
Revision history for this message
Sachin Bansal (sbansal) wrote :

We should disallow creating two subnets with same/overlapping cidr on a network regardless of ipam.

Changed in juniperopenstack:
assignee: Sachin Bansal (sbansal) → Atul Moghe (moghea)
Changed in juniperopenstack:
milestone: r1.10-beta → none
importance: Low → Medium
Revision history for this message
Ruchi Priya (ruchip) wrote :

Hitting the issue again on R1.1 # 30 .

Rahul (rahuls)
tags: removed: horizon
Revision history for this message
Atul Moghe (moghea) wrote :

very old issue, reported on 1.1 twig, can we confirm with latest or 4.0 or newer throttle we still want bug fixes

Changed in juniperopenstack:
assignee: Atul Moghe (moghea) → Jeba Paulaiyan (jebap)
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.