[staypuft] Where are the openstack puppet modules installed?

I managed to install the staypuft plugin, but I can't seem to find the
location of the puppet files with the definitions for openstack. Where are
they located?

The servers are created with the definitions in the different Hosts types,
but when the servers are built, they are not registered with puppet.

IB

More on this. After rebooting the servers, they are failing with the
following error:

puppet agent --test
Error: Could not request certificate: Find
/discovery/certificate/ca?fail_on_404=true resulted in 404 with the
message: Not Found: Could not find environment 'discovery'

BTW, when the servers are discovered, they are added to the discovery
environment.
The hostgroup definition is for servers in the production environment.
When the servers are built, they remain in the discovery environment and
the error message appears.
Modifying the environment of the servers in the gui to production does not
have any effect and continues to issue the same error message.

IB

··· On Wednesday, September 3, 2014 2:24:43 PM UTC-4, Ignacio Bravo wrote: > > I managed to install the staypuft plugin, but I can't seem to find the > location of the puppet files with the definitions for openstack. Where are > they located? > > The servers are created with the definitions in the different Hosts types, > but when the servers are built, they are not registered with puppet. > > > IB > >

Hello Ignacio,

You found new issue. The fix is quite simple [1]. It will be part of new
installer which I plan to release today. Installing of openstack modules from
git was disabled. If you apply the patch manually you should just rerun the
staypuft-installer. Modules will be installed into
/etc/puppet/environments/production/modules/

To explain what happens regarding puppet environments - when you hit the
deploy button, all hosts that are part of a deployment should be automatically
moved to production environment (they were assigned to discover previously).
At the end of provisioning process they should register to puppet (using
autosign on master) so it seems this did not happen.

[1] https://github.com/ares/foreman-installer-staypuft/commit/e4cba9230459648b7508064b2d5629951d5de4d9

Thanks for reports.

··· On Wednesday 03 of September 2014 21:51:19 Ignacio Bravo wrote: > More on this. After rebooting the servers, they are failing with the > following error: > > puppet agent --test > Error: Could not request certificate: Find > /discovery/certificate/ca?fail_on_404=true resulted in 404 with the > message: Not Found: Could not find environment 'discovery' > > BTW, when the servers are discovered, they are added to the discovery > environment. > The hostgroup definition is for servers in the production environment. > When the servers are built, they remain in the discovery environment and > the error message appears. > Modifying the environment of the servers in the gui to production does not > have any effect and continues to issue the same error message. > > IB > > On Wednesday, September 3, 2014 2:24:43 PM UTC-4, Ignacio Bravo wrote: > > I managed to install the staypuft plugin, but I can't seem to find the > > location of the puppet files with the definitions for openstack. Where are > > they located? > > > > The servers are created with the definitions in the different Hosts types, > > but when the servers are built, they are not registered with puppet. > > > > > > IB


Marek