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

Catched Error: NoMethodError when using meta args #374

Open
ogajduse opened this issue Oct 8, 2018 · 0 comments
Open

Catched Error: NoMethodError when using meta args #374

ogajduse opened this issue Oct 8, 2018 · 0 comments

Comments

@ogajduse
Copy link

ogajduse commented Oct 8, 2018

I was trying to pass the ssh_ip argument as it is described in README. I got the following error while running vagrant provision. When running vagrant up this issue will not come up and after the provisioning phase the file contains the desired IP.

$ VAGRANT_LOG=debug vagrant provision
 INFO global: Vagrant version: 2.0.2
 INFO global: Ruby version: 2.5.1
 INFO global: RubyGems version: 2.7.6
 INFO global: VAGRANT_DETECTED_OS="Linux"
 INFO global: VAGRANT_OPENSTACK_LOG="debug"
 INFO global: VAGRANT_INSTALLER_VERSION="2"
 INFO global: VAGRANT_PREFERRED_PROVIDERS="libvirt,docker"
 INFO global: VAGRANT_INSTALLER_ENV="1"
 INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/usr/share/vagrant"
 INFO global: VAGRANT_LOG="debug"
 INFO global: VAGRANT_EXECUTABLE="/usr/share/vagrant/gems/bin/vagrant"
 WARN global: resolv replacement has not been enabled!
 INFO global: Plugins:
 INFO global:   - vagrant-address = [installed: 0.3.1 constraint: > 0]
 INFO global:   - vagrant-libvirt = [installed: undefined constraint: > 0]
 INFO global:   - vagrant-openstack-provider = [installed: 0.13.0 constraint: > 0]
