Vagrant up hangs bringing up an Ubuntu VM on a Windows VM

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Vagrant up hangs bringing up an Ubuntu VM on a Windows VM

Kirk Franks
I successfully deployed VirtualBox and Vagrant on my Mac host, and used it to deploy an Ubuntu development server for my work. But now I want to deploy this Ubuntu VM into one of our labs, on a Windows VM running on an ESXi host. I successfully installed VirtualBox and Vagrant on this Windows VM, but when I tried to launch the Ubuntu VM with the 'vagrant up' command, the command just hangs. As far as I can tell, the process is not dead, as it responds to a CNTL-C. It's not spitting up any warning or error messages. I've let it run overnight, thinking it was just really slow brining up the machine initially, but that didn't complete.

I suppose my first question is, can I deploy a VirtualBox VM on a (VMware vCenter managed) VM? Then, if this configuration is allowed, why do you suppose the 'vagrant up' command hangs? I'm quite familiar with VMWare's products, but not so much with VirtualBox. I've been working for this particular cloud computing system manufacturer for about seven years now as a principal QA engineer and I'm fairly adept at this.

Any clues or suggestions would be greatly appreciated. I'm tempted to try deploying to a CentOS VM, thinking this may be a Windows issue.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/304263bf-553d-4a84-a852-7d1905df405c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Vagrant up hangs bringing up an Ubuntu VM on a Windows VM

Antony Stone
On Friday 13 October 2017 at 17:03:01, Kirk Franks wrote:

> I successfully deployed VirtualBox and Vagrant on my Mac host, and used it
> to deploy an Ubuntu development server for my work. But now I want to
> deploy this Ubuntu VM into one of our labs, on a Windows VM running on an
> ESXi host. I successfully installed VirtualBox and Vagrant on this Windows
> VM, but when I tried to launch the Ubuntu VM with the 'vagrant up' command,
> the command just hangs.

> I suppose my first question is, can I deploy a VirtualBox VM on a (VMware
> vCenter managed) VM?

Do any of the following help?

https://communities.vmware.com/thread/537299

https://egustafson.github.io/post/esxi-nested-virtualbox/

https://communities.vmware.com/docs/DOC-8970


Antony.

--
"Linux is going to be part of the future. It's going to be like Unix was."

 - Peter Moore, Asia-Pacific general manager, Microsoft

                                                   Please reply to the list;
                                                         please *don't* CC me.
Reply | Threaded
Open this post in threaded view
|

Re: Vagrant up hangs bringing up an Ubuntu VM on a Windows VM

Alvaro Miranda Aguilera
In reply to this post by Kirk Franks
Hello

If the Windows Machine VM does have all the required flags for nested virtualization, then should be transparent.

The question I have is.

why you want install virtualbox and vagrant on a windows VM to creatre a linux vm ?

why not create a linux VM on ESXi and use it ?


On Fri, Oct 13, 2017 at 10:03 AM, Kirk Franks <[hidden email]> wrote:
I successfully deployed VirtualBox and Vagrant on my Mac host, and used it to deploy an Ubuntu development server for my work. But now I want to deploy this Ubuntu VM into one of our labs, on a Windows VM running on an ESXi host. I successfully installed VirtualBox and Vagrant on this Windows VM, but when I tried to launch the Ubuntu VM with the 'vagrant up' command, the command just hangs. As far as I can tell, the process is not dead, as it responds to a CNTL-C. It's not spitting up any warning or error messages. I've let it run overnight, thinking it was just really slow brining up the machine initially, but that didn't complete.

I suppose my first question is, can I deploy a VirtualBox VM on a (VMware vCenter managed) VM? Then, if this configuration is allowed, why do you suppose the 'vagrant up' command hangs? I'm quite familiar with VMWare's products, but not so much with VirtualBox. I've been working for this particular cloud computing system manufacturer for about seven years now as a principal QA engineer and I'm fairly adept at this.

Any clues or suggestions would be greatly appreciated. I'm tempted to try deploying to a CentOS VM, thinking this may be a Windows issue.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/304263bf-553d-4a84-a852-7d1905df405c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ew5iRvpfGzt0AUk8dw2ezbs8pi4RqkEBc5N3w%2Bq%3DERRGg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Vagrant up hangs bringing up an Ubuntu VM on a Windows VM

Kirk Franks
Alvaro,

Thanks for the reply. I'll check the flags and correct them.

The main reason for this particular architecture is the containered Linux machine supports a test automation framework that is built and supported by our configuration management group at work. The design somehow depends on VirtualBox and Vagrant for capabilities they couldn't get from ESXi and vCenter. It might be some linkage with their continuous build&test automation, they use the same design for automated testing in that. We use it to make our tests compatible with their deployment and our test development. You know how that goes...

Thanks,
-Kirk

On Friday, October 13, 2017 at 2:20:18 PM UTC-5, Alvaro Miranda Aguilera wrote:
Hello

If the Windows Machine VM does have all the required flags for nested virtualization, then should be transparent.

The question I have is.

