RFE: Transition default VIM to API and DB operation

Bug #1592957 reported by Sridhar Ramaswamy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
Fix Released
Medium
sajuptpm

Bug Description

Currently the default VIM is a tacker.conf configuration operation. In many cases, creating the default vim is the first operation a Tacker deployer would do. However, the default vim name (or uuid) need to be added to tacker.conf and a tacker service restart is required. This user experience is uneven and not optimal.

Also, if/when an operator decides to change the default-vim, again a tacker service restart is required with need operator downtime.

Instead, the solution should be move to have this handled using a tacker VIM api to set the default-vim in the tacker-db.

Something like this,

tacker vim-register --name VIM0 --default-vim --description 'Default OpenStack site' --config-file default_vim.yaml

Tags: rfe
Sripriya (sseetha)
Changed in tacker:
assignee: nobody → Sripriya (sseetha)
Revision history for this message
sajuptpm (sajuptpm) wrote :

Hi Sripriya,
are you working on this issue ?
Please assign to me if you haven't started it.

sajuptpm (sajuptpm)
Changed in tacker:
assignee: Sripriya (sseetha) → sajuptpm (sajuptpm)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tacker (master)

Fix proposed to branch: master
Review: https://review.openstack.org/342127

Changed in tacker:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/343091

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/343097

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tacker-horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/343157

Changed in tacker:
assignee: sajuptpm (sajuptpm) → Sripriya (sseetha)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tacker (master)

Reviewed: https://review.openstack.org/342127
Committed: https://git.openstack.org/cgit/openstack/tacker/commit/?id=573479ca6fca0e9f43a91464b68259dd754bb68a
Submitter: Jenkins
Branch: master

commit 573479ca6fca0e9f43a91464b68259dd754bb68a
Author: Saju Madhavan <email address hidden>
Date: Sun Jul 24 01:40:40 2016 +0530

    Transition default VIM to API and DB operation

    Set the default-vim in the tacker-db and provide
    API to manage it.

    Change-Id: I7cdc40005122680098b2049cd95e74a8fea145eb
    Partial-Bug: 1592957

Revision history for this message
Sripriya (sseetha) wrote :

Saju, are you planning to taking care of the Horizon changes as well for this bug?

Now that server and client is merged, Horizon changes need to be done to complete this bug implementation. Else this would error out if user tries to register VIM via Horizon.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tacker (master)

Change abandoned by sajuptpm (<email address hidden>) on branch: master
Review: https://review.openstack.org/343091
Reason: this patch already merged as part of https://review.openstack.org/#/c/342127/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tacker-horizon (master)

Reviewed: https://review.openstack.org/343157
Committed: https://git.openstack.org/cgit/openstack/tacker-horizon/commit/?id=2b2de7d96006228f0ab7f36142378a0d36bb8469
Submitter: Jenkins
Branch: master

commit 2b2de7d96006228f0ab7f36142378a0d36bb8469
Author: Saju Madhavan <email address hidden>
Date: Sat Jul 16 17:06:51 2016 +0530

    Added option to set default vim

    Added a checkbox in Register VIM form to
    set default vim.

    Change-Id: Ie8009397df86ee466fd887f0b97230974c4fd237
    Partial-Bug: 1592957

Changed in tacker:
assignee: Sripriya (sseetha) → sajuptpm (sajuptpm)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tacker (master)

Reviewed: https://review.openstack.org/343097
Committed: https://git.openstack.org/cgit/openstack/tacker/commit/?id=5f6303ca635e7e39be280402d3bd86f11310ac91
Submitter: Jenkins
Branch: master

commit 5f6303ca635e7e39be280402d3bd86f11310ac91
Author: Saju Madhavan <email address hidden>
Date: Sat Jul 16 03:20:58 2016 +0530

    doc change default vim registration via CLI

    Update doc to include new way of default vim registration
    via CLI.

    Change-Id: If8c126257d56ca94e64ee533901540bd4bf39ce6
    Partial-Bug: 1592957

Changed in tacker:
milestone: none → newton-2
status: In Progress → 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.