[5.0 Vcenter] Cluster of vcenter in not updated in the nova-compute.conf, after adding/removing cluster.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel Contrail plugin |
Won't Fix
|
High
|
Vitalii Kovalchuk |
Bug Description
Fuel 9.0
fuel-plugin-
Steps to reproduce
1. Connect to a Fuel with preinstalled Contrail plugin.
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
* ComputeVMWare
* Contrail-vmware
* Contrail-config + contrail-control + contrail-db + contrail-analytics
6. Configure interfaces on nodes.
7. Configure network settings.
8. Configure VMware vCenter Settings:
Add and assign 1 vCenter cluster 'Cluster1' to compute-vmware.
9. Deploy the cluster.
10. Add Cluster2 via script ./spawner.py --env_id 1 --spawn --reduce-vm-params --cluster-list Cluster1,Cluster2
11. Add ne contrail-vmware node.
12. Deploy changes.
13. Remove Cluster1 via script ./spawner.py --env_id 1 --spawn --reduce-vm-params --cluster-list Cluster2
14. Deploy changes.
15. Check nova-compute.conf on compute-vmware node.
Actual result
'cluster_name' is Cluster1
Expected Result
'cluster_name' should be Cluster2
root@node-
[DEFAULT]
compute_
log_file=
host=vcenter-vm1
reserved_
force_config_
[vmware]
cache_prefix=$host
=Cluster1
vcenter_
host_ip=
host_username=root
host_password=
insecure=True
api_retry_count=5
maximum_objects=100
task_poll_
datastore_regex=.*
use_linked_
[libvirt]
virt_type=vmwareapi
Changed in fuel-plugin-contrail: | |
importance: | Undecided → High |
assignee: | nobody → Vitalii Kovalchuk (vkovalchuk) |
milestone: | none → 5.0.0 |
Changed in fuel-plugin-contrail: | |
status: | New → In Progress |
According this bug https:/ /bugs.launchpad .net/juniperope nstack/ +bug/1626957 /review. openstack. org/#/c/ 313032/
we have limitation for contrail version: 3.1.0.0-25 (mitaka) vmware driver disallows single nova-compute to manage multiple vcenter clusters, respectively we don't need possibility to extend clusters list.
This information will be covered in documentation
https:/