New subnet create or subnet update on host routes and DNS servers through Horizon is not reflected in Contrail UI VN edit until page is refreshed

Bug #1354314 reported by Rahul
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Won't Fix
High
Balamurugan Gopal
R1.1
Won't Fix
High
Balamurugan Gopal
Trunk
Won't Fix
High
Balamurugan Gopal

Bug Description

If I create a VN through Contrail UI and subsequently add subnets to it or update newer host-routes / dns-servers. Then the updates are shown fine in neutron / horizon.

But if the same VN is updated in UI without refreshing the VN page, then none of the newer elements are shown in UI.

Subsequent edit leads to loss of information.

If user navigates and comes back to this page, then things are fine.

Sen on build 9

Tags: ui
Revision history for this message
Rahul (rahuls) wrote :
Download full text (6.9 KiB)

Response from webui server
========================
{
virtual-network: {
virtual_network_properties: {
network_id: 7,
vxlan_network_identifier: null,
forwarding_mode: "l2",
extend_to_external_routers: null
},
is_shared: false,
fq_name: [
"default-domain",
"admin",
"rahul1"
],
uuid: "f1e188df-402c-448e-8607-c19b8a7f8fa6",
router_external: false,
parent_uuid: "2d933e19-2848-4f45-9cf0-d65ef2d9cdbb",
parent_href: "http://10.204.216.59:9100/project/2d933e19-2848-4f45-9cf0-d65ef2d9cdbb",
parent_type: "project",
id_perms: {
enable: "true",
description: null,
created: "2014-08-08T07:55:53.900727",
uuid: {
uuid_mslong: 17429362525336259000,
uuid_lslong: 9657900799707025000
},
last_modified: "2014-08-08T08:00:32.943633",
permissions: {
owner: "cloud-admin",
owner_access: 7,
other_access: 7,
group: "cloud-admin-group",
group_access: 7
}
},
network_ipam_refs: [
{
subnet: {
ipam_subnet: "5.6.2.0/24",
default_gateway: "5.6.2.254",
enable_dhcp: true,
dns_nameservers: [ ],
allocation_pools: [
{
start: "5.6.2.2",
end: "5.6.2.100"
},
{
start: "5.6.2.120",
end: "5.6.2.133"
}
],
host_routes: {
route: [
{
prefix: "7.7.7.0/24",
next_hop: "3.3.3.1",
next_hop_type: null
},
{
prefix: "32.3.2.0/24",
next_hop: "5.5.5.11",
next_hop_type: null
}
]
},
dhcp_option_list: {
dhcp_option: [
{
dhcp_option_value: "8.8.8.8",
dhcp_option_name: "6"
},
{
dhcp_option_value: "9.9.9.9",
dhcp_option_name: "6"
},
{
dhcp_option_value: "13.2.1.1",
dhcp_option_name: "6"
}
]
},
ipam: [
"default-domain",
"default-project",
"default-network-ipam"
]
}
},
{
subnet: {
ipam_subnet: "13.22.1.0/24",
default_gateway: "13.22.1.1",
enable_dhcp: true,
dns_nameservers: [ ],
allocation_pools: [ ],
host_routes: "",
dhcp_option_list: {
dhcp_option: [
{
dhcp_option_value: "84.1.1.2",
dhcp_option_name: "6"
}
]
},
ipam: [
"default-domain",
"default-project",
"default-network-ipam"
]
}
},
{
subnet: {
ipam_subnet: "44.55.6.0/24",
default_gateway: "44.55.6.1",
enable_dhcp: true,
dns_nameservers: [ ],
allocation_pools: [ ],
host_routes: "",
dhcp_option_list: {
dhcp_option: [
{
dhcp_option_value: "33.21.66.5",
dhcp_option_name: "6"
}
]
},
ipam: [
"default-domain",
"default-project",
"default-network-ipam"
]
}
}
],
name: "rahul1"
}

Response from API server:
========================
{
  "virtual-network": {
    "virtual_network_properties": {
      "network_id": 7,
      "vxlan_network_identifier": null,
      "forwarding_mode": "l2",
      "extend_to_external_routers": null
    },
    "is_shared": false,
    "fq_name": [
      "default-domain",
      "admin",
      "rahul1"
    ],
    "uuid": "f1e188df-402c-448e-8607-c19b8a7f8fa6",
    "router_external": false,
    "parent_uuid": "2d933e19-2848-4f45-9cf0-d65ef2d9cdbb",
    "parent_href": "http://nodec2:8082/project/2d933e19-2848-4f45-9cf0-d65ef2d9cdbb",
    "parent_type": "project",
    "href": "http://nodec2:8082/virtual-network/f1e188df-402c-448e-8607-c19b8a7f8fa6",
    "id_perms": {
      "enable": "true",
      "description": null,
      "created": "2014-08-08T07:55:53.900727",
      "uuid": {
        "uuid_mslong": 17429362525336259000,
        "uuid_lslong": 9657900799707025000
      },
      "last_modified": "2014-08-08T08:00:32.943633",
      "permission...

Read more...

Rahul (rahuls)
tags: added: blocker
Rahul (rahuls)
tags: removed: blocker
information type: Proprietary → Public
tags: added: releasenote
Revision history for this message
Rahul (rahuls) wrote :

Release Note:
Update Contrail UI VN page, in case user has edited the Virtual Networks using Horizon or neutron cli command.

Rahul (rahuls)
Changed in juniperopenstack:
status: New → Won't Fix
Rahul (rahuls)
tags: removed: releasenote
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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