Make fuel-devops independent from a single database

Registered by Dennis Dmitriev

Libvirt network bridges that are created by fuel-devops on the host got their names according to the ID in the fuel-devops database.
If different fuel-devops instances will use different databases, then there will be a name collisions because of the same ID numbers in the different databases.

For interact with libvirt network bridges, fuel-devops uses UUID, not bridge names.

- To avoid bridge name collisions, fuel-devops should generate an unique bridge names and check if this name is already used by the libvirt on the host.

This also will help to use different versions of fuel-devops framework that have different database schemes, or use multiple instances of sqlite database instead of single postgresql service.

Blueprint information

Status:
Not started
Approver:
Aleksandra Fedorova
Priority:
Undefined
Drafter:
Dennis Dmitriev
Direction:
Needs approval
Assignee:
Dennis Dmitriev
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
milestone icon 9.0

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/fuel-devops-multiple-databases,n,z

Addressed by: https://review.openstack.org/282732
    Allow create DB-independed libvirt networks

Addressed by: https://review.openstack.org/282734
    Allow create DB-independed libvirt networks

Addressed by: https://review.openstack.org/310378
    Allow create DB-independed libvirt networks

Gerrit topic: https://review.openstack.org/#q,topic:bp/fuel-devops-multipath-disk-devices,n,z

Addressed by: https://review.openstack.org/307918
    Add blocking traffic in network or interface

Addressed by: https://review.openstack.org/327082
    Do not use database ids in bridge and interface names

Addressed by: https://review.openstack.org/332918
    Take offline node device names into account in get_allocated_device_names

Addressed by: https://review.openstack.org/333805
    Take offline node device names into account in get_allocated_device_names

Addressed by: https://review.openstack.org/336057
    Use libvirt generated bridge and interafece names

Addressed by: https://review.openstack.org/336064
    Use libvirt generated bridge and interafece names

Addressed by: https://review.openstack.org/339811
    Set network bridge names manually

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.