Skip to content

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

Description

@davidnurdin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions