ggiamarchi / vagrant-openstack-provider

Use Vagrant to manage OpenStack Cloud instances.
MIT License
245 stars 102 forks source link

interface: error: Authentication failed #375

Closed dthpulse closed 5 years ago

dthpulse commented 5 years ago

Hello I'm not able to pass the authentication even if credentials I'm using are valid and works well with other apps. Any help appreciated.

Vagrantfile:

require 'vagrant-openstack-provider'

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

  config.ssh.username = 'ubuntu'
    config.vm.provider :openstack do |os|
    os.identity_api_version = "3"
    os.openstack_auth_url   = "#{ENV['OS_AUTH_URL']}/auth/tokens"
    os.domain_name          = "#{ENV['OS_USER_DOMAIN_NAME']}"
    os.username             = "#{ENV['OS_USERNAME']}"
    os.password             = "#{ENV['OS_PASSWORD']}"
    os.project_name         = "#{ENV['OS_PROJECT_NAME']}"
    os.region               = "#{ENV['OS_REGION_NAME']}"
   end

end 

debug output:

INFO global: Vagrant version: 2.2.0
 INFO global: Ruby version: 2.4.4
 INFO global: RubyGems version: 2.6.14.1
 INFO global: VAGRANT_USR_DIR="/tmp/.mount_vagrandpsc9b/usr"
 INFO global: VAGRANT_OPENSTACK_LOG="debug"
 INFO global: VAGRANT_APPIMAGE_LD_LIBRARY_PATH="/tmp/.mount_vagrandpsc9b/usr/lib/:/tmp/.mount_vagrandpsc9b/usr/lib/i386-linux-gnu/:/tmp/.mount_vagrandpsc9b/usr/lib/x86_64-linux-gnu/:/tmp/.mount_vagrandpsc9b/usr/lib32/:/tmp/.mount_vagrandpsc9b/usr/lib64/:/tmp/.mount_vagrandpsc9b/lib/:/tmp/.mount_vagrandpsc9b/lib/i386-linux-gnu/:/tmp/.mount_vagrandpsc9b/lib/x86_64-linux-gnu/:/tmp/.mount_vagrandpsc9b/lib32/:/tmp/.mount_vagrandpsc9b/lib64/::/usr/local/lib64:/usr/local/lib:/lib:/lib64:/usr/lib:/usr/lib64:"
 INFO global: VAGRANT_PKG_CONFIG_PATH="/tmp/.mount_vagrandpsc9b/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/local/lib/x86_64-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig"
 INFO global: VAGRANT_INSTALLER_ENV="1"
 INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/tmp/.mount_vagrandpsc9b"
 INFO global: VAGRANT_RUBYLIB="/tmp/.mount_vagrandpsc9b/usr/local/lib/site_ruby/2.4.0:/tmp/.mount_vagrandpsc9b/usr/local/lib/x86_64-linux-gnu/site_ruby:/tmp/.mount_vagrandpsc9b/usr/local/lib/site_ruby:/tmp/.mount_vagrandpsc9b/usr/lib/ruby/vendor_ruby/2.4.0:/tmp/.mount_vagrandpsc9b/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.4.0:/tmp/.mount_vagrandpsc9b/usr/lib/ruby/vendor_ruby:/tmp/.mount_vagrandpsc9b/usr/lib/ruby/2.4.0:/tmp/.mount_vagrandpsc9b/usr/lib/x86_64-linux-gnu/ruby/2.4.0"
 INFO global: VAGRANT_BIN_DIR="/tmp/.mount_vagrandpsc9b/usr/bin"
 INFO global: VAGRANT_APPIMAGE="1"
 INFO global: VAGRANT_ROOT_DIR="/tmp/.mount_vagrandpsc9b"
 INFO global: VAGRANT_LOG="debug"
 WARN global: resolv replacement has not been enabled!
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/box/plugin.rb
 INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/cap/plugin.rb
 INFO manager: Registered plugin: cap command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/cloud/plugin.rb
 INFO manager: Registered plugin: vagrant-cloud
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/destroy/plugin.rb
 INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/global-status/plugin.rb
 INFO manager: Registered plugin: global-status command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/halt/plugin.rb
 INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/help/plugin.rb
 INFO manager: Registered plugin: help command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/init/plugin.rb
 INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/list-commands/plugin.rb
 INFO manager: Registered plugin: list-commands command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/login/plugin.rb
 INFO manager: Registered plugin: vagrant-login
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/package/plugin.rb
 INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/plugin/plugin.rb
 INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/port/plugin.rb
 INFO manager: Registered plugin: port command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/powershell/plugin.rb
 INFO manager: Registered plugin: powershell command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/provider/plugin.rb
 INFO manager: Registered plugin: provider command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/provision/plugin.rb
 INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/push/plugin.rb
 INFO manager: Registered plugin: push command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/rdp/plugin.rb
 INFO manager: Registered plugin: rdp command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/reload/plugin.rb
 INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/resume/plugin.rb
 INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/snapshot/plugin.rb
 INFO manager: Registered plugin: snapshot command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/ssh/plugin.rb
 INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/ssh_config/plugin.rb
 INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/status/plugin.rb
 INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/suspend/plugin.rb
 INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/up/plugin.rb
 INFO manager: Registered plugin: up command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/upload/plugin.rb
 INFO manager: Registered plugin: upload command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/validate/plugin.rb
 INFO manager: Registered plugin: validate command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/version/plugin.rb
 INFO manager: Registered plugin: version command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/winrm/plugin.rb
 INFO manager: Registered plugin: winrm command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/winrm_config/plugin.rb
 INFO manager: Registered plugin: winrm-config command
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/communicators/ssh/plugin.rb
 INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/communicators/winrm/plugin.rb
 INFO manager: Registered plugin: winrm communicator
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/communicators/winssh/plugin.rb
 INFO manager: Registered plugin: windows ssh communicator
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/alt/plugin.rb
 INFO manager: Registered plugin: ALT Platform guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/amazon/plugin.rb
 INFO manager: Registered plugin: Amazon Linux guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/arch/plugin.rb
 INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/atomic/plugin.rb
 INFO manager: Registered plugin: Atomic Host guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/bsd/plugin.rb
 INFO manager: Registered plugin: BSD-based guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/coreos/plugin.rb
 INFO manager: Registered plugin: CoreOS guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/darwin/plugin.rb
 INFO manager: Registered plugin: Darwin guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/debian/plugin.rb
 INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/dragonflybsd/plugin.rb
 INFO manager: Registered plugin: DragonFly BSD guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/elementary/plugin.rb
 INFO manager: Registered plugin: Elementary guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/esxi/plugin.rb
 INFO manager: Registered plugin: ESXi guest.
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/fedora/plugin.rb
 INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/funtoo/plugin.rb
 INFO manager: Registered plugin: Funtoo guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/haiku/plugin.rb
 INFO manager: Registered plugin: Haiku guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/kali/plugin.rb
 INFO manager: Registered plugin: Kali guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/linux/plugin.rb
 INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/mint/plugin.rb
 INFO manager: Registered plugin: Mint guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/netbsd/plugin.rb
 INFO manager: Registered plugin: NetBSD guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/nixos/plugin.rb
 INFO manager: Registered plugin: NixOS guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/omnios/plugin.rb
 INFO manager: Registered plugin: OmniOS guest.
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/openbsd/plugin.rb
 INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/photon/plugin.rb
 INFO manager: Registered plugin: VMware Photon guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/pld/plugin.rb
 INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/redhat/plugin.rb
 INFO manager: Registered plugin: Red Hat Enterprise Linux guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/slackware/plugin.rb
 INFO manager: Registered plugin: Slackware guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/smartos/plugin.rb
 INFO manager: Registered plugin: SmartOS guest.
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/solaris/plugin.rb
 INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/solaris11/plugin.rb
 INFO manager: Registered plugin: Solaris 11 guest.
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/suse/plugin.rb
 INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/tinycore/plugin.rb
 INFO manager: Registered plugin: TinyCore Linux guest.
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/trisquel/plugin.rb
 INFO manager: Registered plugin: Trisquel guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/ubuntu/plugin.rb
 INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/guests/windows/plugin.rb
 INFO manager: Registered plugin: Windows guest.
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/hosts/alt/plugin.rb
 INFO manager: Registered plugin: ALT Platform host
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/hosts/arch/plugin.rb
 INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/hosts/bsd/plugin.rb
 INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/hosts/darwin/plugin.rb
 INFO manager: Registered plugin: Mac OS X host
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/hosts/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD host
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/hosts/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/hosts/linux/plugin.rb
 INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/hosts/null/plugin.rb
 INFO manager: Registered plugin: null host
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/hosts/redhat/plugin.rb
 INFO manager: Registered plugin: Red Hat Enterprise Linux host
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/hosts/slackware/plugin.rb
 INFO manager: Registered plugin: Slackware host
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/hosts/suse/plugin.rb
 INFO manager: Registered plugin: SUSE host
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/hosts/windows/plugin.rb
 INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/kernel_v1/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/kernel_v2/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/providers/docker/plugin.rb
 INFO manager: Registered plugin: docker-provider
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/providers/hyperv/plugin.rb
 INFO manager: Registered plugin: Hyper-V provider
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/providers/virtualbox/plugin.rb
 INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/provisioners/ansible/plugin.rb
 INFO manager: Registered plugin: ansible
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/provisioners/cfengine/plugin.rb
 INFO manager: Registered plugin: CFEngine Provisioner
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/provisioners/chef/plugin.rb
 INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/provisioners/docker/plugin.rb
 INFO manager: Registered plugin: docker
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/provisioners/file/plugin.rb
 INFO manager: Registered plugin: file
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/provisioners/puppet/plugin.rb
 INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/provisioners/salt/plugin.rb
 INFO manager: Registered plugin: salt
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/provisioners/shell/plugin.rb
 INFO manager: Registered plugin: shell
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/pushes/atlas/plugin.rb
 INFO manager: Registered plugin: atlas
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/pushes/ftp/plugin.rb
 INFO manager: Registered plugin: ftp
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/pushes/heroku/plugin.rb
 INFO manager: Registered plugin: heroku
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/pushes/local-exec/plugin.rb
 INFO manager: Registered plugin: local-exec
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/pushes/noop/plugin.rb
 INFO manager: Registered plugin: noop
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/synced_folders/nfs/plugin.rb
 INFO manager: Registered plugin: NFS synced folders
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/synced_folders/rsync/plugin.rb
 INFO manager: Registered plugin: RSync synced folders
