CFM:ZTP: devices loosing connectivity if the ZTP VM goes down

Bug #1793811 reported by Soumil Kulkarni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Won't Fix
Critical
Rishabh Tulsian
Trunk
In Progress
Critical
Rishabh Tulsian

Bug Description

Contrail_version: ocata-5.0-250
Contrail Command : 5.0-250

I had configured some device using the ztp procedure. If the ZTP vm that acts as a dhcp server as well goes down and the ip lease on the devices ends or the devices are rebooted for some reason, they loose connectivity.

     We need to come up with a procedure to handle this situation. Either we assign the IPs to the devices statically or we have an HA architecture for ZTP.

tags: added: fabric ztp
Revision history for this message
Rishabh Tulsian (rtulsian) wrote :

For 5.0.2 the design assumed that the ZTP installation will stay around and wont be destroyed.

We can take it up in 5.1.0

Revision history for this message
Tong Jiang (tjiang) wrote :

Statically assigning IP in the bootstrap config seems to be a good solution

Jeba Paulaiyan (jebap)
tags: added: releasenote
Revision history for this message
Jeba Paulaiyan (jebap) wrote :

Notes:

The DHCP leases issued by the ZTP VM will be destroyed if the ZTP VM is brought down. To get away from this situation, it is recommended to have static IP config in DHCP bootstrap configuration in the ZTP VM.

Jeba Paulaiyan (jebap)
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/48164
Submitter: Rishabh Tulsian (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/48164
Submitter: supriya sridhar (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/48164
Submitter: Rishabh Tulsian (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/48164
Submitter: supriya sridhar (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/48164
Submitter: Rishabh Tulsian (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/48164
Submitter: supriya sridhar (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/48164
Submitter: Rishabh Tulsian (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/48164
Committed: http://github.com/Juniper/contrail-controller/commit/f37c74d15aea29e2a03106b8be3b5e0793793742
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit f37c74d15aea29e2a03106b8be3b5e0793793742
Author: jnpr-rtulsian <email address hidden>
Date: Wed Dec 12 11:29:30 2018 -0800

Job Manager and ZTP refactoring

- Moved Job Manager to DM
- DM manages ZTP
- Using DNSMASQ as DHCP and TFTP server
- Using Rabbit MQ for Job Manager and ZTP communication
- Implemented ZTP config and TFTP update in DM
- Added Kombu AMQP client
- Added APIs to api-server for AMQP

Change-Id: I79d106f2cdd6b196f398059bc22e51347047641e
Depends-On: I324f694a54fb9fe3cd3a7fc87f7cfce93ba6cd85
Depends-On: I97b9332491ffd70d508cbab453c449706d449c24
Implements: https://blueprints.launchpad.net/juniperopenstack/+spec/dm-pod
Closes-Bug: #1780580
Closes-Bug: #1793811
Closes-Bug: #1794887
Closes-Bug: #1796762

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

Review in progress for https://review.opencontrail.org/48877
Submitter: Arun RS (<email address hidden>)

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.