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

Driver doesn't work on Pool (on slave) and with a local SR #18

Open
davidnurdin opened this issue Jan 14, 2020 · 0 comments
Open

Driver doesn't work on Pool (on slave) and with a local SR #18

davidnurdin opened this issue Jan 14, 2020 · 0 comments

Comments

@davidnurdin
Copy link

The driver fail to create the VDI's on Slave on their local SR

Why ? Because it doen't manage the 302 redirect when it made the PUT in the HTTP request.

We submit a patch here.
xenserver.zip

What we Do

  1. Clone importVdi by importVdiURL , add 2 parameters (urlStrNew string,taskNew *xsclient.Task)
  2. Override urlStr by urlStrNew when it is defined
  3. Override task by taskNew when it is defined
  4. Call importVdiURL if we had a 302 redirect with new parameters
  5. Call importVdiUrl in importVdi with default parameters.

xenserver_ok

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