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 appear to support windows yet #29

Closed
mcascone opened this issue Aug 11, 2017 · 5 comments
Closed

Driver doesn't appear to support windows yet #29

mcascone opened this issue Aug 11, 2017 · 5 comments

Comments

@mcascone
Copy link
Contributor

Versions:

  • Version of knife-vrealize: knife-vrealize (2.1.0)
  • Version of chef:
    Chef Development Kit Version: 1.2.22
    chef-client version: 12.18.31

Platform Details

  • Version of vRA: version 7.0.1 (build 3621464)
  • Version of vRO:
  • Version of ESXi:

Scenario:

spin a windows server in vRa with knife.

Steps to Reproduce:

called knife vra server create without specifying --ssh-password, as I am attempting to spin a windows catalog item.

Expected Result:

I don't get asked for an ssh password.

Actual Result:

I am required to provide --ssh-password even though I am spinning a windows machine.

~ [master ≡]>  knife vra server create 'my-windows-catalog-id'  --winrm-password 'mypassword'
ERROR: You must provide either Identity file or SSH Password.
@mcascone
Copy link
Contributor Author

once i got it to make the request, it appears knife is assuming the image is linux, which kinda explains why it wants an ssh-password:

Waiting For vRA to collect the IPWaiting For vRA to collect the IPIP Addresses: 10.12.235.96
Status: ACTIVE
Owner IDs: mcascone@consilio.com
Owner Names: Max Cascone
Waiting For vRA to collect the IPBootstrapping the server by using bootstrap_protocol: ssh and image_os_type: linux

@mcascone
Copy link
Contributor Author

I tried passing --image-os-type windows, same result.

@mcascone mcascone changed the title Had to supply an ssh-password for a Windows spin Driver doesn't appear to support windows yet Aug 11, 2017
@mcascone
Copy link
Contributor Author

Ok. Never mind. I finally set --bootstrap-protocol, and it's functioning as expected. My misunderstanding!

@jjasghar
Copy link

@mcascone any chance you have a suggestion to make the docs better? If this wasn't clear it would be greate to update the README :)

@mcascone
Copy link
Contributor Author

mcascone commented Aug 12, 2017 via email

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

2 participants