Skip to content

IP alias variables not removed from context.sh when deleting IP alias #3484

@atodorov-storpool

Description

@atodorov-storpool

Description
When removing an alias IP the re-contextualization is triggered but context.sh in the CDROM is not updated - the context variables for the removed alias are still there and the contextualization test do not find a difference and the ip is not removed.

To Reproduce

  1. add some alias IPs
  2. remove an alias IP
  3. check the configured IPs in the VM

Expected behavior
The contextualization must step in and remove the alias IP from the VM

Details

  • Affected Component: [Core]
  • Hypervisor: [KVM]
  • Version: [5.8.3]

Additional context
It looks like that context.sh is generated before the VM metadata is updated. Because deleting a second IP alias will trigger the contextualization in the VM. And context.sh will have missing the variables for the previously removed alias ip...

Progress Status

  • Branch created
  • Code committed to development branch
  • Testing - QA
  • Documentation
  • Release notes - resolved issues, compatibility, known issues
  • Code committed to upstream release/hotfix branches
  • Documentation committed to upstream release/hotfix branches

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions