Discussion:
[salt-users] Using Salt-Cloud with VMWare ESXi to deploy virtual machine stuck at "wait for ip" function
Cedric Thesnieres
2015-04-23 15:15:22 UTC
Permalink
Hello,

I'm stuck with a little issue and as peoples on the IRC channel don't know
the answer or aren't responding at all i've decided to post here my issue.

I've started working with salt a couple weeks ago and my boss wanted to use
salt with VMWare. So here's my config :

/etc/salt/cloud.providers.d/vmware.conf

*VCenter01:*
* provider: vsphere*
* user: myuser*
* password: mypassword*
* url: https://vcenterIP/sdk*

/etc/salt/cloud.profiles.d/vmware.conf

*Minion-Debian:*
* provider: VCenter01*
* image: Mod-Debian*
* resourcepool: resgroup-877*
* datastore: datastore-849*
* power_on: True*

So far when using : salt-cloud -p Minion-Debian Salt-Cloud-Minion -l
debug, the Virtual Machine is actually cloning from the "Mod-Debian"
Template i created before but then it stay stuck at :

*[DEBUG ] VM Salt-Cloud-Minion is created, waiting for it to boot*
*[DEBUG ] Attempting function <function wait_for_ip at 0x5f5f668>*

My VM is booting actually but then nothing happens.

I don't know if this is the right place to ask for this but as anyone
managed to make it works, and if so what am i doing wrong or missing ?

And i'm not English so sorry if i've made mistakes, i'll try to be carefull
but i don't promise anything ;p

I'm running Salt version 2014.7.5 (Helium) and ESXi 5.5 and trying to
deploy a Debian 7.8 Virtual Machine.

Feel free to ask for additional informations.
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Cedric Thesnieres
2015-04-24 09:49:10 UTC
Permalink
A quick Update : Installing VMWare Tools on the template seems to work.
*salt-cloud: error: There was a profile error: A wrong password has been
issued while establishing ssh session*
it tried to connect using "None" as username :

seems similar to https://github.com/saltstack/salt/issues/17061

It seems ssh_username and ssh_password are still not working.
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Cedric Thesnieres
2015-04-24 12:26:53 UTC
Permalink
template_user and template_password are working fine so i guess official
documentation is not ok.
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Colton Myers
2015-04-28 17:00:17 UTC
Permalink
So did you get this working? The documentation was wrong? Would you mind
filing an issue on Github so we can get it fixed?

--
Colton Myers
Platform Engineer, SaltStack
@basepi on Twitter/Github/IRC
Post by Cedric Thesnieres
template_user and template_password are working fine so i guess official
documentation is not ok.
--
You received this message because you are subscribed to the Google Groups
"Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Cedric Thesnieres
2015-04-29 07:16:48 UTC
Permalink
Well, it's somehow related to https://github.com/saltstack/salt/issues/17061 so
it seems it's still a pending issue. For now i can create/destroy a VM
using template and that's as far as i can go. If i'm refering to
http://docs.saltstack.com/en/latest/topics/cloud/vmware.html, clonefrom is
not working, device is not taken into account ( i mean i can fill anything
here my new VM will keep the exact same settings as it's template)
So i'm confused on a few things : Is most of the features still in dev and
are to be released at a later version ? Or am i doing something wrong ?

I don't have any github account (my boos is using bitbucket) but if it's
necessary i could create one if you need.
Post by Colton Myers
So did you get this working? The documentation was wrong? Would you mind
filing an issue on Github so we can get it fixed?
--
Colton Myers
Platform Engineer, SaltStack
@basepi on Twitter/Github/IRC
Post by Cedric Thesnieres
template_user and template_password are working fine so i guess official
documentation is not ok.
--
You received this message because you are subscribed to the Google Groups
"Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Colton Myers
2015-05-04 22:48:35 UTC
Permalink
At the top of that doc file you linked, you'll see a "New in version
Beryllium." This means that the features in that document are unreleased,
and will be in the feature release codenamed Beryllium, which is after
2015.2.0, which is codenamed Lithium. The features are as-yet unreleased.

--
Colton Myers
Platform Engineer, SaltStack
@basepi on Twitter/Github/IRC
Post by Cedric Thesnieres
Well, it's somehow related to
https://github.com/saltstack/salt/issues/17061 so it seems it's still a
pending issue. For now i can create/destroy a VM using template and that's
as far as i can go. If i'm refering to
http://docs.saltstack.com/en/latest/topics/cloud/vmware.html, clonefrom
is not working, device is not taken into account ( i mean i can fill
anything here my new VM will keep the exact same settings as it's template)
So i'm confused on a few things : Is most of the features still in dev and
are to be released at a later version ? Or am i doing something wrong ?
I don't have any github account (my boos is using bitbucket) but if it's
necessary i could create one if you need.
Post by Colton Myers
So did you get this working? The documentation was wrong? Would you mind
filing an issue on Github so we can get it fixed?
--
Colton Myers
Platform Engineer, SaltStack
@basepi on Twitter/Github/IRC
Post by Cedric Thesnieres
template_user and template_password are working fine so i guess official
documentation is not ok.
--
You received this message because you are subscribed to the Google
Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Cedric Thesnieres
2015-05-05 07:51:43 UTC
Permalink
Ok. Thanks for all the answers, i guess we'll have to wait :p keep the good
work !
Post by Colton Myers
At the top of that doc file you linked, you'll see a "New in version
Beryllium." This means that the features in that document are unreleased,
and will be in the feature release codenamed Beryllium, which is after
2015.2.0, which is codenamed Lithium. The features are as-yet unreleased.
--
Colton Myers
Platform Engineer, SaltStack
@basepi on Twitter/Github/IRC
Post by Cedric Thesnieres
Well, it's somehow related to
https://github.com/saltstack/salt/issues/17061 so it seems it's still a
pending issue. For now i can create/destroy a VM using template and that's
as far as i can go. If i'm refering to
http://docs.saltstack.com/en/latest/topics/cloud/vmware.html, clonefrom
is not working, device is not taken into account ( i mean i can fill
anything here my new VM will keep the exact same settings as it's template)
So i'm confused on a few things : Is most of the features still in dev
and are to be released at a later version ? Or am i doing something wrong ?
I don't have any github account (my boos is using bitbucket) but if it's
necessary i could create one if you need.
Post by Colton Myers
So did you get this working? The documentation was wrong? Would you mind
filing an issue on Github so we can get it fixed?
--
Colton Myers
Platform Engineer, SaltStack
@basepi on Twitter/Github/IRC
Post by Cedric Thesnieres
template_user and template_password are working fine so i guess
official documentation is not ok.
--
You received this message because you are subscribed to the Google
Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...