[ui][ R2.22.x 5] Updating a SI port sets virtual_machine_interface_properties attribute to be empty

Bug #1548264 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
High
Balamurugan Gopal
R2.22.x
Won't Fix
Undecided
Unassigned

Bug Description

R2.22.1 Build 5 Ubuntu 14.04 Juno multi-node

From UI,
Create a SI between two VNs
Update the right interface of the SI port with say a static route

It is seen that virtual_machine_interface_properties attribute is updated to be empty then

Before :
========
{
    "virtual-machine-interface": {
        "display_name": "default-domain__admin__si200__1__right__3",
        "fq_name": [
            "default-domain",
            "admin",
            "default-domain__admin__si200__1__right__3"
        ],
        "href": "http://127.0.0.1:8095/virtual-machine-interface/a5204efe-a789-4a3f-9904-39e58693bd56",
        "id_perms": {
            "created": "2016-02-21T07:47:34.419421",
            "creator": null,
            "description": null,
            "enable": true,
            "last_modified": "2016-02-21T07:48:41.041466",
            "permissions": {
                "group": "KeystoneAdmin",
                "group_access": 7,
                "other_access": 7,
                "owner": "admin",
                "owner_access": 7
            },
            "user_visible": true,
            "uuid": {
                "uuid_lslong": 11026001445677940054,
                "uuid_mslong": 11898597071152302655
            }
        },
        "instance_ip_back_refs": [
            {
                "attr": null,
                "href": "http://127.0.0.1:8095/instance-ip/acdd6f3e-e667-45f8-82a0-8840ac084f1c",
                "to": [
                    "default-domain__admin__si200__1-right-a5204efe-a789-4a3f-9904-39e58693bd56"
                ],
                "uuid": "acdd6f3e-e667-45f8-82a0-8840ac084f1c"
            }
        ],
        "name": "default-domain__admin__si200__1__right__3",
        "parent_href": "http://127.0.0.1:8095/project/3913f7cd-a2eb-411c-a4c0-0349ec1075cc",
        "parent_type": "project",
        "parent_uuid": "3913f7cd-a2eb-411c-a4c0-0349ec1075cc",
        "routing_instance_refs": [
            {
                "attr": {
                    "direction": "both",
                    "dst_mac": null,
                    "mpls_label": null,
                    "protocol": null,
                    "service_chain_address": null,
                    "src_mac": null,
                    "vlan_tag": null
                },
                "href": "http://127.0.0.1:8095/routing-instance/30b17f9e-31ab-480f-8647-468277cb28a1",
                "to": [
                    "default-domain",
                    "admin",
                    "vn2",
                    "vn2"
                ],
                "uuid": "30b17f9e-31ab-480f-8647-468277cb28a1"
            }
        ],
        "security_group_refs": [
            {
                "attr": null,
                "href": "http://127.0.0.1:8095/security-group/5952c324-8930-4969-b553-4f10f19df269",
                "to": [
                    "default-domain",
                    "admin",
                    "default"
                ],
                "uuid": "5952c324-8930-4969-b553-4f10f19df269"
            }
        ],
        "uuid": "a5204efe-a789-4a3f-9904-39e58693bd56",
        "virtual_machine_interface_device_owner": "compute:None",
        "virtual_machine_interface_mac_addresses": {
            "mac_address": [
                "02:ac:dd:6f:3e:e6"
            ]
        },
        "virtual_machine_interface_properties": {
            "interface_mirror": null,
            "local_preference": null,
            "service_interface_type": "right",
            "sub_interface_vlan_tag": null
        },
        "virtual_machine_refs": [
            {
                "attr": null,
                "href": "http://127.0.0.1:8095/virtual-machine/df4f78cf-b37e-4d22-8065-dd754b3c8694",
                "to": [
                    "df4f78cf-b37e-4d22-8065-dd754b3c8694"
                ],
                "uuid": "df4f78cf-b37e-4d22-8065-dd754b3c8694"
            }
        ],
        "virtual_network_refs": [
            {
                "attr": null,
                "href": "http://127.0.0.1:8095/virtual-network/44fe0740-94d3-403e-bb37-be2992ba9085",
                "to": [
                    "default-domain",
                    "admin",
                    "vn2"
                ],
                "uuid": "44fe0740-94d3-403e-bb37-be2992ba9085"
            }
        ]
    }
}

After:
======
{
    "virtual-machine-interface": {
        "display_name": "default-domain__admin__si200__1__right__3",
        "fq_name": [
            "default-domain",
            "admin",
            "default-domain__admin__si200__1__right__3"
        ],
        "href": "http://127.0.0.1:8095/virtual-machine-interface/a5204efe-a789-4a3f-9904-39e58693bd56",
        "id_perms": {
            "created": "2016-02-21T07:47:34.419421",
            "creator": null,
            "description": null,
            "enable": true,
            "last_modified": "2016-02-21T07:50:03.008415",
            "permissions": {
                "group": "KeystoneAdmin",
                "group_access": 7,
                "other_access": 7,
                "owner": "admin",
                "owner_access": 7
            },
            "user_visible": true,
            "uuid": {
                "uuid_lslong": 11026001445677940054,
                "uuid_mslong": 11898597071152302655
            }
        },
        "instance_ip_back_refs": [
            {
                "attr": null,
                "href": "http://127.0.0.1:8095/instance-ip/acdd6f3e-e667-45f8-82a0-8840ac084f1c",
                "to": [
                    "default-domain__admin__si200__1-right-a5204efe-a789-4a3f-9904-39e58693bd56"
                ],
                "uuid": "acdd6f3e-e667-45f8-82a0-8840ac084f1c"
            }
        ],
        "interface_route_table_refs": [
            {
                "attr": null,
                "href": "http://127.0.0.1:8095/interface-route-table/a6156f10-0c63-41f5-835f-59f95724877c",
                "to": [
                    "default-domain",
                    "admin",
                    "a6156f10-0c63-41f5-835f-59f95724877c"
                ],
                "uuid": "a6156f10-0c63-41f5-835f-59f95724877c"
            }
        ],
        "name": "default-domain__admin__si200__1__right__3",
        "parent_href": "http://127.0.0.1:8095/project/3913f7cd-a2eb-411c-a4c0-0349ec1075cc",
        "parent_type": "project",
        "parent_uuid": "3913f7cd-a2eb-411c-a4c0-0349ec1075cc",
        "routing_instance_refs": [
            {
                "attr": {
                    "direction": "both",
                    "dst_mac": null,
                    "mpls_label": null,
                    "protocol": null,
                    "service_chain_address": null,
                    "src_mac": null,
                    "vlan_tag": null
                },
                "href": "http://127.0.0.1:8095/routing-instance/30b17f9e-31ab-480f-8647-468277cb28a1",
                "to": [
                    "default-domain",
                    "admin",
                    "vn2",
                    "vn2"
                ],
                "uuid": "30b17f9e-31ab-480f-8647-468277cb28a1"
            }
        ],
        "security_group_refs": [
            {
                "attr": null,
                "href": "http://127.0.0.1:8095/security-group/5952c324-8930-4969-b553-4f10f19df269",
                "to": [
                    "default-domain",
                    "admin",
                    "default"
                ],
                "uuid": "5952c324-8930-4969-b553-4f10f19df269"
            }
        ],
        "uuid": "a5204efe-a789-4a3f-9904-39e58693bd56",
        "virtual_machine_interface_allowed_address_pairs": {},
        "virtual_machine_interface_device_owner": "compute:None",
        "virtual_machine_interface_dhcp_option_list": {},
        "virtual_machine_interface_fat_flow_protocols": {},
        "virtual_machine_interface_mac_addresses": {
            "mac_address": [
                "02:ac:dd:6f:3e:e6"
            ]
        },
        "virtual_machine_interface_properties": {},
        "virtual_machine_refs": [
            {
                "attr": null,
                "href": "http://127.0.0.1:8095/virtual-machine/df4f78cf-b37e-4d22-8065-dd754b3c8694",
                "to": [
                    "df4f78cf-b37e-4d22-8065-dd754b3c8694"
                ],
                "uuid": "df4f78cf-b37e-4d22-8065-dd754b3c8694"
            }
        ],
        "virtual_network_refs": [
            {
                "attr": null,
                "href": "http://127.0.0.1:8095/virtual-network/44fe0740-94d3-403e-bb37-be2992ba9085",
                "to": [
                    "default-domain",
                    "admin",
                    "vn2"
                ],
                "uuid": "44fe0740-94d3-403e-bb37-be2992ba9085"
            }
        ]
    }
}

Tags: ui
Revision history for this message
Rahul (rahuls) wrote :

Is this seen on Mainline / 3.0 too ?

Changed in juniperopenstack:
assignee: Rahul (rahuls) → Balamurugan Gopal (gbala)
Revision history for this message
Balamurugan Gopal (gbala) wrote :

This is taken care in Mainline / R3.0.

Changed in juniperopenstack:
milestone: r2.22.1 → none
Rahul (rahuls)
Changed in juniperopenstack:
status: New → Fix Committed
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.