[Mainline-Build 2683]:UI- wrong vxlan id shown in VN details when global config vxlan Id mode is changed

Bug #1527239 reported by alok kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Undecided
Rahul

Bug Description

First global config->vxlan id mode was automatic.
few VN were created with this mode.

after that I changed vxlan id mode to user-configured.

1. the old VN's vxlan id is shown as "Unconfigured" in VN details in UI. however in agent introspect vxlan id is still configured with old vxlan id(automatically allotted earlier)

Now create new VN with user configured vxlan id and revert back mode to automatic in global config.

2. In this case, VN details shows wrong vxlan id but when I go in edit VN page, it still shows correct user configured vxlan id.

snapshot for 2nd issue is attached.

setup Info-
env.roledefs = {
    'all': [host1,host2,host3,host4],
    'cfgm': [host1],
    'openstack':[host2],
    'control': [host1,host2],
    'compute': [host3,host4],
    'collector': [host1,host2],
    'webui': [host1],
    'database': [host1],
    'build': [host_build],
}

env.hostnames = {
    'all': ['nodec64', 'nodeg18', 'nodec62', 'nodec12']
}

Tags: ui
Revision history for this message
alok kumar (kalok) wrote :
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/16677
Submitter: Rahul (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/16677
Committed: http://github.org/Juniper/contrail-web-controller/commit/712f9b4b75ed194ba4cfc843dfa02a759a262f35
Submitter: Zuul
Branch: master

commit 712f9b4b75ed194ba4cfc843dfa02a759a262f35
Author: Rahul Sharma <email address hidden>
Date: Fri Jan 29 20:05:02 2016 +0530

Fix validations, don't show vxlan in form when global mode is automatic.
Fix vCenter edit handlling
For sanity add hyphen in expansion (whenever empty data)
Closes-Bug: #1527239

Change-Id: I3f3179bd607b787379d8c731443886d5b1274716

alok kumar (kalok)
information type: Proprietary → Public
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.