Skip to content

Not seeing migrate on sharedfile image templates #97

Open
@SuperGlobal

Description

Hello All,

My nodes are on Ganeti 2.12.4 while I'm using the latest release of Ganeti Web Manager (0.11.1).

From the Ganeti Web Manager interface, I created an image on a shared filesystem with the sharedfile disk template and noticed I had no options to perform any sort of migration. I can see the migration option for the DRBD instances that I've created but none for sharedfile.

As I was digging through the GWM code, I found some sanity checks for the live migration functionality. I noticed that there were two tests, one for DRBD and one for a "shared" template which to my knowledge doesn't exist. Here is a link to that line of code:
https://github.com/osuosl/ganeti_webmgr/blob/master/ganeti_webmgr/ganeti_web/templatetags/webmgr_tags.py#L140

I believe that the "shared" template referred to in the code is actually supposed to be the sharedfile template. If I change that line to reference sharedfile template, I gain the migration ability in GWM and don't receive any errors when using it.

Here is the commit of my fork to show exactly the change I'm speaking of:
SuperGlobal@6e08a8f

I do although believe there are other pieces that need to be changed to reference the sharedfile template instead of referencing the non-existent "shared" template.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions