Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not seeing migrate on sharedfile image templates #97

Open
SuperGlobal opened this issue Sep 23, 2016 · 0 comments
Open

Not seeing migrate on sharedfile image templates #97

SuperGlobal opened this issue Sep 23, 2016 · 0 comments

Comments

@SuperGlobal
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant