qvo ports are not removed correctly when an instance is deleted immediately after creation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Won't Fix
|
Low
|
Unassigned | ||
9.x |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Detailed bug description:
When a VM is deleted immediately after creation there might be situations when qvo ports will remain marked with tag "4095". Please take a look at the example:
root@controller:~# ssh -q compute "ovs-vsctl show|grep -B1 4095" root@controller:~# nova boot --image TestVM --flavor m1.micro --nic net-id=<skipped> --availability-zone nova:compute mirantis-test; nova delete mirantis-test
+------
| Property | Value |
+------
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | building |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| adminPass | TTLtU9Wrrbhp |
| config_drive | |
| created | 2017-08-
| flavor | m1.micro (<skipped>) |
| hostId | |
| id | 20d468f5-
| image | TestVM (<skipped>) |
| key_name | - |
| metadata | {} |
| name | mirantis-test |
| os-extended-
| progress | 0 |
| security_groups | default |
| status | BUILD |
| tenant_id | <skipped>|
| updated | 2017-08-
| user_id | <skipped>|
+------
Request to delete server mirantis-test has been accepted.
root@lxf824s001:~# ssh -q compute "ovs-vsctl show|grep -B1 4095" Port "qvod12f5eb3-f4"
tag: 4095
root@controller:~#
Steps to reproduce:
Expected results:
There should not be any qvo ports with tag 4095
Reproducibility:
Not reproducible on the environments based on virtual machines. HW nodes only.
Workaround:
To make a pause between creating and deleting a VM, which sometimes cannot be possible because of using heat stack scenarios
Description of the environment:
- MOS 8.0 MU4
- Operation system: Ubuntu 14.04
- Network model: Neutron
tags: | added: customer-found |
Changed in mos: | |
importance: | Undecided → High |
Changed in mos: | |
milestone: | none → 8.0-updates |
Anatolii, the command you provided doesn't wait until a VM is spawned. Could you please try the same with the --poll option?