Can't delete discovered servers from Server Manager

Bug #1420015 reported by azaringh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Low
Chinmay Zanpure
OpenContrail
Fix Committed
Low
Chinmay Zanpure

Bug Description

In Server manager 2.0, a number of servers were auto-discovered on the network (discovered servers have "null" id). I am unable to delete these in the Web GUI. When I delete the server, I get :

Delete Server (null)
Error: server not found
Are you sure you want to delete server ?

I am able to delete the server from the CLI by referencing its MAC address or IP address.

Server Manager Host OS: Ubuntu 12.04.3
Contrail Host OS: Ubuntu 12.04.3 + kernel upgrade
OpenStack distribution: Icehouse

Changed in opencontrail:
assignee: nobody → Abhay Joshi (abhayj)
Changed in juniperopenstack:
importance: Undecided → Medium
Changed in opencontrail:
importance: Undecided → Medium
Changed in juniperopenstack:
assignee: nobody → Abhay Joshi (abhayj)
tags: added: server-manager
Abhay Joshi (abhayj)
Changed in juniperopenstack:
assignee: Abhay Joshi (abhayj) → Abhishek Singla (singla)
importance: Medium → Low
Changed in opencontrail:
importance: Medium → Low
assignee: Abhay Joshi (abhayj) → Abhishek Singla (singla)
tags: added: ui
Revision history for this message
Bharat Kumar (pbharat) wrote :

Able to delete from CLI, using IP/mac.

Changed in opencontrail:
assignee: Abhishek Singla (singla) → Chinmay Zanpure (czanpure)
Changed in juniperopenstack:
assignee: Abhishek Singla (singla) → Chinmay Zanpure (czanpure)
Changed in juniperopenstack:
status: New → In Progress
Changed in opencontrail:
status: New → In Progress
Changed in juniperopenstack:
status: In Progress → Confirmed
Changed in opencontrail:
status: In Progress → Confirmed
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

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

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

Reviewed: https://review.opencontrail.org/14377
Committed: http://github.org/Juniper/contrail-web-server-manager/commit/82e3466411bf9b535fa643400bc3eb37abacc75a
Submitter: Zuul
Branch: master

commit 82e3466411bf9b535fa643400bc3eb37abacc75a
Author: Chinmay Zanpure <email address hidden>
Date: Mon Oct 12 17:45:12 2015 -0700

Closes-Bug: #1505454, Closes-Bug: #1420015

1. Added the new params related to SM in the SM webUI. Also added necessary labels and constants.
2. Added ability to delete a discovered server using the MAC address instead of server Id.
To achieve this we check for the existance of a server id when deleting. If not we delete using
the mac address we get from the server config.

Change-Id: I322dbbb8ba99040f4bbbe56ed5d527ccce2dcbd6

Changed in opencontrail:
status: Confirmed → 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.