Hi!

It looks like the Vagrantfile is setting up custom facts for host_uid and
host_gid using the values previously generated for the nfs setup, and that
is causing problems when those IDs don't exist within the VM. It's not
clear to me why those are being used as I believe the map_uid and map_gid
in the nfs setup should properly handle that. Something that might be worth
a try is grabbing the vagrant group id and vagrant user id from the VM:

For the user:
vagrant ssh -- id vagrant -u

For the group:
vagrant ssh -- id vagrant -g

And then modifying the facts in your Vagrantfile. They should be towards
the bottom and look like:

   config.vm.provision :puppet do |puppet|
    puppet.options = "--verbose"
    puppet.facter = {
      "host_uid" => config.nfs.map_uid,
      "host_gid" => config.nfs.map_gid,
      "vagrant_user" => ENV['USER'] }

Just modify the host_uid and host_gid so it looks like:

  config.vm.provision :puppet do |puppet|
    puppet.options = "--verbose"
    puppet.facter = {
      "host_uid" => VAGRANT_UID,
      "host_gid" => VAGRANT_GID,
      "vagrant_user" => ENV['USER'] }

where the VAGRANT_UID and VAGRANT_GID are the values you pulled from the VM
earlier. Please let me know if that helps.

Cheers!

On Wed, Aug 3, 2016 at 7:36 AM, Eric Bullock <[email protected]> wrote:

