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

iSCSI frontend support #81

Merged
merged 2 commits into from Jun 7, 2018
Merged

iSCSI frontend support #81

merged 2 commits into from Jun 7, 2018

Conversation

yasker
Copy link
Member

@yasker yasker commented Jun 7, 2018

No description provided.

…ngine image

Also remove the unused function getRandomOwnerID()
@yasker
Copy link
Member Author

yasker commented Jun 7, 2018

@LLParse Can you give this a try to see if it works for you?

@LLParse
Copy link
Contributor

LLParse commented Jun 7, 2018

@yasker I think the port number is missing. I realize it is probably static for now, but can we add it to be safe? I got something like this:
iqn.2014-09.com.rancher:centos (10.42.0.12)

The fully constructed iSCSI target endpoint will look like this on my end:
iscsi://10.42.0.12:3260/iqn.2014-09.com.rancher%3Acentos/1

@yasker
Copy link
Member Author

yasker commented Jun 7, 2018

@LLParse That looks about right. Found this format from QEmu doc:

URL syntax:
iscsi://[<username>[%<password>]@]<host>[:<port>]/<target-iqn-name>/<lun>

Do you have to had the : in unicode for the <target-iqn-name>? That may looks weird in API.

@LLParse
Copy link
Contributor

LLParse commented Jun 7, 2018

I think (I) do. It shouldn't come from the API that way.

@yasker
Copy link
Member Author

yasker commented Jun 7, 2018

@LLParse I've updated the format of the endpoint.

@LLParse
Copy link
Contributor

LLParse commented Jun 7, 2018

@yasker LGTM

`blockdev` will be the default.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants