Tagged Questions

Vagrant is a tool to create and configure lightweight, reproducible, and portable development environments. By default, it uses Oracle's VirtualBox for these virtual environments, but support for other virtualization systems is available. Most questions about Vagrant should be asked on Super User or ...

learn more… | top users | synonyms

0
votes
0answers
19 views

nginx 403 Forbidden on CentOS (Vagrant)

What I have checked so far: Logs - they are empty, booted a new VM. Permissions: $ namei -l /var/www/awesome/ f: /var/www/awesome/ dr-xr-xr-x root root / drwxr-xr-x root ...
0
votes
1answer
23 views

Apache + mod_ssl (on Vagrant) HTTP connection works fine, HTTPS connection times out

Introduction Hi guys, this is quite a strange one that I've been battling with for a few hours now. I have a CentOS Vagrant box with a network adapter attached to my NAT (as opposed to host only). I ...
0
votes
2answers
34 views

Nginx http prefixes in upstream server

I'm trying to use nginx to proxy pass to two docker containers. Here is my upstream conf file: upstream api_servers { server http://192.168.49.4:49155; server http://192.168.49.4:49156; } This ...
-1
votes
1answer
44 views

Warning: Connection timeout. Trying to ssh into a vagrant box

I used https://puphpet.com/ to develop a machine, its VagrantFile is http://codepad.org/lSV7EDrC Now after doing vagrant up the machine builds fine, but on vagrant ssh I get this: default: SSH ...
-2
votes
1answer
60 views

How to make sudo -u not require password [closed]

I'm using ansible with vagrant and ansible is trying to sudo as postgres user to run some postgres commands. Ansible running as vagrant user seems to run something like sudo -u postgres psql This ...
0
votes
1answer
13 views

how to configuring vagrant to allow some specific IP to be available on a windows machine?