> OK. I ran these commands on another system and I have quite a lot of
> output. Snipped some of the relevant bits:
>
> ==> default: Info: Loading facts
> DEBUG ssh: stdout:
>
> DEBUG ssh: stderr: Could not retrieve fact='puppet_user_home',
> resolution='<anonymous>': can't find user for 502
>
>  INFO interface: info: Could not retrieve fact='puppet_user_home',
> resolution='<anonymous>': can't find user for 502
>  INFO interface: info: ==> default: Could not retrieve
> fact='puppet_user_home', resolution='<anonymous>': can't find user for 502
> ==> default: Could not retrieve fact='puppet_user_home',
> resolution='<anonymous>': can't find user for 502
> DEBUG ssh: stderr: Could not retrieve fact='puppet_user',
> resolution='<anonymous>': can't find user for 502
>
>  INFO interface: info: Could not retrieve fact='puppet_user',
> resolution='<anonymous>': can't find user for 502
>  INFO interface: info: ==> default: Could not retrieve fact='puppet_user',
> resolution='<anonymous>': can't find user for 502
> ==> default: Could not retrieve fact='puppet_user',
> resolution='<anonymous>': can't find user for 502
>
> ...and here:
>
> DEBUG ssh: Sending SSH keep-alive...
> DEBUG ssh: stdout: Notice:
> /Stage[main]/Forumone::Python/Pythonel::Virtualenv[/vagrant/env]/Exec[create_python_virtualenv_/vagrant/env]/returns:
> Error: Could not execute posix command: Invalid user: 502
>  INFO interface: info: Notice:
> /Stage[main]/Forumone::Python/Pythonel::Virtualenv[/vagrant/env]/Exec[create_python_virtualenv_/vagrant/env]/returns:
> Error: Could not execute posix command: Invalid user: 502
>  INFO interface: info: ==> default: Notice:
> /Stage[main]/Forumone::Python/Pythonel::Virtualenv[/vagrant/env]/Exec[create_python_virtualenv_/vagrant/env]/returns:
> Error: Could not execute posix command: Invalid user: 502
> ==> default: Notice:
> /Stage[main]/Forumone::Python/Pythonel::Virtualenv[/vagrant/env]/Exec[create_python_virtualenv_/vagrant/env]/returns:
> Error: Could not execute posix command: Invalid user: 502
> DEBUG ssh: stdout:
>
> DEBUG ssh: stderr: Error: /usr/local/bin/pythonel_helper
> /usr/local/bin/python35-ius/virtualenv  --system-site-packages
> /vagrant/env returned 1 instead of one of [0]
>  INFO interface: info: Error: /usr/local/bin/pythonel_helper
> /usr/local/bin/python35-ius/virtualenv  --system-site-packages
> /vagrant/env returned 1 instead of one of [0]
>  INFO interface: info: ==> default: Error: /usr/local/bin/pythonel_helper
> /usr/local/bin/python35-ius/virtualenv  --system-site-packages
> /vagrant/env returned 1 instead of one of [0]
> ==> default: Error: /usr/local/bin/pythonel_helper
> /usr/local/bin/python35-ius/virtualenv  --system-site-packages
> /vagrant/env returned 1 instead of one of [0]
> DEBUG ssh: stderr:
>
> DEBUG ssh: stderr: Error:
> /Stage[main]/Forumone::Python/Pythonel::Virtualenv[/vagrant/env]/Exec[create_python_virtualenv_/vagrant/env]/returns:
> change from notrun to 0 failed: /usr/local/bin/pythonel_helper
> /usr/local/bin/python35-ius/virtualenv  --system-site-packages
> /vagrant/env returned 1 instead of one of [0]
>  INFO interface: info: Error:
> /Stage[main]/Forumone::Python/Pythonel::Virtualenv[/vagrant/env]/Exec[create_python_virtualenv_/vagrant/env]/returns:
> change from notrun to 0 failed: /usr/local/bin/pythonel_helper
> /usr/local/bin/python35-ius/virtualenv  --system-site-packages
> /vagrant/env returned 1 instead of one of [0]
>  INFO interface: info: ==> default: Error:
> /Stage[main]/Forumone::Python/Pythonel::Virtualenv[/vagrant/env]/Exec[create_python_virtualenv_/vagrant/env]/returns:
> change from notrun to 0 failed: /usr/local/bin/pythonel_helper
> /usr/local/bin/python35-ius/virtualenv  --system-site-packages
> /vagrant/env returned 1 instead of one of [0]
> ==> default: Error:
> /Stage[main]/Forumone::Python/Pythonel::Virtualenv[/vagrant/env]/Exec[create_python_virtualenv_/vagrant/env]/returns:
> change from notrun to 0 failed: /usr/local/bin/pythonel_helper
> /usr/local/bin/python35-ius/virtualenv  --system-site-packages
> /vagrant/env returned 1 instead of one of [0]
> DEBUG ssh: stderr:
>
> The complete log file is attached. Thank you for any insight you might
> have on this!
>
> -eric-
>
> On Wed, Aug 3, 2016 at 9:56 AM, Eric Bullock <[email protected]>
> wrote:
>
>> When I run those commands I get the following output:
>>
>> webdeveloper2$ vagrant reload --no-provision 06bad22
>>
>> ==> default: Checking if box 'forumone/centos64-64' is up to date...
>>
>> ==> default: Clearing any previously set forwarded ports...
>>
>> ==> default: Clearing any previously set network interfaces...
>>
>> ==> default: Preparing network interfaces based on configuration...
>>
>>     default: Adapter 1: nat
>>
>>     default: Adapter 2: hostonly
>>
>> ==> default: Forwarding ports...
>>
>>     default: 80 (guest) => 8080 (host) (adapter 1)
>>
>>     default: 8080 (guest) => 8081 (host) (adapter 1)
>>
>>     default: 8000 (guest) => 8000 (host) (adapter 1)
>>
>>     default: 8983 (guest) => 18983 (host) (adapter 1)
>>
>>     default: 5432 (guest) => 15432 (host) (adapter 1)
>>
>>     default: 3306 (guest) => 13306 (host) (adapter 1)
>>
>>     default: 1080 (guest) => 1080 (host) (adapter 1)
>>
>>     default: 9200 (guest) => 9200 (host) (adapter 1)
>>
>>     default: 4444 (guest) => 4444 (host) (adapter 1)
>>
>>     default: 22 (guest) => 2222 (host) (adapter 1)
>>
>> ==> default: Running 'pre-boot' VM customizations...
>>
>> ==> default: Booting VM...
>>
>> ==> default: Waiting for machine to boot. This may take a few minutes...
>>
>>     default: SSH address: 127.0.0.1:2222
>>
>>     default: SSH username: vagrant
>>
>>     default: SSH auth method: private key
>>
>> ==> default: Machine booted and ready!
>>
>> ==> default: Checking for guest additions in VM...
>>
>>     default: The guest additions on this VM do not match the installed
>> version of
>>
>>     default: VirtualBox! In most cases this is fine, but in rare cases it
>> can
>>
>>     default: prevent things such as shared folders from working properly.
>> If you see
>>
>>     default: shared folder errors, please make sure the guest additions
>> within the
>>
>>     default: virtual machine match the version of VirtualBox you have
>> installed on
>>
>>     default: your host and reload your VM.
>>
>>     default:
>>
>>     default: Guest Additions Version: 4.2.10
>>
>>     default: VirtualBox Version: 5.0
>>
>> ==> default: Configuring and enabling network interfaces...
>>
>> ==> default: Exporting NFS shared folders...
>>
>> ==> default: Preparing to edit /etc/exports. Administrator privileges
>> will be required...
>>
>> Password:
>>
>> ==> default: Mounting NFS shared folders...
>>
>> ==> default: Mounting shared folders...
>>
>>     default:
>> /tmp/vagrant-puppet/manifests-846018e2aa141a5eb79a64b4015fc5f3 =>
>> /Users/webdeveloper2/Projects/peacecorps-site-2016/PeaceCorps/puppet/manifests
>>
>> ==> default: Machine not provisioned because `--no-provision` is
>> specified.
>>
>> webdeveloper2$ VAGRANT_LOG=debug vagrant provision 2>&1 | tee
>> vagrant_provision.log
>>
>>  INFO global: Vagrant version: 1.8.1
>>
>>  INFO global: Ruby version: 2.2.3
>>
>>  INFO global: RubyGems version: 2.4.5.1
>>
>>  INFO global: VAGRANT_LOG="debug"
>>
>>  INFO global:
>> VAGRANT_OLD_ENV_PG_PATH="/Applications/Postgres.app/Contents/Versions/9.4/bin"
>>
>>  INFO global:
>> VAGRANT_OLD_ENV_Apple_PubSub_Socket_Render="/private/tmp/com.apple.launchd.dQznssESaL/Render"
>>
>>  INFO global: VAGRANT_OLD_ENV_USER="webdeveloper2"
>>
>>  INFO global: VAGRANT_OLD_ENV___CF_USER_TEXT_ENCODING="0x1F6:0x0:0x0"
>>
>>  INFO global: VAGRANT_OLD_ENV_XPC_SERVICE_NAME="0"
>>
>>  INFO global: VAGRANT_OLD_ENV_SHLVL="1"
>>
>>  INFO global: VAGRANT_OLD_ENV_HOME="/Users/webdeveloper2"
>>
>>  INFO global: VAGRANT_OLD_ENV__="/usr/local/bin/vagrant"
>>
>>  INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded"
>>
>>  INFO global: VAGRANT_OLD_ENV_LOGNAME="webdeveloper2"
>>
>>  INFO global:
>> VAGRANT_OLD_ENV_TMPDIR="/var/folders/5v/9bvqnlwn4997pk8_wpdmhyt40000gp/T/"
>>
>>  INFO global: VAGRANT_OLD_ENV_PWD="/Users/webdeveloper2"
>>
>>  INFO global: VAGRANT_OLD_ENV_XPC_FLAGS="0x0"
>>
>>  INFO global:
>> VAGRANT_OLD_ENV_TERM_SESSION_ID="48DC45FA-1006-4918-85AC-7B901FF15315"
>>
>>  INFO global: VAGRANT_OLD_ENV_LANG="en_US.UTF-8"
>>
>>  INFO global: VAGRANT_INSTALLER_ENV="1"
>>
>>  INFO global: VAGRANT_OLD_ENV_TERM_PROGRAM_VERSION="343.7"
>>
>>  INFO global:
>> VAGRANT_OLD_ENV_PCKR_PATH="/usr/local/packer/packer_0.7.5_darwin_amd64"
>>
>>  INFO global: VAGRANT_INSTALLER_VERSION="2"
>>
>>  INFO global: VAGRANT_OLD_ENV_USR_PATH="/usr/local/bin:/usr/local/sbin"
>>
>>  INFO global: VAGRANT_OLD_ENV_TERM_PROGRAM="Apple_Terminal"
>>
>>  INFO global: VAGRANT_OLD_ENV_TERM="xterm-256color"
>>
>>  INFO global:
>> VAGRANT_OLD_ENV_PATH="/usr/local/bin:/usr/local/sbin:/Applications/Postgres.app/Contents/Versions/9.4/bin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/packer/packer_0.7.5_darwin_amd64"
>>
>>  INFO global:
>> VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/gems/vagrant-1.8.1/bin/vagrant"
>>
>>  INFO global: VAGRANT_OLD_ENV_VAGRANT_LOG="debug"
>>
>>  INFO global: VAGRANT_OLD_ENV_SHELL="/bin/bash"
>>
>>  INFO global: VAGRANT_OLD_ENV_OSX_PATH="/usr/bin:/usr/sbin:/bin:/sbin"
>>
>>  INFO global:
>> VAGRANT_OLD_ENV_SSH_AUTH_SOCK="/private/tmp/com.apple.launchd.uMABG9FEu1/Listeners"
>>
>>  INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1"
>>
>>  INFO global: Plugins:
>>
>>  INFO global:   - bundler = 1.10.6
>>
>>  INFO global:   - mime-types = 1.25.1
>>
>>  INFO global:   - rest-client = 1.6.9
>>
>>  INFO global:   - vagrant-share = 1.1.5
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/box/plugin.rb
>>
>>  INFO manager: Registered plugin: box command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/cap/plugin.rb
>>
>>  INFO manager: Registered plugin: cap command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/destroy/plugin.rb
>>
>>  INFO manager: Registered plugin: destroy command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/global-status/plugin.rb
>>
>>  INFO manager: Registered plugin: global-status command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/halt/plugin.rb
>>
>>  INFO manager: Registered plugin: halt command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/help/plugin.rb
>>
>>  INFO manager: Registered plugin: help command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/init/plugin.rb
>>
>>  INFO manager: Registered plugin: init command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/list-commands/plugin.rb
>>
>>  INFO manager: Registered plugin: list-commands command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/login/plugin.rb
>>
>>  INFO manager: Registered plugin: vagrant-login
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/package/plugin.rb
>>
>>  INFO manager: Registered plugin: package command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/plugin/plugin.rb
>>
>>  INFO manager: Registered plugin: plugin command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/port/plugin.rb
>>
>>  INFO manager: Registered plugin: port command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/powershell/plugin.rb
>>
>>  INFO manager: Registered plugin: powershell command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/provider/plugin.rb
>>
>>  INFO manager: Registered plugin: provider command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/provision/plugin.rb
>>
>>  INFO manager: Registered plugin: provision command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/push/plugin.rb
>>
>>  INFO manager: Registered plugin: push command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/rdp/plugin.rb
>>
>>  INFO manager: Registered plugin: rdp command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/reload/plugin.rb
>>
>>  INFO manager: Registered plugin: reload command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/resume/plugin.rb
>>
>>  INFO manager: Registered plugin: resume command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/snapshot/plugin.rb
>>
>>  INFO manager: Registered plugin: snapshot command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/ssh/plugin.rb
>>
>>  INFO manager: Registered plugin: ssh command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/ssh_config/plugin.rb
>>
>>  INFO manager: Registered plugin: ssh-config command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/status/plugin.rb
>>
>>  INFO manager: Registered plugin: status command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/suspend/plugin.rb
>>
>>  INFO manager: Registered plugin: suspend command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/up/plugin.rb
>>
>>  INFO manager: Registered plugin: up command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/version/plugin.rb
>>
>>  INFO manager: Registered plugin: version command
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/communicators/ssh/plugin.rb
>>
>>  INFO manager: Registered plugin: ssh communicator
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/communicators/winrm/plugin.rb
>>
>>  INFO manager: Registered plugin: winrm communicator
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/arch/plugin.rb
>>
>>  INFO manager: Registered plugin: Arch guest
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/atomic/plugin.rb
>>
>>  INFO manager: Registered plugin: Atomic Host guest
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/coreos/plugin.rb
>>
>>  INFO manager: Registered plugin: CoreOS guest
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/darwin/plugin.rb
>>
>>  INFO manager: Registered plugin: Darwin guest
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/debian/plugin.rb
>>
>>  INFO manager: Registered plugin: Debian guest
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/esxi/plugin.rb
>>
>>  INFO manager: Registered plugin: ESXi guest.
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/fedora/plugin.rb
>>
>>  INFO manager: Registered plugin: Fedora guest
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/freebsd/plugin.rb
>>
>>  INFO manager: Registered plugin: FreeBSD guest
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/funtoo/plugin.rb
>>
>>  INFO manager: Registered plugin: Funtoo guest
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/gentoo/plugin.rb
>>
>>  INFO manager: Registered plugin: Gentoo guest
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/linux/plugin.rb
>>
>>  INFO manager: Registered plugin: Linux guest.
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/mint/plugin.rb
>>
>>  INFO manager: Registered plugin: Mint guest
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/netbsd/plugin.rb
>>
>>  INFO manager: Registered plugin: NetBSD guest
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/nixos/plugin.rb
>>
>>  INFO manager: Registered plugin: NixOS guest
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/omnios/plugin.rb
>>
>>  INFO manager: Registered plugin: OmniOS guest.
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/openbsd/plugin.rb
>>
>>  INFO manager: Registered plugin: OpenBSD guest
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/photon/plugin.rb
>>
>>  INFO manager: Registered plugin: VMware Photon guest
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/pld/plugin.rb
>>
>>  INFO manager: Registered plugin: PLD Linux guest
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/redhat/plugin.rb
>>
>>  INFO manager: Registered plugin: Red Hat Enterprise Linux guest
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/slackware/plugin.rb
>>
>>  INFO manager: Registered plugin: Slackware guest
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/smartos/plugin.rb
>>
>>  INFO manager: Registered plugin: SmartOS guest.
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/solaris/plugin.rb
>>
>>  INFO manager: Registered plugin: Solaris guest.
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/solaris11/plugin.rb
>>
>>  INFO manager: Registered plugin: Solaris 11 guest.
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/suse/plugin.rb
>>
>>  INFO manager: Registered plugin: SUSE guest
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/tinycore/plugin.rb
>>
>>  INFO manager: Registered plugin: TinyCore Linux guest.
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/ubuntu/plugin.rb
>>
>>  INFO manager: Registered plugin: Ubuntu guest
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/guests/windows/plugin.rb
>>
>>  INFO manager: Registered plugin: Windows guest.
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/hosts/arch/plugin.rb
>>
>>  INFO manager: Registered plugin: Arch host
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/hosts/bsd/plugin.rb
>>
>>  INFO manager: Registered plugin: BSD host
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/hosts/darwin/plugin.rb
>>
>>  INFO manager: Registered plugin: Mac OS X host
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/hosts/freebsd/plugin.rb
>>
>>  INFO manager: Registered plugin: FreeBSD host
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/hosts/gentoo/plugin.rb
>>
>>  INFO manager: Registered plugin: Gentoo host
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/hosts/linux/plugin.rb
>>
>>  INFO manager: Registered plugin: Linux host
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/hosts/null/plugin.rb
>>
>>  INFO manager: Registered plugin: null host
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/hosts/redhat/plugin.rb
>>
>>  INFO manager: Registered plugin: Red Hat Enterprise Linux host
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/hosts/slackware/plugin.rb
>>
>>  INFO manager: Registered plugin: Slackware host
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/hosts/suse/plugin.rb
>>
>>  INFO manager: Registered plugin: SUSE host
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/hosts/windows/plugin.rb
>>
>>  INFO manager: Registered plugin: Windows host
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/kernel_v1/plugin.rb
>>
>>  INFO manager: Registered plugin: kernel
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/kernel_v2/plugin.rb
>>
>>  INFO manager: Registered plugin: kernel
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/providers/docker/plugin.rb
>>
>>  INFO manager: Registered plugin: docker-provider
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/providers/hyperv/plugin.rb
>>
>>  INFO manager: Registered plugin: Hyper-V provider
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/providers/virtualbox/plugin.rb
>>
>>  INFO manager: Registered plugin: VirtualBox provider
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/provisioners/ansible/plugin.rb
>>
>>  INFO manager: Registered plugin: ansible
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/provisioners/cfengine/plugin.rb
>>
>>  INFO manager: Registered plugin: CFEngine Provisioner
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/provisioners/chef/plugin.rb
>>
>>  INFO manager: Registered plugin: chef
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/provisioners/docker/plugin.rb
>>
>>  INFO manager: Registered plugin: docker
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/provisioners/file/plugin.rb
>>
>>  INFO manager: Registered plugin: file
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/provisioners/puppet/plugin.rb
>>
>>  INFO manager: Registered plugin: puppet
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/provisioners/salt/plugin.rb
>>
>>  INFO manager: Registered plugin: salt
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/provisioners/shell/plugin.rb
>>
>>  INFO manager: Registered plugin: shell
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/pushes/atlas/plugin.rb
>>
>>  INFO manager: Registered plugin: atlas
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/pushes/ftp/plugin.rb
>>
>>  INFO manager: Registered plugin: ftp
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/pushes/heroku/plugin.rb
>>
>>  INFO manager: Registered plugin: heroku
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/pushes/local-exec/plugin.rb
>>
>>  INFO manager: Registered plugin: local-exec
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/pushes/noop/plugin.rb
>>
>>  INFO manager: Registered plugin: noop
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/synced_folders/nfs/plugin.rb
>>
>>  INFO manager: Registered plugin: NFS synced folders
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/synced_folders/rsync/plugin.rb
>>
>>  INFO manager: Registered plugin: RSync synced folders
>>
>> DEBUG global: Loading core plugin:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/synced_folders/smb/plugin.rb
>>
>>  INFO manager: Registered plugin: SMB synced folders
>>
>>  INFO global: Loading plugins!
>>
>>  INFO manager: Registered plugin: vagrant-share
>>
>>  INFO vagrant: `vagrant` invoked: ["provision"]
>>
>> DEBUG vagrant: Creating Vagrant environment
>>
>>  INFO environment: Environment initialized
>> (#<Vagrant::Environment:0x00000101adea60>)
>>
>>  INFO environment:   - cwd: /Users/webdeveloper2
>>
>>  INFO environment: Home path: /Users/webdeveloper2/.vagrant.d
>>
>>  WARN environment: No local data path is set. Local data cannot be stored.
>>
>>  INFO environment: Running hook: environment_plugins_loaded
>>
>>  INFO runner: Preparing hooks for middleware sequence...
>>
>>  INFO runner: 1 hooks defined.
>>
>>  INFO runner: Running action: environment_plugins_loaded
>> #<Vagrant::Action::Builder:0x00000100c0c320>
>>
>>  INFO environment: Running hook: environment_load
>>
>>  INFO runner: Preparing hooks for middleware sequence...
>>
>>  INFO runner: 1 hooks defined.
>>
>>  INFO runner: Running action: environment_load
>> #<Vagrant::Action::Builder:0x00000100b3cc60>
>>
>>  INFO cli: CLI: [] "provision" []
>>
>> DEBUG cli: Invoking command class:
>> VagrantPlugins::CommandProvision::Command []
>>
>> DEBUG command: 'provision' each target VM...
>>
>> DEBUG command: Getting target VMs for command. Arguments:
>>
>> DEBUG command:  -- names: []
>>
>> DEBUG command:  -- options: nil
>>
>>  INFO environment: Running hook: environment_unload
>>
>>  INFO loader: Loading configuration in order: [:home, :root]
>>
>> DEBUG loader: Configuration loaded successfully, finalizing and returning
>>
>> DEBUG push: finalizing
>>
>>  INFO host: Autodetecting host type for [#<Vagrant::Environment:
>> /Users/webdeveloper2>]
>>
>> DEBUG host: Trying: arch
>>
>> DEBUG host: Trying: darwin
>>
>>  INFO host: Detected: darwin!
>>
>>  INFO runner: Preparing hooks for middleware sequence...
>>
>>  INFO runner: 1 hooks defined.
>>
>>  INFO runner: Running action: environment_unload
>> #<Vagrant::Action::Builder:0x00000100b36dd8>
>>
>> ERROR vagrant: Vagrant experienced an error! Details:
>>
>> ERROR vagrant: #<Vagrant::Errors::NoEnvironmentError: A Vagrant
>> environment or target machine is required to run this
>>
>> command. Run `vagrant init` to create a new Vagrant environment. Or,
>>
>> get an ID of a target machine from `vagrant global-status` to run
>>
>> this command on. A final option is to change to a directory with a
>>
>> Vagrantfile and to try again.>
>>
>> ERROR vagrant: A Vagrant environment or target machine is required to run
>> this
>>
>> command. Run `vagrant init` to create a new Vagrant environment. Or,
>>
>> get an ID of a target machine from `vagrant global-status` to run
>>
>> this command on. A final option is to change to a directory with a
>>
>> Vagrantfile and to try again.
>>
>> ERROR vagrant:
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/plugin/v2/command.rb:105:in
>> `with_target_vms'
>>
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/provision/command.rb:29:in
>> `execute'
>>
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/cli.rb:42:in
>> `execute'
>>
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/environment.rb:302:in
>> `cli'
>>
>> /opt/vagrant/embedded/gems/gems/vagrant-1.8.1/bin/vagrant:174:in `<main>'
>>
>>  INFO interface: error: A Vagrant environment or target machine is
>> required to run this
>>
>> command. Run `vagrant init` to create a new Vagrant environment. Or,
>>
>> get an ID of a target machine from `vagrant global-status` to run
>>
>> this command on. A final option is to change to a directory with a
>>
>> Vagrantfile and to try again.
>>
>> A Vagrant environment or target machine is required to run this
>>
>> command. Run `vagrant init` to create a new Vagrant environment. Or,
>>
>> get an ID of a target machine from `vagrant global-status` to run
>>
>> this command on. A final option is to change to a directory with a
>>
>> Vagrantfile and to try again.
>>
>>  INFO interface: Machine: error-exit
>> ["Vagrant::Errors::NoEnvironmentError", "A Vagrant environment or target
>> machine is required to run this\ncommand. Run `vagrant init` to create a
>> new Vagrant environment. Or,\nget an ID of a target machine from `vagrant
>> global-status` to run\nthis command on. A final option is to change to a
>> directory with a\nVagrantfile and to try again."]
>>
>> On Wed, Aug 3, 2016 at 9:04 AM, Alvaro Miranda Aguilera <
>> [email protected]> wrote:
>>
>>>
>>> On Tue, Aug 2, 2016 at 10:17 PM, Eric Bullock <[email protected]>
>>> wrote:
>>>
>>>> Error: Could not execute posix command: Invalid user: 502
>>>
>>>
>>> Hello,
>>>
>>> What came to my mind is NFS, check like this:
>>>
>>> vagrant reload --noprovision
>>>
>>> and see if the error happens.
>>>
>>> Then run:
>>>
>>> VAGRANT_LOG=debug vagrant provision 2>&1 | tee vagrant_provision.log
>>>
>>> Alvaro
>>>
>>>
>>> --
>>> Alvaro
>>> (+31)103400555
>>>
>>> --
>>> 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 a topic in the
>>> Google Groups "Vagrant" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/vagrant-up/E9zSJXDtB-o/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/vagrant-up/CAHqq0eyvPkgJChX3hp7QH3qWrVTS7wtEgu5YuiQfU723upi9pA%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/vagrant-up/CAHqq0eyvPkgJChX3hp7QH3qWrVTS7wtEgu5YuiQfU723upi9pA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/CA%2BQRa%3DwOGVeMtav-F05_jnESFVk_VU72bXyY4nDu-VEc2PXK_g%40mail.gmail.com
> <https://groups.google.com/d/msgid/vagrant-up/CA%2BQRa%3DwOGVeMtav-F05_jnESFVk_VU72bXyY4nDu-VEc2PXK_g%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CANhAuoCw7eXfJXvxXnSmr3UGCBh67_B_8_xE9qm4tKY%2Bi2YHwQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to