why you want install virtualbox and vagrant on a windows VM to creatre a linux vm ?

why not create a linux VM on ESXi and use it ?


On Fri, Oct 13, 2017 at 10:03 AM, Kirk Franks <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="i50uRh0ZAgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">kir...@...> wrote:
I successfully deployed VirtualBox and Vagrant on my Mac host, and used it to deploy an Ubuntu development server for my work. But now I want to deploy this Ubuntu VM into one of our labs, on a Windows VM running on an ESXi host. I successfully installed VirtualBox and Vagrant on this Windows VM, but when I tried to launch the Ubuntu VM with the 'vagrant up' command, the command just hangs. As far as I can tell, the process is not dead, as it responds to a CNTL-C. It's not spitting up any warning or error messages. I've let it run overnight, thinking it was just really slow brining up the machine initially, but that didn't complete.

I suppose my first question is, can I deploy a VirtualBox VM on a (VMware vCenter managed) VM? Then, if this configuration is allowed, why do you suppose the 'vagrant up' command hangs? I'm quite familiar with VMWare's products, but not so much with VirtualBox. I've been working for this particular cloud computing system manufacturer for about seven years now as a principal QA engineer and I'm fairly adept at this.

Any clues or suggestions would be greatly appreciated. I'm tempted to try deploying to a CentOS VM, thinking this may be a Windows issue.

--
This mailing list is governed under the HashiCorp Community Guidelines - <a href="https://www.hashicorp.com/community-guidelines.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.hashicorp.com%2Fcommunity-guidelines.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGHa_CaKfZaJiwbkUndUQbVGlQCDw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.hashicorp.com%2Fcommunity-guidelines.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGHa_CaKfZaJiwbkUndUQbVGlQCDw&#39;;return true;">https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: <a href="https://github.com/mitchellh/vagrant/issues" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fmitchellh%2Fvagrant%2Fissues\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHxcA5DuHlQlPInMi_k1Pz4pMNqNw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fmitchellh%2Fvagrant%2Fissues\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHxcA5DuHlQlPInMi_k1Pz4pMNqNw&#39;;return true;">https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="i50uRh0ZAgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">vagrant-up+...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/vagrant-up/304263bf-553d-4a84-a852-7d1905df405c%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/vagrant-up/304263bf-553d-4a84-a852-7d1905df405c%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/vagrant-up/304263bf-553d-4a84-a852-7d1905df405c%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/vagrant-up/304263bf-553d-4a84-a852-7d1905df405c%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.



--
Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/0a198107-584d-46ce-a778-1799dc5d58d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Vagrant up hangs bringing up an Ubuntu VM on a Windows VM

Kirk Franks
In reply to this post by Antony Stone
Anthony,

Thanks for the pointers, I'm looking into them now. I think the first one will be fruitful.

Regards,
-Kirk

On Friday, October 13, 2017 at 10:10:25 AM UTC-5, Antony Stone wrote:
On Friday 13 October 2017 at 17:03:01, Kirk Franks wrote:

> I successfully deployed VirtualBox and Vagrant on my Mac host, and used it
> to deploy an Ubuntu development server for my work. But now I want to
> deploy this Ubuntu VM into one of our labs, on a Windows VM running on an
> ESXi host. I successfully installed VirtualBox and Vagrant on this Windows
> VM, but when I tried to launch the Ubuntu VM with the 'vagrant up' command,
> the command just hangs.

> I suppose my first question is, can I deploy a VirtualBox VM on a (VMware
> vCenter managed) VM?

Do any of the following help?

<a href="https://communities.vmware.com/thread/537299" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fcommunities.vmware.com%2Fthread%2F537299\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH1x0i5FYgRdlgxHBqfsE88XElWcw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fcommunities.vmware.com%2Fthread%2F537299\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH1x0i5FYgRdlgxHBqfsE88XElWcw&#39;;return true;">https://communities.vmware.com/thread/537299

<a href="https://egustafson.github.io/post/esxi-nested-virtualbox/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fegustafson.github.io%2Fpost%2Fesxi-nested-virtualbox%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEq7Y0cvvPizrqb5xSC7oYBjGHYDg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fegustafson.github.io%2Fpost%2Fesxi-nested-virtualbox%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEq7Y0cvvPizrqb5xSC7oYBjGHYDg&#39;;return true;">https://egustafson.github.io/post/esxi-nested-virtualbox/

<a href="https://communities.vmware.com/docs/DOC-8970" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fcommunities.vmware.com%2Fdocs%2FDOC-8970\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE-r6tcXiDunOTdb01In0a7T68t7Q&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fcommunities.vmware.com%2Fdocs%2FDOC-8970\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE-r6tcXiDunOTdb01In0a7T68t7Q&#39;;return true;">https://communities.vmware.com/docs/DOC-8970


Antony.

--
"Linux is going to be part of the future. It's going to be like Unix was."

 - Peter Moore, Asia-Pacific general manager, Microsoft

                                                   Please reply to the list;
                                                         please *don't* CC me.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/f57ddff6-f977-436d-a138-f8a2afd47bb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.