I have Vagrant installed on my windows machine. I am using putty to ssh to the ubuntu machine. Lets say that I need some specific service (let's say a graphite for stats) which should be reached with ...
0
votes
2answers
39 views

SSH tunnel (port forwarding) slow down a lot my mysql queries

I'm currently testing some configurations with vagrant (virtual box) to connect 2 servers (VM currently) together throw an SSH tunnel. The goal being to securely connect my web app to the database. ...
0
votes
1answer
31 views

Vagrant private IP not found after network change

I've got a simple Vagrant Ubuntu virtual machine setup using Virtual Box, running on a Mac. I'm using private networking, configured with a static private IP like so: Vagrant.configure("2") do ...
0
votes
1answer
46 views

Share Vagrant docker to host

I am setting up a Vagrant box with a development environment. I have some web apps running, some more services, a database and a docker inside Vagrant. Most services are used internally and I do port ...
0
votes
2answers
47 views

Unable to ssh to a vagrant started ec2 ubuntu instance

After I ran vagrant up --provider=aws, I could see an ec2 instance being created and became up and running. However it will invariably stuck at this point ==> default: Waiting for SSH to become ...
0
votes
1answer
39 views

Chef freezes on vagrant centos box

I have a centos-6.5 box. Strangely it freezes when I try to request its provision by chef. Here's a sample of what goes when I try to vagrant provision --debug it [2014-10-10T20:33:33+00:00] INFO: ...
0
votes
0answers
16 views

Network error when running multiple Virtual Boxes

I have a Ubuntu 14.04 physical desktop that's running some Virtual Box instances (also Ubuntu) through Vagrant. The Virtual Box instances are configured to use static ip and with "natdnshostresolver1" ...
0
votes
1answer
38 views

pgpool run and only log one line

I am using pgpool and when I run: sudo pgpool -f pgpool.conf -F pcp.conf -n It just log one line and keep waitting.... : 2014-10-09 13:27:42 LOG: pid 28626: wd_chk_setuid: ifup[/sbin/ifconfig] ...
0
votes
2answers
42 views

ssh into virtual machine (or direct VM console access)

I am trying to launch multiple VMs and need to have a direct console access (whether through ssh etc.) So, far I can launch multiple VMs using virsh/KVM tools. How I do it is that I just have one ...
0
votes
1answer
47 views

Yum php-yaml install issues

We had an issue with an ansible playbook using vagrant - where formerly php-yaml was installing fine. Then, we were getting issues with our PHP repo: [vagrant@localhost ~]$ sudo yum install php-yaml ...
0
votes
0answers
23 views

puppet xdebug.ini not working

I install xdebug puppet Here is folder structure /myproject Vagrantfile puppet\ xdebug\ files\ xdebug.ini manifests\ init.pp This is ...
0
votes
2answers
81 views

How can I create a vagrant virtualbox VM with a storage size of more than 8GB?

I've been trying all day to create a vagrant centos box with more than 8GB. It would be nice to know how to make my existing virtual disk bigger, but I would definitely settle for creating a ...
0
votes
0answers
25 views

installing drupal drush thru vagrant puppet

this is part of puppet manifest class composer { file { '/tmp/composer.sh': source => 'puppet:///modules/composer/composer.sh', ensure => present, ...
0
votes
0answers
18 views

Dovecot Replication(between CentOS vms) not working

I have the following configuration: 2 Virtual Machines(set up using Vagrant) with CentOS 7( master_1 - 127.0.0.1:2222 and master 2 - 127.0.0.1:2200). Each has installed postfix + dovecot 2.2.10. My ...
-1
votes
1answer
20 views

how to ssh into a vagrant box when working with multi-vagrant environments?

I have two vagrant boxes (wordpress VVV and laravel homestead) running at the moment at the same time. I always ssh to the machine with putty 127.0.1.1:2222 if I run vagrant homestead first I can only ...
0
votes
0answers
71 views

Remote automated provisioning to a XenServer Hypervisor

I'm currently working on a project where I use Vagrant with Ansible provisioning to create local environments in VirtualBox. I'm currently working with a University and we have a XenServer Hypervisor ...
0
votes
1answer
101 views

Issues installing Grunt in Vagrant environment

I am attempting to install node.js, npm and Grunt.js in an Ubuntu Trusty 64bit Vagrant environment and running into some issues. Here is my puppet manifest: init.pp -- class grunt::install { ...
0
votes
1answer
30 views

puppet stage syntax error

I have a shell script to install nodejs module packages which should be execute after all packages are installed. I defined a stage 'last' after the Stage[main] here is my code stage { 'last': } ...
0
votes
2answers
29 views

failed to copy a shell script from host to a vagrant box

Host is Windows 8 I prepared a shell script which execute secure_mysql_installation This is the folders structure c:\myproject\ Vagranfile puppet\ files\ ...
0
votes
3answers
115 views

Exim says DNS lookup succeded, but also says “host lookup did not complete”

I'm trying to send automatic notification emails to users of my website. Those emails are sent to the users by a custom daemon that sends them via exim 4. Exim's role in this is simply to relay the ...
2
votes
1answer
130 views

Have a Vagrant VM destroy itself or power off on completion of a long-running task

I've been using Vagrant with Ansible to perform certain ETL tasks. This has provided some flexibility and transparency: jobs can be easily be moved around and the YAML playbook provides some level of ...
0
votes
2answers
54 views

How can I ssh into a vagrant virtualbox VM from an external machine?

I'm trying to set up a server on my desktop with vagrant, but while I can ssh (via PuTTY) into the VM at localhost:2222, I can't ssh into it via my local or public IP addresses - even though I have ...
0
votes
0answers
110 views

Deploy packer images on bare metal server?

How can I match my dev and production bare metal box? The hosting provider does not allow or have a process to install custom images and only provides a selection from all the latest popular ...
0
votes
0answers
36 views

Replicate server environment and directory structure using Vagrant

I am a developer by trade but am not used to configuring VM's and servers, so I apologize if these questions seem rather novice. I have recently started trying to use Vagrant for local development of ...
0
votes
2answers
54 views

Keepalived loses VIP upon power cycle of master

I have two servers running Keepalived 1.2.7 with hostnames left and right. Here are the configs: # keepalived.conf on left vrrp_instance VI_1 { state MASTER interface eth1 ...
1
vote
2answers
92 views

Restarting mysql utilizing the puppetlabs/mysql module?

I have two folders -- one is 'public_modules' and the other is 'private_modules'. When I start a new Vagrant machine, the 'public_modules' folder is populated with modules as described in my ...
0
votes
1answer
604 views

Vagrant not ready for SSH error on VirtualBox and Laravel Homestead

Vagrant Version: 1.6.3 VirtualBox: 4.3.14 Ubuntu 14.04 LTS 64 Bit Hey Guys, I have been on this for a pretty good while now and cannot figure this out. I have my public and private keys setup and ...
-1
votes
1answer
72 views

Vagrant Determining IP information for eth2… failed [closed]

Im running a vagrant file to bring up a CentOS Virtual Box on OSX, but when running vagrant up it always fails at default: Configuring and enabling network interfaces... with the error: The following ...
0
votes
3answers
46 views

Ways to deliver server solution set to customers

I'm looking for ways to deliver our server solution set to customer. So that customer can easily install and experience our solution. Our server solution set includes tomcat+webapp, memcached, db ...
2
votes
1answer
167 views

vagrant plugin install error

I'm trying to install a vagrant plugin $ vagrant plugin install vagrant-aws which exits with this error: Make sure that `gem install nokogiri -v '1.6.3.1'` succeeds before bundling. When I try ...
0
votes
1answer
247 views

vagrant port forwarding does not work without any error

I'm trying to set up my project into virtual machine so I can work with it from my host machine. I've set up port forwarding in vagrantfile and when I run 'vagrant up' everything is ok and there is no ...
0
votes
0answers
63 views

Importing an ARM qemu machine using libvirt

Context: I'm trying to virtualise a raspbian disk image using qemu so that I can easily use it with vagrant/puppet. The steps I've figured out so far are create a VM using qemu import this VM into ...
1
vote
1answer
190 views

Upstart can't stop foreverjs services on shutdown?

Scenario We use a Vagrant-based virtual machine running Ubuntu 12.04 LTS for development of three Node.JS servers that are started using foreverjs. We run the services under the vagrant user and ...
4
votes
1answer
898 views

Weird network problems with Vagrant, VirtualBox, Ansible and Ubuntu Server box

We are using Vagrant and Ansible to provision VirtualBox machine. It was working great, but recently we've started to encounter some weird network problems with tasks that require access to the ...
-1
votes
2answers
69 views

hiera.yaml is not loading on vagrant provision

Whenever I provision vagrant all the data is nil. When I ssh in and specify /etc/puppet/hiera.yaml as the config option i can get the values. How can I get vagrant to use the right hiera.config file? ...
1
vote
1answer
169 views

Nginx unmet dependencies over Vagrant / Puppet

I have no such issue on 64bit Ubuntu Precise, but once I tried to start 32bit machine, it failed on this command: # /usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold --force-yes install ...
0
votes
1answer
36 views

How to change the default timeout configuration file for composer

I've been searching all over the internet and I can't seem to find any help as to where my composer's configuration file is saved to. Basically what I'm trying to do is change the ...
2
votes
1answer
192 views

Is it possible to use Docker or Vagrant to provision a physical machine

Currently at my work we use buildroot to provision physical machines with Debian linux. Buildroot compiles a rootfs.cpio.gz file which the machines to be provisioned pick up using PXE, runs a script ...
0
votes
0answers
34 views

Access VM from network

For my PHP-development I have VagrantBox running CentOS. This box however is only accesible from my own computer because it only has a NAT-interface and a Host-Only-network. But when I want to test it ...
1
vote
1answer
256 views

vagrant up fails on windows with box_add: undefined

I've spent a few hours now without achieving any outcome trying to vagrant up a box of mine. It works perfectly on my mac and two of my coworkers mac but when trying to vagrant up that box on my ...
0
votes
1answer
28 views

Using vagrant to isolate my whole environment [closed]

I want to use Vagrant to isolate my whole development environment from my system (OS X 10.9.3), and not just for a specific software project. Is Vagrant a right tool for this task, or there are better ...
2
votes
1answer
602 views

Vagrant's puppet provisioner not reading hiera.yaml backend correctly?

I have a puppet problem that is specific to the way that Vagrant uses the manifests/modules/hiera-config with its puppet provisioner, since a "puppet apply site.pp" works fine in the resultant vagrant ...
0
votes
2answers
1k views

Booting Vagrant Box error/timeout after “aborted state”

One of my Vagrant boxes ended up with an "Aborted" state, apparently I ran out of memory or something, and yeah. Now the box is not booting... properly. Here is what I got: $ vagrant up cloud2 ...
1
vote
1answer
391 views

Vagrant synced_folder syntax for nfs options (trying to disable nfs_export)

I'm trying to disable the nfs_export option in my Vagrantfile, so that Vagrant will not touch my /etc/exports. The Vagrant documentation says: NFS synced folders have a set of options that can be ...
3
votes
1answer
186 views

Pre-populate vagrant synced folder contents

I'm currently building an rather complicated server stack (a ruby on rails app) that I want developers to be able to work on without having to install everything themselves. Therefore I use Vagrant to ...