DEBUG global: Loading core plugin: /tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/synced_folders/smb/plugin.rb
 INFO manager: Registered plugin: SMB synced folders
 INFO vagrant: `vagrant` invoked: ["up", "--debug"]
DEBUG vagrant: Creating Vagrant environment
 INFO environment: Environment initialized (#<Vagrant::Environment:0x000000000342b7d0>)
 INFO environment:   - cwd: /root/ostest
 INFO environment: Home path: /root/.vagrant.d
DEBUG environment: Effective local data path: /root/ostest/.vagrant
 INFO environment: Local data path: /root/ostest/.vagrant
DEBUG environment: Creating: /root/ostest/.vagrant
DEBUG manager: Enabling localized plugins
 INFO manager: Plugins:
DEBUG bundler: Current generated plugin dependency list: []
DEBUG bundler: Generating new builtin set instance.
DEBUG bundler: Generating new plugin set instance. Skip gems - []
DEBUG bundler: Activating solution set: []
 INFO manager: Loading plugins...
DEBUG manager: Enabling globalized plugins
 INFO manager: Plugins:
 INFO manager:   - vagrant-openstack-provider = [installed: 0.13.0 constraint: > 0]
DEBUG bundler: Current generated plugin dependency list: [<Gem::Dependency type=:runtime name="vagrant-openstack-provider" requirements="= 0.13.0">]
DEBUG bundler: Generating new builtin set instance.
DEBUG bundler: Generating new plugin set instance. Skip gems - []
DEBUG bundler: Activating solution set: ["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.2018.0812", "mime-types-3.2.2", "unf_ext-0.0.7.5", "unf-0.1.4", "domain_name-0.5.20180417", "http-cookie-1.0.3", "rest-client-2.0.2", "json-2.0.4", "vagrant-openstack-provider-0.13.0"]
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
 INFO manager: Loading plugins...
 INFO manager: Loading plugin `vagrant-openstack-provider` with default require: `vagrant-openstack-provider`
 INFO manager: Registered plugin: Openstack Cloud
DEBUG manager: Successfully loaded plugin `vagrant-openstack-provider`.
 INFO loader: Set :root = ["#<Pathname:/root/ostest/Vagrantfile>"]
DEBUG loader: Populating proc cache for #<Pathname:/root/ostest/Vagrantfile>
DEBUG loader: Load procs for pathname: /root/ostest/Vagrantfile
 INFO loader: Loading configuration in order: [:home, :root]
DEBUG loader: Loading from: root (evaluating)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
 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:0x000000000211c0b8>
 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:0x000000000335dba0>
DEBUG checkpoint_client: starting plugin check
 INFO cli: CLI: [] "up" []
DEBUG cli: Invoking command class: VagrantPlugins::CommandUp::Command []
DEBUG checkpoint_client: waiting for checkpoint to complete...
DEBUG checkpoint_client: plugin check complete
DEBUG checkpoint_client: no information received from checkpoint
DEBUG command: 'Up' each target VM...
DEBUG command: Getting target VMs for command. Arguments:
DEBUG command:  -- names: ["default"]
DEBUG command:  -- options: {:provider=>nil}
DEBUG command: Finding machine that match name: default
 INFO loader: Set "26183800_machine_default" = []
 INFO loader: Loading configuration in order: [:home, :root, "26183800_machine_default"]
DEBUG loader: Loading from: root (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
 INFO base: VBoxManage path: VBoxManage
ERROR:  SSL verification error at depth 1: unable to get local issuer certificate (20)
ERROR:  You must add /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA to your local trusted store
ERROR:  SSL verification error at depth 3: unable to get local issuer certificate (20)
ERROR:  You must add /C=US/O=Starfield Technologies, Inc./OU=Starfield Class 2 Certification Authority to your local trusted store
DEBUG environment: Initial usable provider list: [[5, :openstack]]
DEBUG environment: Priority sorted usable provider list: [:openstack]
DEBUG environment: Preferred provider list: []
DEBUG environment: Using provider `openstack` detected in configuration and usable.
 INFO environment: Getting machine: default (openstack)
 INFO environment: Uncached load of machine.
ERROR:  SSL verification error at depth 1: unable to get local issuer certificate (20)
ERROR:  You must add /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA to your local trusted store
ERROR:  SSL verification error at depth 3: unable to get local issuer certificate (20)
ERROR:  You must add /C=US/O=Starfield Technologies, Inc./OU=Starfield Class 2 Certification Authority to your local trusted store
 INFO loader: Set "26183800_machine_default" = []
 INFO loader: Loading configuration in order: [:home, :root, "26183800_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: /root/ostest/.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: /root/ostest>]
DEBUG host: Trying: alt
DEBUG host: Trying: arch
DEBUG host: Trying: darwin
DEBUG host: Trying: freebsd
DEBUG host: Trying: gentoo
DEBUG host: Trying: redhat
DEBUG host: Trying: slackware
DEBUG host: Trying: suse
 INFO host: Detected: suse!
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 1 hooks defined.
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x0000000002f9ebb8>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::HandleBox:0x0000000002b8a270>
 INFO handle_box: Skipping HandleBox because no box is set
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000000002a5b340>
 INFO warden: Calling IN action: #<VagrantPlugins::Openstack::Action::ConnectOpenstack:0x0000000002a5b2c8>
2018-11-13 14:30 |  INFO | Authenticating on Keystone
2018-11-13 14:30 |  INFO | Authentication on project  with user USER
2018-11-13 14:30 | DEBUG | request  => method  : POST
2018-11-13 14:30 | DEBUG | request  => url     : https://openstackint.net:5000/v3/auth/tokens
2018-11-13 14:30 | DEBUG | request  => headers : {:content_type=>:json, :accept=>:json}
2018-11-13 14:30 | DEBUG | request  => body    : {"auth":{"identity":{"methods":["password"],"password":{"user":{"name":"USER","domain":{"name":"ldap_users"},"password":"****"}}},"scope":{"project":{"name":"testproject","domain":{"name":"ldap_users"}}}}}
DEBUG vagrant: RestClient.post "https://openstackint.net:5000/v3/auth/tokens", "{\"auth\":{\"identity\":{\"methods\":[\"password\"],\"password\":{\"user\":{\"name\":\"USER\",\"domain\":{\"name\":\"ldap_users\"},\"password\":\"PASSWORD\"}}},\"scope\":{\"project\":{\"name\":\"testproject\",\"domain\":{\"name\":\"ldap_users\"}}}}}", "Accept"=>"application/json", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"207", "Content-Type"=>"application/json", "User-Agent"=>"rest-client/2.0.2 (linux-gnu x86_64) ruby/2.4.4p296"
DEBUG vagrant: # => 401 Unauthorized | application/json 114 bytes
2018-11-13 14:30 | DEBUG | response => code    : 401
2018-11-13 14:30 | DEBUG | response => headers : {:date=>"Tue, 13 Nov 2018 13:30:25 GMT", :server=>"Apache", :www_authenticate=>"Keystone uri=\"https://openstackint.net:5000\"", :content_length=>"114", :vary=>"X-Auth-Token", :x_openstack_request_id=>"req-548936fa-cb7e-4a46-a4be-94feda7eb239", :content_type=>"application/json"}
2018-11-13 14:30 | DEBUG | response => body    : {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}
ERROR warden: Error occurred: Authentication failed.
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO environment: Running hook: environment_unload
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 1 hooks defined.
 INFO runner: Running action: environment_unload #<Vagrant::Action::Builder:0x0000000003048e38>
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<VagrantPlugins::Openstack::Errors::AuthenticationFailed: Authentication failed.>
ERROR vagrant: Authentication failed.
ERROR vagrant: /root/.vagrant.d/gems/2.4.4/gems/vagrant-openstack-provider-0.13.0/lib/vagrant-openstack-provider/client/keystone.rb:51:in `block in authenticate'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/rest-client-2.0.2/lib/restclient/request.rb:807:in `process_result'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/rest-client-2.0.2/lib/restclient/request.rb:725:in `block in transmit'
/tmp/.mount_vagrandpsc9b/usr/lib/ruby/2.4.0/net/http.rb:877:in `start'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/rest-client-2.0.2/lib/restclient/request.rb:715:in `transmit'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/rest-client-2.0.2/lib/restclient/request.rb:145:in `execute'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/rest-client-2.0.2/lib/restclient/request.rb:52:in `execute'
/root/.vagrant.d/gems/2.4.4/gems/vagrant-openstack-provider-0.13.0/lib/vagrant-openstack-provider/client/rest_utils.rb:25:in `post'
/root/.vagrant.d/gems/2.4.4/gems/vagrant-openstack-provider-0.13.0/lib/vagrant-openstack-provider/client/keystone.rb:43:in `authenticate'
/root/.vagrant.d/gems/2.4.4/gems/vagrant-openstack-provider-0.13.0/lib/vagrant-openstack-provider/action/connect_openstack.rb:26:in `execute'
/root/.vagrant.d/gems/2.4.4/gems/vagrant-openstack-provider-0.13.0/lib/vagrant-openstack-provider/action/abstract_action.rb:8:in `call'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/action/warden.rb:34:in `call'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/action/warden.rb:34:in `call'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/action/builtin/handle_box.rb:25:in `call'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/action/warden.rb:34:in `call'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/action/builder.rb:116:in `call'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/action/runner.rb:66:in `block in run'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/util/busy.rb:19:in `busy'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/action/runner.rb:66:in `run'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/machine.rb:239:in `action_raw'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/machine.rb:208:in `block in action'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/machine.rb:190:in `block in action'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/machine.rb:194:in `action'
/root/.vagrant.d/gems/2.4.4/gems/vagrant-openstack-provider-0.13.0/lib/vagrant-openstack-provider/provider.rb:33:in `state'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/machine.rb:526:in `state'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/machine.rb:146:in `initialize'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/vagrantfile.rb:81:in `new'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/vagrantfile.rb:81:in `machine'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/environment.rb:716:in `machine'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/plugin/v2/command.rb:180:in `block in with_target_vms'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/plugin/v2/command.rb:204:in `block in with_target_vms'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/plugin/v2/command.rb:186:in `each'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/plugin/v2/command.rb:186:in `with_target_vms'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/plugins/commands/up/command.rb:87:in `execute'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/cli.rb:54:in `execute'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/lib/vagrant/environment.rb:291:in `cli'
/tmp/.mount_vagrandpsc9b/usr/gembundle/gems/vagrant-2.2.0/bin/vagrant:164:in `<top (required)>'
/tmp/.mount_vagrandpsc9b/usr/gembundle/bin/vagrant:23:in `load'
/tmp/.mount_vagrandpsc9b/usr/gembundle/bin/vagrant:23:in `<main>'
 INFO interface: error: Authentication failed.
Authentication failed.
 INFO interface: Machine: error-exit ["VagrantPlugins::Openstack::Errors::AuthenticationFailed", "Authentication failed."]
dthpulse commented 5 years ago

any help with this?

2018-12-08 22:20 |  INFO | Authenticating on Keystone
2018-12-08 22:20 |  INFO | Authentication on project  with user vagrant_user
2018-12-08 22:20 | DEBUG | request  => method  : POST
2018-12-08 22:20 | DEBUG | request  => url     : https://cloud.net:5000/v3/auth/tokens
2018-12-08 22:20 | DEBUG | request  => headers : {:content_type=>:json, :accept=>:json}
2018-12-08 22:20 | DEBUG | request  => body    : {"auth":{"identity":{"methods":["password"],"password":{"user":{"name":"vagrant_user","domain":{"name":"ldap_users"},"password":"****"}}},"scope":{"project":{"name":"stack","domain":{"name":"ldap_users"}}}}}
2018-12-08 22:20 | DEBUG | response => code    : 401
2018-12-08 22:20 | DEBUG | response => headers : {:date=>"Sat, 08 Dec 2018 21:20:28 GMT", :server=>"Apache", :www_authenticate=>"Keystone uri=\"https://cloud.net:5000\"", :content_length=>"114", :vary=>"X-Auth-Token", :x_openstack_request_id=>"req-c95336b3-7efc-4c35-be5e-51b9b3338733", :content_type=>"application/json"}
2018-12-08 22:20 | DEBUG | response => body    : {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}

I'm able to get token with opnestack command, so there is probably something wrong with plugin:

# openstack token issue
+------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field      | Value                                                                                                                                                                                                                                                   |
+------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| expires    | 2018-12-10T05:53:32+0000                                                                                                                                                                                                                                |
| id         | gAAAAATcDK3cLt_ERi0eG941I-K2_TkZ1JdTPX8qpipE37f_DTWIwsX_uawFp2reisQnGa7wj8LX8JbtZCAELouwJkYNiYHn01suAypOAgxFpuvU4rNC8OXwx60b-iyt6YqV173hYdGlhPlqqMIMcj2SQBUBxWet6Hlts2ABMOHmDtNu59mV8iWkH3hNHMNgxk0RVh2pp9Dnfc4UcQsk-ejqhJro_RvKxiHrJQlKoBIyxayPzTHS8es |
| project_id | a604e143bfcf4a32a4e9864f3rVa19ab                                                                                                                                                                                                                        |
| user_id    | 834e869a9cb5a026a5a284a24960ea4460c7e1e4987cws48581a251703fb339                                                                                                                                                                                        |
+------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
neo123ar commented 4 years ago

same issue

astoycos commented 4 years ago

I have the same issue