DEBUG bundler: Current generated plugin dependency list: [<Gem::Dependency type=:runtime name="vagrant-address" requirements="> 0">, <Gem::Dependency type=:runtime name="vagrant-libvirt" requirements="> 0">, <Gem::Dependency type=:runtime name="vagrant-openstack-provider" requirements="> 0">]
DEBUG bundler: Generating new builtin set instance.
DEBUG bundler: Generating new plugin set instance. Skip gems - []
DEBUG bundler: Activating solution set: ["vagrant-address-0.3.1", "formatador-0.2.5", "excon-0.60.0", "builder-3.2.3", "fog-core-1.43.0", "nokogiri-1.8.4", "json-2.1.0", "ruby-libvirt-0.7.1", "fog-xml-0.1.2", "multi_json-1.12.1", "fog-json-1.0.2", "fog-libvirt-0.4.2", "vagrant-libvirt-0.0.40", "public_suffix-2.0.5", "colorize-0.7.3", "sshkey-1.6.1", "terminal-table-1.4.5", "netrc-0.11.0", "mime-types-data-3.2016.0521", "mime-types-3.1", "unf_ext-0.0.7.5", "unf-0.1.4", "domain_name-0.5.20180417", "http-cookie-1.0.3", "rest-client-2.0.0", "vagrant-openstack-provider-0.13.0"]
DEBUG bundler: Activating gem vagrant-address-0.3.1
DEBUG bundler: Activating gem formatador-0.2.5
DEBUG bundler: Activating gem excon-0.60.0
DEBUG bundler: Activating gem builder-3.2.3
DEBUG bundler: Activating gem fog-core-1.43.0
DEBUG bundler: Activating gem nokogiri-1.8.4
DEBUG bundler: Activating gem json-2.1.0
DEBUG bundler: Activating gem ruby-libvirt-0.7.1
DEBUG bundler: Activating gem fog-xml-0.1.2
DEBUG bundler: Activating gem multi_json-1.12.1
DEBUG bundler: Activating gem fog-json-1.0.2
DEBUG bundler: Activating gem fog-libvirt-0.4.2
DEBUG bundler: Activating gem vagrant-libvirt-0.0.40
DEBUG bundler: Activating gem public_suffix-2.0.5
DEBUG bundler: Activating gem colorize-0.7.3
DEBUG bundler: Activating gem sshkey-1.6.1
DEBUG bundler: Activating gem terminal-table-1.4.5
DEBUG bundler: Activating gem vagrant-openstack-provider-0.13.0
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/kernel_v1/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/communicators/winssh/plugin.rb
 INFO manager: Registered plugin: windows ssh communicator
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/communicators/winrm/plugin.rb
 INFO manager: Registered plugin: winrm communicator
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/communicators/ssh/plugin.rb
 INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/kernel_v2/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/hosts/null/plugin.rb
 INFO manager: Registered plugin: null host
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/hosts/windows/plugin.rb
 INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/hosts/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD host
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/hosts/suse/plugin.rb
 INFO manager: Registered plugin: SUSE host
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/hosts/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/hosts/arch/plugin.rb
 INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/hosts/linux/plugin.rb
 INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/hosts/redhat/plugin.rb
 INFO manager: Registered plugin: Red Hat Enterprise Linux host
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/hosts/alt/plugin.rb
 INFO manager: Registered plugin: ALT Platform host
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/hosts/darwin/plugin.rb
 INFO manager: Registered plugin: Mac OS X host
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/hosts/bsd/plugin.rb
 INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/hosts/slackware/plugin.rb
 INFO manager: Registered plugin: Slackware host
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/pushes/atlas/plugin.rb
 INFO manager: Registered plugin: atlas
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/pushes/ftp/plugin.rb
 INFO manager: Registered plugin: ftp
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/pushes/local-exec/plugin.rb
 INFO manager: Registered plugin: local-exec
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/pushes/noop/plugin.rb
 INFO manager: Registered plugin: noop
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/pushes/heroku/plugin.rb
 INFO manager: Registered plugin: heroku
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/synced_folders/rsync/plugin.rb
 INFO manager: Registered plugin: RSync synced folders
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/synced_folders/nfs/plugin.rb
 INFO manager: Registered plugin: NFS synced folders
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/synced_folders/smb/plugin.rb
 INFO manager: Registered plugin: SMB synced folders
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/provisioners/puppet/plugin.rb
 INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/provisioners/file/plugin.rb
 INFO manager: Registered plugin: file
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/provisioners/chef/plugin.rb
 INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/provisioners/cfengine/plugin.rb
 INFO manager: Registered plugin: CFEngine Provisioner
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/provisioners/docker/plugin.rb
 INFO manager: Registered plugin: docker
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/provisioners/ansible/plugin.rb
 INFO manager: Registered plugin: ansible
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/provisioners/salt/plugin.rb
 INFO manager: Registered plugin: salt
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/provisioners/shell/plugin.rb
 INFO manager: Registered plugin: shell
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/snapshot/plugin.rb
 INFO manager: Registered plugin: snapshot command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/login/plugin.rb
 INFO manager: Registered plugin: vagrant-login
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/global-status/plugin.rb
 INFO manager: Registered plugin: global-status command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/validate/plugin.rb
 INFO manager: Registered plugin: validate command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/reload/plugin.rb
 INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/resume/plugin.rb
 INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/package/plugin.rb
 INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/plugin/plugin.rb
 INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/provider/plugin.rb
 INFO manager: Registered plugin: provider command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/rdp/plugin.rb
 INFO manager: Registered plugin: rdp command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/powershell/plugin.rb
 INFO manager: Registered plugin: powershell command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/push/plugin.rb
 INFO manager: Registered plugin: push command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/port/plugin.rb
 INFO manager: Registered plugin: port command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/version/plugin.rb
 INFO manager: Registered plugin: version command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/cap/plugin.rb
 INFO manager: Registered plugin: cap command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/init/plugin.rb
 INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/help/plugin.rb
 INFO manager: Registered plugin: help command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/up/plugin.rb
 INFO manager: Registered plugin: up command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/ssh/plugin.rb
 INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/provision/plugin.rb
 INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/suspend/plugin.rb
 INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/destroy/plugin.rb
 INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/status/plugin.rb
 INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/halt/plugin.rb
 INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/list-commands/plugin.rb
 INFO manager: Registered plugin: list-commands command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/box/plugin.rb
 INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/ssh_config/plugin.rb
 INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/providers/virtualbox/plugin.rb
 INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/providers/docker/plugin.rb
 INFO manager: Registered plugin: docker-provider
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/providers/hyperv/plugin.rb
 INFO manager: Registered plugin: Hyper-V provider
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/solaris11/plugin.rb
 INFO manager: Registered plugin: Solaris 11 guest.
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/windows/plugin.rb
 INFO manager: Registered plugin: Windows guest.
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/ubuntu/plugin.rb
 INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/solaris/plugin.rb
 INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/trisquel/plugin.rb
 INFO manager: Registered plugin: Trisquel guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/esxi/plugin.rb
 INFO manager: Registered plugin: ESXi guest.
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/suse/plugin.rb
 INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/tinycore/plugin.rb
 INFO manager: Registered plugin: TinyCore Linux guest.
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/omnios/plugin.rb
 INFO manager: Registered plugin: OmniOS guest.
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/amazon/plugin.rb
 INFO manager: Registered plugin: Amazon Linux guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/arch/plugin.rb
 INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/linux/plugin.rb
 INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/redhat/plugin.rb
 INFO manager: Registered plugin: Red Hat Enterprise Linux guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/alt/plugin.rb
 INFO manager: Registered plugin: ALT Platform guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/elementary/plugin.rb
 INFO manager: Registered plugin: Elementary guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/debian/plugin.rb
 INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/darwin/plugin.rb
 INFO manager: Registered plugin: Darwin guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/pld/plugin.rb
 INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/openbsd/plugin.rb
 INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/netbsd/plugin.rb
 INFO manager: Registered plugin: NetBSD guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/bsd/plugin.rb
 INFO manager: Registered plugin: BSD-based guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/slackware/plugin.rb
 INFO manager: Registered plugin: Slackware guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/photon/plugin.rb
 INFO manager: Registered plugin: VMware Photon guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/smartos/plugin.rb
 INFO manager: Registered plugin: SmartOS guest.
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/fedora/plugin.rb
 INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/mint/plugin.rb
 INFO manager: Registered plugin: Mint guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/funtoo/plugin.rb
 INFO manager: Registered plugin: Funtoo guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/kali/plugin.rb
 INFO manager: Registered plugin: Kali guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/nixos/plugin.rb
 INFO manager: Registered plugin: NixOS guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/coreos/plugin.rb
 INFO manager: Registered plugin: CoreOS guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/haiku/plugin.rb
 INFO manager: Registered plugin: Haiku guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/dragonflybsd/plugin.rb
 INFO manager: Registered plugin: DragonFly BSD guest
DEBUG global: Loading core plugin: /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/guests/atomic/plugin.rb
 INFO manager: Registered plugin: Atomic Host guest
 INFO global: Loading plugins!
DEBUG global: Loading plugin `vagrant-address` with default require: `vagrant-address`
 INFO manager: Registered plugin: address
DEBUG global: Successfully loaded plugin `vagrant-address`.
DEBUG global: Loading plugin `vagrant-libvirt` with default require: `vagrant-libvirt`
 INFO manager: Registered plugin: libvirt
DEBUG global: Successfully loaded plugin `vagrant-libvirt`.
DEBUG global: Loading plugin `vagrant-openstack-provider` with default require: `vagrant-openstack-provider`
 INFO manager: Registered plugin: Openstack Cloud
DEBUG global: Successfully loaded plugin `vagrant-openstack-provider`.
 INFO vagrant: `vagrant` invoked: ["provision"]
DEBUG vagrant: Creating Vagrant environment
 INFO environment: Environment initialized (#<Vagrant::Environment:0x000055e5efb1ba40>)
 INFO environment:   - cwd: /home/myusername/Documents/work/vagrant-os-provider
 INFO environment: Home path: /home/myusername/.vagrant.d
DEBUG environment: Effective local data path: /home/myusername/Documents/work/vagrant-os-provider/.vagrant
 INFO environment: Local data path: /home/myusername/Documents/work/vagrant-os-provider/.vagrant
DEBUG environment: Creating: /home/myusername/Documents/work/vagrant-os-provider/.vagrant
 INFO environment: Running hook: environment_plugins_loaded
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 2 hooks defined.
 INFO runner: Running action: environment_plugins_loaded #<Vagrant::Action::Builder:0x000055e5efa1a4e8>
 INFO environment: Running hook: environment_load
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 2 hooks defined.
 INFO runner: Running action: environment_load #<Vagrant::Action::Builder:0x000055e5efc42838>
DEBUG checkpoint_client: starting plugin check
 INFO cli: CLI: [] "provision" []
DEBUG checkpoint_client: plugin check complete
DEBUG cli: Invoking command class: VagrantPlugins::CommandProvision::Command []
DEBUG checkpoint_client: no information received from checkpoint
DEBUG command: 'provision' each target VM...
DEBUG command: Getting target VMs for command. Arguments:
DEBUG command:  -- names: []
DEBUG command:  -- options: nil
DEBUG command: Loading all machines...
 INFO loader: Set :root = ["#<Pathname:/home/myusername/Documents/work/vagrant-os-provider/Vagrantfile>"]
DEBUG loader: Populating proc cache for #<Pathname:/home/myusername/Documents/work/vagrant-os-provider/Vagrantfile>
DEBUG loader: Load procs for pathname: /home/myusername/Documents/work/vagrant-os-provider/Vagrantfile
 INFO loader: Loading configuration in order: [:home, :root]
DEBUG loader: Loading from: root (evaluating)
DEBUG provisioner: Provisioner defined: 
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
 INFO command: Active machine found with name default. Using provider: openstack
 INFO environment: Getting machine: default (openstack)
 INFO environment: Uncached load of machine.
 INFO loader: Set "47223028402240_machine_default" = []
 INFO loader: Loading configuration in order: [:home, :root, "47223028402240_machine_default"]
DEBUG loader: Loading from: root (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
 INFO machine: Initializing machine: default
 INFO machine:   - Provider: VagrantPlugins::Openstack::Provider
 INFO machine:   - Box: 
 INFO machine:   - Data dir: /home/myusername/Documents/work/vagrant-os-provider/.vagrant/machines/default/openstack
 INFO machine: Calling action: read_state on provider Openstack Cloud
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO host: Autodetecting host type for [#<Vagrant::Environment: /home/myusername/Documents/work/vagrant-os-provider>]
DEBUG host: Trying: freebsd
DEBUG host: Trying: suse
DEBUG host: Trying: gentoo
DEBUG host: Trying: arch
DEBUG host: Trying: redhat
 INFO host: Detected: redhat!
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 2 hooks defined.
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x000055e5f1a87910>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::HandleBox:0x000055e5ef9c6578>
 INFO handle_box: Skipping HandleBox because no box is set
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x000055e5f294cb80>
 INFO warden: Calling IN action: #<VagrantPlugins::Openstack::Action::ConnectOpenstack:0x000055e5f294cb58>
2018-10-08 17:42 |  INFO | Authenticating on Keystone
2018-10-08 17:42 |  INFO | Authentication on project xxx-jenkins with user xxx-jenkins
2018-10-08 17:42 | DEBUG | request  => method  : POST
2018-10-08 17:42 | DEBUG | request  => url     : https://my.openstack.server.com:13000/v2.0/tokens
2018-10-08 17:42 | DEBUG | request  => headers : {:content_type=>:json, :accept=>:json}
2018-10-08 17:42 | DEBUG | request  => body    : {"auth":{"tenantName":"xxx-jenkins","passwordCredentials":{"username":"xxx-jenkins","password":"****"}}}
2018-10-08 17:42 | DEBUG | response => code    : 200
2018-10-08 17:42 | DEBUG | response => headers : {:date=>"Mon, 08 Oct 2018 15:42:09 GMT", :server=>"Apache", :vary=>"X-Auth-Token,Accept-Encoding", :x_openstack_request_id=>"req-3c37c388-e9b7-469c-a282-a43d4012b9ce", :content_encoding=>"gzip", :content_length=>"1144", :content_type=>"application/json"}
2018-10-08 17:42 | DEBUG | response => body    : {"access": {"token": {"issued_at": "2018-10-08T15:42:09.000000Z", "expires": "2018-10-09T03:42:09Z", "id": "5d368806432144499bdcb311959a73e7", "tenant": {"description": "", "enabled": true, "id": "5d554e8941f34521b76711b5e8be9915", "name": "xxx-jenkins"}, "audit_ids": ["AgMr5rDNRgyYR0cq65BF8g"]}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://172.16.108.2:8774/v2.1", "region": "regionOne", "internalURL": "http://172.16.108.2:8774/v2.1", "id": "2372d81443374cbdab4b047c72fbb21a", "publicURL": "https://my.openstack.server.com:13774/v2.1"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://172.16.108.2:9696", "region": "regionOne", "internalURL": "http://172.16.108.2:9696", "id": "3865a01e07c745ad8e34217f284872e8", "publicURL": "https://my.openstack.server.com:13696"}], "endpoints_links": [], "type": "network", "name": "neutron"}, {"endpoints": [{"adminURL": "http://172.16.108.2:8776/v2/5d554e8941f34521b76711b5e8be9915", "region": "regionOne", "internalURL": "http://172.16.108.2:8776/v2/5d554e8941f34521b76711b5e8be9915", "id": "15522da3d4bf45fdab6e1456cbfb7d44", "publicURL": "https://my.openstack.server.com:13776/v2/5d554e8941f34521b76711b5e8be9915"}], "endpoints_links": [], "type": "volumev2", "name": "cinderv2"}, {"endpoints": [{"adminURL": "http://172.16.108.2:8776/v3/5d554e8941f34521b76711b5e8be9915", "region": "regionOne", "internalURL": "http://172.16.108.2:8776/v3/5d554e8941f34521b76711b5e8be9915", "id": "d1ac31005811426daf9dc72bed5fafd9", "publicURL": "https://my.openstack.server.com:13776/v3/5d554e8941f34521b76711b5e8be9915"}], "endpoints_links": [], "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"adminURL": "http://172.16.108.2:8042", "region": "regionOne", "internalURL": "http://172.16.108.2:8042", "id": "48f533693eba4be3acdcf355fc6fc447", "publicURL": "https://my.openstack.server.com:13042"}], "endpoints_links": [], "type": "alarming", "name": "aodh"}, {"endpoints": [{"adminURL": "http://172.16.108.2:8041", "region": "regionOne", "internalURL": "http://172.16.108.2:8041", "id": "65d4a56a41bc497b8571571e7bf220d2", "publicURL": "https://my.openstack.server.com:13041"}], "endpoints_links": [], "type": "metric", "name": "gnocchi"}, {"endpoints": [{"adminURL": "http://172.16.108.2:8777", "region": "regionOne", "internalURL": "http://172.16.108.2:8777", "id": "0f46739fa7a8482683b8682bacfa4179", "publicURL": "https://my.openstack.server.com:13777"}], "endpoints_links": [], "type": "metering", "name": "ceilometer"}, {"endpoints": [{"adminURL": "http://172.16.108.2:8000/v1", "region": "regionOne", "internalURL": "http://172.16.108.2:8000/v1", "id": "6bb1399e0ff6483695daf07d769b6ca8", "publicURL": "https://my.openstack.server.com:13005/v1"}], "endpoints_links": [], "type": "cloudformation", "name": "heat-cfn"}, {"endpoints": [{"adminURL": "http://172.16.108.2:8776/v1/5d554e8941f34521b76711b5e8be9915", "region": "regionOne", "internalURL": "http://172.16.108.2:8776/v1/5d554e8941f34521b76711b5e8be9915", "id": "39cbf36673cb479681cab91a3764de22", "publicURL": "https://my.openstack.server.com:13776/v1/5d554e8941f34521b76711b5e8be9915"}], "endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints": [{"adminURL": "http://172.16.108.2:8004/v1/5d554e8941f34521b76711b5e8be9915", "region": "regionOne", "internalURL": "http://172.16.108.2:8004/v1/5d554e8941f34521b76711b5e8be9915", "id": "29984955c43f4f76b5fbb6123f2f3525", "publicURL": "https://my.openstack.server.com:13004/v1/5d554e8941f34521b76711b5e8be9915"}], "endpoints_links": [], "type": "orchestration", "name": "heat"}, {"endpoints": [{"adminURL": "http://172.16.107.2:8080", "region": "regionOne", "internalURL": "http://172.16.107.2:8080/v1/AUTH_5d554e8941f34521b76711b5e8be9915", "id": "0ad55e03d6e643b0a1353be1ec168948", "publicURL": "https://my.openstack.server.com:13808/v1/AUTH_5d554e8941f34521b76711b5e8be9915"}], "endpoints_links": [], "type": "object-store", "name": "swift"}, {"endpoints": [{"adminURL": "http://172.16.108.2:9292", "region": "regionOne", "internalURL": "http://172.16.108.2:9292", "id": "aa07851b562441c6ac3137650216f423", "publicURL": "https://my.openstack.server.com:13292"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://172.16.105.2:35357/v2.0", "region": "regionOne", "internalURL": "http://172.16.108.2:5000/v2.0", "id": "2c2eee4de4924ed4a3acf4db7d22e78d", "publicURL": "https://my.openstack.server.com:13000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "xxx-jenkins", "roles_links": [], "id": "584bffc3ee1845959d9aba359cce0deb", "roles": [{"name": "_member_"}], "name": "xxx-jenkins"}, "metadata": {"is_admin": 0, "roles": ["9fe2ff9ee4384b1894a90878d3e92bab"]}}}
2018-10-08 17:42 |  INFO | Looking for available endpoints...
2018-10-08 17:42 | DEBUG | request  => method  : GET
2018-10-08 17:42 | DEBUG | request  => url     : https://my.openstack.server.com:13696
2018-10-08 17:42 | DEBUG | request  => headers : {"X-Auth-Token"=>"5d368806432144499bdcb311959a73e7", :accept=>:json}
2018-10-08 17:42 | DEBUG | response => code    : 200
2018-10-08 17:42 | DEBUG | response => headers : {:content_type=>"application/json; charset=UTF-8", :content_length=>"147", :date=>"Mon, 08 Oct 2018 15:42:10 GMT"}
2018-10-08 17:42 | DEBUG | response => body    : {"versions": [{"status": "CURRENT", "id": "v2.0", "links": [{"href": "https://my.openstack.server.com:13696/v2.0", "rel": "self"}]}]}
2018-10-08 17:42 | DEBUG | response => code    : 300
2018-10-08 17:42 | DEBUG | response => headers : {:content_type=>"application/json", :content_length=>"952", :date=>"Mon, 08 Oct 2018 15:42:11 GMT"}
2018-10-08 17:42 | DEBUG | response => body    : {"versions": [{"status": "CURRENT", "id": "v2.4", "links": [{"href": "https://my.openstack.server.com:13292/v2/", "rel": "self"}]}, {"status": "SUPPORTED", "id": "v2.3", "links": [{"href": "https://my.openstack.server.com:13292/v2/", "rel": "self"}]}, {"status": "SUPPORTED", "id": "v2.2", "links": [{"href": "https://my.openstack.server.com:13292/v2/", "rel": "self"}]}, {"status": "SUPPORTED", "id": "v2.1", "links": [{"href": "https://my.openstack.server.com:13292/v2/", "rel": "self"}]}, {"status": "SUPPORTED", "id": "v2.0", "links": [{"href": "https://my.openstack.server.com:13292/v2/", "rel": "self"}]}, {"status": "DEPRECATED", "id": "v1.1", "links": [{"href": "https://my.openstack.server.com:13292/v1/", "rel": "self"}]}, {"status": "DEPRECATED", "id": "v1.0", "links": [{"href": "https://my.openstack.server.com:13292/v1/", "rel": "self"}]}]}
2018-10-08 17:42 |  INFO |  -- compute        : https://my.openstack.server.com:13774/v2.1
2018-10-08 17:42 |  INFO |  -- network        : https://my.openstack.server.com:13696/v2.0
2018-10-08 17:42 |  INFO |  -- volumev2       : https://my.openstack.server.com:13776/v2/5d554e8941f34521b76711b5e8be9915
2018-10-08 17:42 |  INFO |  -- volumev3       : https://my.openstack.server.com:13776/v3/5d554e8941f34521b76711b5e8be9915
2018-10-08 17:42 |  INFO |  -- alarming       : https://my.openstack.server.com:13042
2018-10-08 17:42 |  INFO |  -- metric         : https://my.openstack.server.com:13041
2018-10-08 17:42 |  INFO |  -- metering       : https://my.openstack.server.com:13777
2018-10-08 17:42 |  INFO |  -- cloudformation : https://my.openstack.server.com:13005/v1
2018-10-08 17:42 |  INFO |  -- volume         : https://my.openstack.server.com:13776/v1/5d554e8941f34521b76711b5e8be9915
2018-10-08 17:42 |  INFO |  -- orchestration  : https://my.openstack.server.com:13004/v1/5d554e8941f34521b76711b5e8be9915
2018-10-08 17:42 |  INFO |  -- object-store   : https://my.openstack.server.com:13808/v1/AUTH_5d554e8941f34521b76711b5e8be9915
2018-10-08 17:42 |  INFO |  -- image          : https://my.openstack.server.com:13292/v2/
2018-10-08 17:42 |  INFO |  -- identity       : https://my.openstack.server.com:13000/v2.0
 INFO warden: Calling IN action: #<VagrantPlugins::Openstack::Action::ReadState:0x000055e5f29c1250>
2018-10-08 17:42 | DEBUG | block in get_server_details - start
2018-10-08 17:42 | DEBUG | request  => method  : GET
2018-10-08 17:42 | DEBUG | request  => url     : https://my.openstack.server.com:13774/v2.1/servers/b1960e1e-db72-4882-92e3-c10b1340c774
2018-10-08 17:42 | DEBUG | request  => headers : {"X-Auth-Token"=>"5d368806432144499bdcb311959a73e7", :accept=>:json}
2018-10-08 17:42 | DEBUG | response => code    : 200
2018-10-08 17:42 | DEBUG | response => headers : {:content_length=>"1673", :content_type=>"application/json", :openstack_api_version=>"compute 2.1", :x_openstack_nova_api_version=>"2.1", :vary=>"OpenStack-API-Version, X-OpenStack-Nova-API-Version", :x_compute_request_id=>"req-9fdd19a2-ee3a-4f2c-b679-881c4bab096f", :date=>"Mon, 08 Oct 2018 15:42:12 GMT"}
2018-10-08 17:42 | DEBUG | response => body    : {"server": {"OS-EXT-STS:task_state": null, "addresses": {"default-xxx-jenkins": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:f7:26:99", "version": 4, "addr": "172.16.20.16", "OS-EXT-IPS:type": "fixed"}, {"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:f7:26:99", "version": 4, "addr": "10.8.255.113", "OS-EXT-IPS:type": "floating"}]}, "links": [{"href": "https://my.openstack.server.com:13774/v2.1/servers/b1960e1e-db72-4882-92e3-c10b1340c774", "rel": "self"}, {"href": "https://my.openstack.server.com:13774/servers/b1960e1e-db72-4882-92e3-c10b1340c774", "rel": "bookmark"}], "image": {"id": "7b23c423-e5b1-43a7-81f8-c49ba19e1874", "links": [{"href": "https://my.openstack.server.com:13774/images/7b23c423-e5b1-43a7-81f8-c49ba19e1874", "rel": "bookmark"}]}, "OS-EXT-STS:vm_state": "active", "OS-SRV-USG:launched_at": "2018-10-02T13:46:26.000000", "flavor": {"id": "3", "links": [{"href": "https://my.openstack.server.com:13774/flavors/3", "rel": "bookmark"}]}, "id": "b1960e1e-db72-4882-92e3-c10b1340c774", "security_groups": [{"name": "default"}], "user_id": "584bffc3ee1845959d9aba359cce0deb", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "metadata": {}, "status": "ACTIVE", "updated": "2018-10-02T13:46:27Z", "hostId": "de9bc667dbd619e0724fb1e365f620a2f6a6213774383caea9915839", "OS-SRV-USG:terminated_at": null, "key_name": "myusername", "name": "myusername-5minute-RHEL7", "created": "2018-10-02T13:45:46Z", "tenant_id": "5d554e8941f34521b76711b5e8be9915", "os-extended-volumes:volumes_attached": [], "config_drive": ""}}
2018-10-08 17:42 | DEBUG | block in get_server_details - end
 INFO warden: Calling OUT action: #<VagrantPlugins::Openstack::Action::ReadState:0x000055e5f29c1250>
 INFO warden: Calling OUT action: #<VagrantPlugins::Openstack::Action::ConnectOpenstack:0x000055e5f294cb58>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x000055e5f294cb80>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::HandleBox:0x000055e5ef9c6578>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO interface: Machine: metadata ["provider", :openstack, {:target=>:default}]
 INFO command: With machine: default (#<VagrantPlugins::Openstack::Provider:0x000055e5f1a462f8 @machine=#<Vagrant::Machine: default (VagrantPlugins::Openstack::Provider)>, @cap_logger=#<Log4r::Logger:0x000055e5f1a45d30 @fullname="vagrant::capability_host::vagrantplugins::openstack::provider", @outputters=[], @additive=true, @name="provider", @path="vagrant::capability_host::vagrantplugins::openstack", @parent=#<Log4r::Logger:0x000055e5ef516c08 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x000055e5ef458898 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x000055e5ef458820>, @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x000055e5ef418928 @formatter=#<Log4r::BasicFormatter:0x000055e5ef4292c8 @depth=7>>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x000055e5ef516a00 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @cap_host_chain=[[:openstack, #<#<Class:0x000055e5f1a462d0>:0x000055e5f1a78780>]], @cap_args=[#<Vagrant::Machine: default (VagrantPlugins::Openstack::Provider)>], @cap_caps={:virtualbox=>#<Vagrant::Registry:0x000055e5f1a46190 @items={:forwarded_ports=>#<Proc:0x000055e5ef89ce40@/usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/providers/virtualbox/plugin.rb:27>, :nic_mac_addresses=>#<Proc:0x000055e5ef89ce18@/usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/providers/virtualbox/plugin.rb:32>, :public_address=>#<Proc:0x000055e5ef89cdf0@/usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/providers/virtualbox/plugin.rb:37>, :snapshot_list=>#<Proc:0x000055e5ef89cdc8@/usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/providers/virtualbox/plugin.rb:42>}, @results_cache={}>, :docker=>#<Vagrant::Registry:0x000055e5f1a460f0 @items={:public_address=>#<Proc:0x000055e5ef8ac930@/usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/providers/docker/plugin.rb:60>, :proxy_machine=>#<Proc:0x000055e5ef8ac7f0@/usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/providers/docker/plugin.rb:65>}, @results_cache={}>, :hyperv=>#<Vagrant::Registry:0x000055e5f1a46050 @items={:public_address=>#<Proc:0x000055e5efa19318@/usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/providers/hyperv/plugin.rb:25>, :snapshot_list=>#<Proc:0x000055e5efa192a0@/usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/providers/hyperv/plugin.rb:30>}, @results_cache={}>, :libvirt=>#<Vagrant::Registry:0x000055e5f1a45fb0 @items={:nic_mac_addresses=>#<Proc:0x000055e5ef814c20@/usr/share/vagrant/gems/gems/vagrant-libvirt-0.0.40/lib/vagrant-libvirt/plugin.rb:37>}, @results_cache={}>, :openstack=>#<Vagrant::Registry:0x000055e5f1a45f10 @items={:snapshot_list=>#<Proc:0x000055e5efba1050@/home/myusername/.vagrant.d/gems/2.5.1/gems/vagrant-openstack-provider-0.13.0/lib/vagrant-openstack-provider/plugin.rb:41>}, @results_cache={}>}>)
 INFO machine: Calling action: provision on provider Openstack Cloud
DEBUG environment: Attempting to acquire process-lock: machine-action-87047c716939a31b0053d5b181f40a21
DEBUG environment: Attempting to acquire process-lock: dotlock
 INFO environment: Acquired process lock: dotlock
 INFO environment: Released process lock: dotlock
 INFO environment: Acquired process lock: machine-action-87047c716939a31b0053d5b181f40a21
 INFO interface: Machine: action ["provision", "start", {:target=>:default}]
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 2 hooks defined.
 INFO runner: Running action: machine_action_provision #<Vagrant::Action::Builder:0x000055e5f28575e0>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x000055e5f284edf0>
 INFO warden: Calling IN action: #<VagrantPlugins::Openstack::Action::ConnectOpenstack:0x000055e5f284edc8>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x000055e5f281d548>
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 2 hooks defined.
 INFO runner: Running action: machine_action_provision #<Vagrant::Action::Builder:0x000055e5f27d4e60>
 INFO warden: Calling IN action: #<VagrantPlugins::Openstack::Action::ReadState:0x000055e5f27d0f90>
2018-10-08 17:42 | DEBUG | block in get_server_details - start
2018-10-08 17:42 | DEBUG | request  => method  : GET
2018-10-08 17:42 | DEBUG | request  => url     : https://my.openstack.server.com:13774/v2.1/servers/b1960e1e-db72-4882-92e3-c10b1340c774
2018-10-08 17:42 | DEBUG | request  => headers : {"X-Auth-Token"=>"5d368806432144499bdcb311959a73e7", :accept=>:json}
2018-10-08 17:42 | DEBUG | response => code    : 200
2018-10-08 17:42 | DEBUG | response => headers : {:content_length=>"1673", :content_type=>"application/json", :openstack_api_version=>"compute 2.1", :x_openstack_nova_api_version=>"2.1", :vary=>"OpenStack-API-Version, X-OpenStack-Nova-API-Version", :x_compute_request_id=>"req-de95ffb3-a0a3-408c-908d-4bb73c2bac97", :date=>"Mon, 08 Oct 2018 15:42:13 GMT"}
2018-10-08 17:42 | DEBUG | response => body    : {"server": {"OS-EXT-STS:task_state": null, "addresses": {"default-xxx-jenkins": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:f7:26:99", "version": 4, "addr": "172.16.20.16", "OS-EXT-IPS:type": "fixed"}, {"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:f7:26:99", "version": 4, "addr": "10.8.255.113", "OS-EXT-IPS:type": "floating"}]}, "links": [{"href": "https://my.openstack.server.com:13774/v2.1/servers/b1960e1e-db72-4882-92e3-c10b1340c774", "rel": "self"}, {"href": "https://my.openstack.server.com:13774/servers/b1960e1e-db72-4882-92e3-c10b1340c774", "rel": "bookmark"}], "image": {"id": "7b23c423-e5b1-43a7-81f8-c49ba19e1874", "links": [{"href": "https://my.openstack.server.com:13774/images/7b23c423-e5b1-43a7-81f8-c49ba19e1874", "rel": "bookmark"}]}, "OS-EXT-STS:vm_state": "active", "OS-SRV-USG:launched_at": "2018-10-02T13:46:26.000000", "flavor": {"id": "3", "links": [{"href": "https://my.openstack.server.com:13774/flavors/3", "rel": "bookmark"}]}, "id": "b1960e1e-db72-4882-92e3-c10b1340c774", "security_groups": [{"name": "default"}], "user_id": "584bffc3ee1845959d9aba359cce0deb", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "metadata": {}, "status": "ACTIVE", "updated": "2018-10-02T13:46:27Z", "hostId": "de9bc667dbd619e0724fb1e365f620a2f6a6213774383caea9915839", "OS-SRV-USG:terminated_at": null, "key_name": "myusername", "name": "myusername-5minute-RHEL7", "created": "2018-10-02T13:45:46Z", "tenant_id": "5d554e8941f34521b76711b5e8be9915", "os-extended-volumes:volumes_attached": [], "config_drive": ""}}
2018-10-08 17:42 | DEBUG | block in get_server_details - end
 INFO warden: Calling OUT action: #<VagrantPlugins::Openstack::Action::ReadState:0x000055e5f27d0f90>
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 2 hooks defined.
 INFO runner: Running action: machine_action_provision #<Vagrant::Action::Warden:0x000055e5f2601750>
 INFO warden: Calling IN action: #<Proc:0x000055e5f25093c0@/usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/warden.rb:94 (lambda)>
 INFO warden: Calling IN action: #<VagrantPlugins::Openstack::Action::ProvisionWrapper:0x000055e5f26016b0>
2018-10-08 17:42 |  INFO | Run provisioning
 INFO provision: Ignoring sentinel check, forcing provision
 INFO provision: Checking provisioner sentinel file...
 INFO provision: Sentinel found! Not provisioning.
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::SyncedFolders:0x000055e5f25ac958>
 INFO synced_folders: SyncedFolders loading from cache: false
 INFO warden: Calling IN action: #<Proc:0x000055e5f255f7c0@/usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/warden.rb:94 (lambda)>
 INFO warden: Calling OUT action: #<Proc:0x000055e5f255f7c0@/usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/warden.rb:94 (lambda)>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::SyncedFolders:0x000055e5f25ac958>
 INFO interface: info: Running provisioner: shell...
 INFO interface: info: ==> default: Running provisioner: shell...
==> default: Running provisioner: shell...
 INFO environment: Running hook: provisioner_run
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 2 hooks defined.
 INFO runner: Running action: provisioner_run #<Method: VagrantPlugins::Openstack::Action::InternalProvisionWrapper#run_provisioner>
 INFO warden: Calling IN action: #<Proc:0x000055e5f2433018@/usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/warden.rb:94 (lambda)>
 INFO provision: Shell provisioner args: ["IP", "@@ssh_ip@@"]
ERROR warden: Error occurred: undefined method `[]' for nil:NilClass
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
An unknown error happened in Vagrant OpenStack provider

To easily debug what happened, we recommend to set the environment
variable VAGRANT_OPENSTACK_LOG to debug

    $ export VAGRANT_OPENSTACK_LOG=debug

If doing this does not help fixing your issue, there may be a bug
in the provider. Please submit an issue on Github at
https://github.com/ggiamarchi/vagrant-openstack-provider
with the stracktrace and the logs.

We are looking for feedback, so feel free to ask questions or
describe features you would like to see in this provider.
ERROR warden: Error occurred: Catched Error: undefined method `[]' for nil:NilClass
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
ERROR warden: Error occurred: Catched Error: undefined method `[]' for nil:NilClass
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
ERROR warden: Error occurred: Catched Error: undefined method `[]' for nil:NilClass
 INFO warden: Beginning recovery process...
 INFO warden: Calling recover: #<Vagrant::Action::Builtin::Call:0x000055e5f281d548>
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO warden: Recovery complete.
ERROR warden: Error occurred: Catched Error: Catched Error: undefined method `[]' for nil:NilClass
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO environment: Released process lock: machine-action-87047c716939a31b0053d5b181f40a21
 INFO environment: Running hook: environment_unload
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 2 hooks defined.
 INFO runner: Running action: environment_unload #<Vagrant::Action::Builder:0x000055e5f23e5200>
Traceback (most recent call last):
	50: from /usr/share/vagrant/gems/bin/vagrant:23:in `<main>'
	49: from /usr/share/vagrant/gems/bin/vagrant:23:in `load'
	48: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/bin/vagrant:151:in `<top (required)>'
	47: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/environment.rb:269:in `cli'
	46: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/cli.rb:46:in `execute'
	45: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/provision/command.rb:29:in `execute'
	44: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/plugin/v2/command.rb:232:in `with_target_vms'
	43: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/plugin/v2/command.rb:232:in `each'
	42: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/plugin/v2/command.rb:238:in `block in with_target_vms'
	41: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/plugins/commands/provision/command.rb:30:in `block in execute'
	40: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/machine.rb:188:in `action'
	39: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/machine.rb:188:in `call'
	38: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/environment.rb:592:in `lock'
	37: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/machine.rb:202:in `block in action'
	36: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/machine.rb:227:in `action_raw'
	35: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/runner.rb:66:in `run'
	34: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/util/busy.rb:19:in `busy'
	33: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/runner.rb:66:in `block in run'
	32: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/builder.rb:116:in `call'
	31: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/warden.rb:34:in `call'
	30: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
	29: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/warden.rb:34:in `call'
	28: from /home/myusername/.vagrant.d/gems/2.5.1/gems/vagrant-openstack-provider-0.13.0/lib/vagrant-openstack-provider/action/abstract_action.rb:8:in `call'
	27: from /home/myusername/.vagrant.d/gems/2.5.1/gems/vagrant-openstack-provider-0.13.0/lib/vagrant-openstack-provider/action/connect_openstack.rb:32:in `execute'
	26: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/warden.rb:34:in `call'
	25: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/builtin/call.rb:53:in `call'
	24: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/runner.rb:66:in `run'
	23: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/util/busy.rb:19:in `busy'
	22: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/runner.rb:66:in `block in run'
	21: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/builder.rb:116:in `call'
	20: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/warden.rb:34:in `call'
	19: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
	18: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/warden.rb:34:in `call'
	17: from /home/myusername/.vagrant.d/gems/2.5.1/gems/vagrant-openstack-provider-0.13.0/lib/vagrant-openstack-provider/action/abstract_action.rb:8:in `call'
	16: from /home/myusername/.vagrant.d/gems/2.5.1/gems/vagrant-openstack-provider-0.13.0/lib/vagrant-openstack-provider/action/provision.rb:22:in `execute'
	15: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/builtin/provision.rb:103:in `call'
	14: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/builtin/provision.rb:103:in `each'
	13: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/builtin/provision.rb:126:in `block in call'
	12: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/builtin/provision.rb:126:in `call'
	11: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/environment.rb:504:in `hook'
	10: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/runner.rb:66:in `run'
	 9: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/util/busy.rb:19:in `busy'
	 8: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/runner.rb:66:in `block in run'
	 7: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/builder.rb:116:in `call'
	 6: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/warden.rb:34:in `call'
	 5: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
	 4: from /usr/share/vagrant/gems/gems/vagrant-2.0.2/lib/vagrant/action/warden.rb:95:in `call'
	 3: from /home/myusername/.vagrant.d/gems/2.5.1/gems/vagrant-openstack-provider-0.13.0/lib/vagrant-openstack-provider/action/provision.rb:35:in `run_provisioner'
	 2: from /home/myusername/.vagrant.d/gems/2.5.1/gems/vagrant-openstack-provider-0.13.0/lib/vagrant-openstack-provider/action/provision.rb:47:in `handle_shell_meta_args'
	 1: from /home/myusername/.vagrant.d/gems/2.5.1/gems/vagrant-openstack-provider-0.13.0/lib/vagrant-openstack-provider/action/provision.rb:47:in `each'
/home/myusername/.vagrant.d/gems/2.5.1/gems/vagrant-openstack-provider-0.13.0/lib/vagrant-openstack-provider/action/provision.rb:50:in `block in handle_shell_meta_args': Catched Error: Catched Error: undefined method `[]' for nil:NilClass (NoMethodError)

Vagrantfile:

require 'vagrant-openstack-provider'

Vagrant.configure('2') do |config|

  config.ssh.username = 'root'
  config.ssh.private_key_path  = '~/.ssh/id_rsa'

  config.vm.provider :openstack do |os|
    os.openstack_auth_url = 'https://my.openstack.server.com:13000/v2.0'
    os.username           = 'xxx-jenkins'
    os.password           = 'password'
    os.tenant_name        = 'xxx-jenkins'
    os.flavor             = 'm1.medium'
    os.image              = '5minute-RHEL7'
    os.floating_ip_pool   = '10.8.240.0'
    os.public_key_path    = '~/.ssh/id_rsa.pub'
    os.keypair_name       = 'myusername'
    os.server_name        = 'myusername-5minute-RHEL7'
    os.meta_args_support  = 'true'
  end
  config.vm.synced_folder ".", "/vagrant", disabled: true
  config.vm.provision "shell", inline: 'echo "$1 : $2" > ~/provision', args: ['IP', '@@ssh_ip@@']
end
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

1 participant