Ask Your Question
0

Fuel 7.0 missing puppet modules

asked 2016-04-15 10:53:09 -0500

macleanal gravatar image

updated 2016-04-15 12:28:29 -0500

Hello, I'm trying to add a new controller to my Kilo environment but deployment fails:

Error
Deployment has failed. Method granular_deploy. Failed to execute hook 'puppet' Puppet run failed. Check puppet logs for details
---
priority: 2500
fail_on_error: true
type: puppet
uids:
- '142'
- '133'
- '132'
- '131'
- '136'
- '135'
parameters:
  puppet_modules: "/etc/puppet/modules"
  puppet_manifest: "/etc/puppet/modules/osnailyfacter/modular/hiera/hiera.pp"
  timeout: 3600
  cwd: "/"
.
Inspect Astute logs for the details

On my Fuel node in /etc/puppet/ there is:

[root@fuel puppet]# ll
total 36
drwxr-xr-x  4 root root 4096 Jun 23  2015 2014.2.2-6.1
drwxr-xr-x. 4 root root 4096 Jun 16  2015 2014.2-6.0
drwxr-xr-x  4 root root 4096 Apr 15 14:49 2015.1.0-7.0
-rw-r--r--  1 root root 4133 Jan  6  2014 auth.conf
-rw-r--r--. 1 root root    0 Jun 16  2015 hiera.yaml
lrwxrwxrwx  1 root root   34 Apr 15 15:02 manifests -> /etc/puppet/2015.1.0-7.0/manifests
lrwxrwxrwx  1 root root   32 Apr 15 15:02 modules -> /etc/puppet/2015.1.0-7.0/modules
-rw-r--r--  1 root root  853 Jan  6  2014 puppet.conf
-rw-r--r--  1 root root 5851 Apr 15 15:18 update_modules.sh

But in /etc/puppet/2015.1.0-7.0/{modules,manifests} there is nothing:

[root@fuel puppet]# ll 2015.1.0-7.0/{modules,manifests}/
2015.1.0-7.0/manifests/:
total 0

2015.1.0-7.0/modules/:
total 0

So it looks like deployment is failing because 2015.1.0-7.0/ is empty.

My question is where can I find the contents for it?

I have searched and found the update_modules.sh script but when I run it:

[root@fuel puppet]# . update_modules.sh 
-bash: /etc/puppet/puppet/module_versions: No such file or directory

So another missing file...

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-04-15 15:05:46 -0500

macleanal gravatar image

Performed the following steps to solve the problem:

  • Copied the contents of the deployment directory from fuel-library release 7.0 into /etc/puppet/2015.1.0-7.0/ on the Fuel node
  • Used the update_modules.sh script in /etc/puppet/2015.1.0-7.0/ to update the puppet modules
  • Renamed /etc/puppet/2015.1.0-7.0/puppet to /etc/puppet/2015.1.0-7.0/modules because that's what Fuel looks for during deployment
  • Created a symbolic link from /etc/puppet/2015.1.0-7.0/modules to /etc/puppet/modules because it was there before and from what I read, modules/ always has a symbolic link to the directory with the modules of the most current release

Once these steps were taken, deployment with Fuel was successful again.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-04-15 10:53:09 -0500

Seen: 62 times

Last updated: Apr 15 '16