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

Plugin isn't ran while using OpenStack as the provider #81

Open
rhjhunt opened this issue May 17, 2016 · 1 comment
Open

Plugin isn't ran while using OpenStack as the provider #81

rhjhunt opened this issue May 17, 2016 · 1 comment

Comments

@rhjhunt
Copy link

rhjhunt commented May 17, 2016

When using OpenStack as a provider the vagrant-registration plugin doesn't seem to run:

$ vup --provider=openstack Bringing machine 'jhunt-sat62' up with 'openstack' provider... ==> jhunt-sat62: Finding flavor for server... ==> jhunt-sat62: Finding image for server... ==> jhunt-sat62: Launching a server with the following settings... ==> jhunt-sat62: -- Tenant : GSS TAM ==> jhunt-sat62: -- Name : jhunt-sat62 ==> jhunt-sat62: -- Flavor : m1.small ==> jhunt-sat62: -- FlavorRef : 83098b08-7339-4089-bc07-3f2a14b7a4c1 ==> jhunt-sat62: -- Image : rhel-guest-image-7.1-20150224.0.x86_64 ==> jhunt-sat62: -- ImageRef : da47214f-5a10-4d44-8175-cfaf354b1148 ==> jhunt-sat62: -- KeyPair : jhunt-key ==> jhunt-sat62: Waiting for the server to be built... /home/jhunt/.vagrant.d/gems/gems/vagrant-openstack-provider-0.7.2/lib/vagrant-openstack-provider/action/create_server.rb:134:inwaiting_for_server_to_be_built': Object#timeout is deprecated, use Timeout.timeout instead.
==> jhunt-sat62: Using floating IP 10.3.11.65
==> jhunt-sat62: Waiting for machine to boot. This may take a few minutes...
jhunt-sat62: SSH address: 10.3.8.173:22
jhunt-sat62: SSH username: cloud-user
jhunt-sat62: SSH auth method: private key
jhunt-sat62: Warning: Connection refused. Retrying...
==> jhunt-sat62: Machine booted and ready!
==> jhunt-sat62: Rsyncing folder: /home/jhunt/vagrant/openstack-satellite/ => /vagrant
==> jhunt-sat62: Setting time zone...
`
But on a destroy, it does try to unregister....

$ vdestroy ==> jhunt-sat62: Unregistering box with vagrant-registration... ==> jhunt-sat62: Deleting server... ==> jhunt-sat62: Waiting for the server to be deleted...

@pvalena
Copy link
Contributor

pvalena commented May 18, 2016

Hi,
it seems there needs to be a provider-specific hook, similar to

Hooked ideally, right after
==> jhunt-sat62: Machine booted and ready!
is run.

@hferentschik hferentschik changed the title registration plugin isn't ran while using OpenStack as the provider Plugin isn't ran while using OpenStack as the provider Jun 13, 2016
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

2 participants