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

Cannot upload using latest develop branch #31

Open
vladistan opened this issue Jul 6, 2015 · 0 comments
Open

Cannot upload using latest develop branch #31

vladistan opened this issue Jul 6, 2015 · 0 comments
Labels
Milestone

Comments

@vladistan
Copy link

I am on the latest 'develop' branch commit-id 'd2c47a5'

When I am trying to do vagrant up to bring up new box which hasn't been downloaded from atlas, the plugin downloads the box ok. But when it tries to upload it to the VCenter I get the following message

The Virtual Machine vladistan-trusty64-min was not found in this environment.
This should not happen, please log an issue on Github

Same thing happens when I am doing vagrant up and the box is already downloaded to the vagrant workstation.

The plugin does show the message Uploading [boxname], but the error occurs immediately after this message is shown. I think it doesn't even try to upload anything.

Switching back to tag 'v0.3.2' fixes the issue.

Here is an excerpt from the debug log

DEBUG connect_vcenter: hostname: vcenter55-2
DEBUG connect_vcenter: username: root
DEBUG connect_vcenter: password: <hidden>
 INFO warden: Calling IN action: #<VagrantPlugins::VCenter::Action::InventoryCheck:0x00000102091d90>
DEBUG inventory_check: Checking for box: vladistan-trusty64-min...
DEBUG inventory_check: Sleeping 2.1395028512873253 to avoid race conditions.
 INFO interface: info: Uploading [vladistan-trusty64-min]...
 INFO interface: info: ==> testbox: Uploading [vladistan-trusty64-min]...
==> testbox: Uploading [vladistan-trusty64-min]...
DEBUG inventory_check: OVF File: file:///Users/vlad/.vagrant.d/boxes/vladistan-VAGRANTSLASH-trusty64-min/0.0.6/vmware_ovf/trusty64-min.ovf
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x000001020a5778>
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 1 hooks defined.
 INFO runner: Running action: #<Vagrant::Action::Builder:0x000001041f5590>
 INFO warden: Calling IN action: #<VagrantPlugins::VCenter::Action::IsCreated:0x000001042358e8>
 WARN is_created: VM has not been created
 INFO warden: Calling OUT action: #<VagrantPlugins::VCenter::Action::IsCreated:0x000001042358e8>
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 1 hooks defined.
 INFO runner: Running action: #<Vagrant::Action::Warden:0x00000101153608>
 INFO warden: Calling IN action: #<Proc:0x000001044152f8@/Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/warden.rb:94 (lambda)>
 INFO warden: Calling IN action: #<VagrantPlugins::VCenter::Action::BuildVM:0x00000101153540>
ERROR warden: Error occurred: The Virtual Machine vladistan-trusty64-min was not found in this environment.
This should not happen, please log an issue on Github
@tsugliani tsugliani added the bug label Jul 7, 2015
@tsugliani tsugliani added this to the v0.4.0 milestone Jul 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants