SM:Mainline:4.0.0.0-3011: Reimage is not starting with errors on dhcp

Bug #1641850 reported by sundarkh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Fix Committed
Critical
Nitish Krishna Kaveri
Trunk
Fix Committed
Critical
Nitish Krishna Kaveri

Bug Description

SM:Mainline:4.0.0.0-3011: Reimage is not starting with errors on dhcp

1) Install ServerManager Mainline build 4.0.0.0-3011 kilo on a machine
2) Upload the Servers/Cluster using json files. Servers get added succesfully
3) Add the ubuntu image, it gets added succesfully
4) Issue reimage, it fails with

{
    "return_code": 0,
    "return_data": null,
    "return_msg": "The server with id nodec57 cannot be reimaged. There is no cobbler DHCP configuration for the ip address of this server : 10.204.221.61"
}

5) Though cobbler is running, it is not able to bind the servers

root@nodej5:~# cobbler status
ip |target |start |state
10.204.221.58 |system:nodec35 |Mon Nov 14 16:41:48 2016|finished
10.204.221.59 |system:nodec33 |Mon Nov 14 16:41:04 2016|finished
10.204.221.60 |system:nodea4 |Mon Nov 14 16:44:55 2016|finished
10.204.221.61 |system:nodec57 |Mon Nov 14 16:40:26 2016|finished
root@nodej5:~# cobbler report | grep nodec33
root@nodej5:~# cobbler report | grep nodec57
root@nodej5:~# service cobblerd status
cobblerd is running.
root@nodej5:~#

Jeba Paulaiyan (jebap)
tags: added: blocker sanity
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/26116
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/26117
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/26116
Committed: http://github.org/Juniper/contrail-server-manager/commit/3889b740bd1c51a2256f8e1bd5f3ec7d540df3c6
Submitter: Zuul
Branch: R3.2

commit 3889b740bd1c51a2256f8e1bd5f3ec7d540df3c6
Author: nitishkrishna <email address hidden>
Date: Tue Nov 15 16:49:13 2016 -0800

Closes-Bug: #1641850 - Do DHCP Subnet validation only if feature is used

If feature is not used, the manually edited dhcp template file is taken as correct.
Also, the dhcp list for validations was not being correctly populated.
Once the user starts using the dhcp management feature we have to continue using that and cannot go back to manual file without deleting all hosts and subnets and then pasting the manually editing files and restarting.

Change-Id: I6173bc06478174959846e9a822da1588d5a0a3dc
Related-Bug: #1634275 - DHCP Feature

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/26117
Committed: http://github.org/Juniper/contrail-server-manager/commit/343557e90b97c22bb0422037c0bf45ec762876c2
Submitter: Zuul
Branch: master

commit 343557e90b97c22bb0422037c0bf45ec762876c2
Author: nitishkrishna <email address hidden>
Date: Tue Nov 15 16:49:13 2016 -0800

Closes-Bug: #1641850 - Do DHCP Subnet validation only if feature is used

If feature is not used, the manually edited dhcp template file is taken as correct.
Also, the dhcp list for validations was not being correctly populated.
Once the user starts using the dhcp management feature we have to continue using that and cannot go back to manual file without deleting all hosts and subnets and then pasting the manually editing files and restarting.

Change-Id: I6173bc06478174959846e9a822da1588d5a0a3dc
Related-Bug: #1634275 - DHCP Feature

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.