[5.0 Vcenter] Instances can launch on ESXI host in case contrail-vmware node was removed for it.

Bug #1630143 reported by Olesia Tsvigun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel Contrail plugin
Invalid
High
Vitalii Kovalchuk

Bug Description

Fuel 9.0
fuel-plugin-contrail 5.0 build#699

Steps to reproduce
   1. Install fuel-plugin-contrail with vmware.
   2. Create a new environment with following parameters:
       * Compute: vCenter
       * Networking: Neutron with tunneling segmentation
       * Storage: default
       * Additional services: default
    3. Run script that prepares vmware part for deployment (creates few Distributed Switches and spawns virtual machine on each ESXi node)
    4. Configure Contrail plugin settings:
       * Datastore name
       * Datacenter name
       * Uplink for DVS external
       * Uplink for DVS private
       * DVS external
       * DVS internal
       * DVS private
    5. Add nodes with following roles:
       * Controller
       * Compute-VMWare
       * 2 Contrail-vmware
       * Compute
       * Contrail-config + contrail-control + contrail-db + contrail-analytics
    6. Configure interfaces on nodes.
    7. Configure network settings.
    8. Configure VMware vCenter settings on VMware tab.
    9. Deploy the cluster.
    10. Remove one contrail-vmware node.
    11. deploy changes.
    12. Launch few instances.

Actual Result
Instances were launched on ESXI host for which contrail-vmware node was deleted from Fuel.

Expected Result
Instances should be not launched on ESXI host for which contrail-vmware node was deleted from Fuel.

Tags: contrail
Changed in fuel-plugin-contrail:
importance: Undecided → High
assignee: nobody → Fuel Plugin Contrail (fuel-plugin-contrail)
milestone: none → 5.0.0
tags: added: contrail
description: updated
Changed in fuel-plugin-contrail:
assignee: Fuel Plugin Contrail (fuel-plugin-contrail) → Vitalii Kovalchuk (vkovalchuk)
status: New → In Progress
Revision history for this message
Vitalii Kovalchuk (vkovalchuk) wrote :

Find that contrail-vcenter-plugin service wasn't restarted when we update ESXiToVRouterIp.map
this issue already fixed https://review.openstack.org/#/c/382922/
But still it spawns vm's on ESXi host where we remove ContrailVM instance.

Revision history for this message
Illia Polliul (ipolliul) wrote :

All ESXi hosts in vCenter cluster should have ContrailVM (contrail-vmware) running.

If ESXi host needs to be removed from vCenter cluster corresponding VM can be removed and ESXi also need to be removed from the cluster.

Changed in fuel-plugin-contrail:
status: In Progress → Invalid
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.