The charm should allow to create VMs with unique names

Bug #1829782 reported by Andrey Grebennikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Nova Cloud Controller Charm
Fix Released
Wishlist
Sahid Orentino

Bug Description

nova-cloud controller should be able to set up "osapi_compute_unique_server_name_scope" parameter in nova.conf.
If not set up there is a possibility for different users to create VMs with the same names but different IPs, and it breaks DNS functionality when integrated with Designate.

Tags: sts
Changed in charm-nova-cloud-controller:
status: New → Triaged
importance: Undecided → Wishlist
Changed in charm-nova-cloud-controller:
assignee: nobody → Sahid Orentino (sahid-ferdjaoui)
Revision history for this message
James Page (james-page) wrote :

What's the assumption on designate usage here? that instance names need to be unique across projects? or globally for the cloud? I'm assuming that a DNS zone is designate is likely to only be associated with a single project but I may be wrong.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-cloud-controller (master)

Fix proposed to branch: master
Review: https://review.opendev.org/660736

Changed in charm-nova-cloud-controller:
status: Triaged → In Progress
Revision history for this message
Andrey Grebennikov (agrebennikov) wrote :

James,
The options allows it to be unique globally or per-project, being a multi-value option.
We may just set the default to False, with an ability to be set to "global" or "project".

Felipe Reyes (freyes)
tags: added: sts
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-cloud-controller (master)

Reviewed: https://review.opendev.org/660736
Committed: https://git.openstack.org/cgit/openstack/charm-nova-cloud-controller/commit/?id=40282e035627a03404579f34e33714e2e35e9aeb
Submitter: Zuul
Branch: master

commit 40282e035627a03404579f34e33714e2e35e9aeb
Author: Sahid Orentino Ferdjaoui <email address hidden>
Date: Wed May 22 16:23:06 2019 +0200

    config: allow to create VMs with unique names

    This commit introduces option osapi_compute_unique_server_name_scope
    which allows operators to ensure VMs are created with unique names per
    project or cloud.

    Change-Id: Idacb60bb31cd60cb1deaec7cb3ec061f0c04da24
    Closes-Bug: #1829782
    Signed-off-by: Sahid Orentino Ferdjaoui <email address hidden>

Changed in charm-nova-cloud-controller:
status: In Progress → Fix Committed
James Page (james-page)
Changed in charm-nova-cloud-controller:
milestone: none → 20.02
Liam Young (gnuoy)
Changed in charm-nova-cloud-controller:
status: Fix Committed → Fix Released
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.