Bug 38422 - Не находит каталогов
Summary: Не находит каталогов
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: puppet (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 major
Assignee: majioa@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-01 07:50 MSK by Andrey Cherepanov
Modified: 2020-05-13 11:10 MSK (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Cherepanov 2020-05-01 07:50:26 MSK
При запуске puppetserver без puppetdb и подключении агента, агент не может получить метаданне. В логах на сервере:

2020-05-01T07:40:51.941+03:00 INFO  [qtp1064840380-32] [puppetserver] Puppet Could not find filesystem info for file 'pluginfacts' in environment production
2020-05-01T07:40:51.949+03:00 INFO  [qtp1064840380-32] [puppetserver] Puppet Not Found: Could not find instances in file_metadata with 'pluginfacts'
2020-05-01T07:40:51.977+03:00 INFO  [qtp1064840380-37] [puppetserver] Puppet Not Found: Could not find file_metadata pluginfacts
2020-05-01T07:40:52.011+03:00 INFO  [qtp1064840380-32] [puppetserver] Puppet Could not find filesystem info for file 'plugins' in environment production
2020-05-01T07:40:52.014+03:00 INFO  [qtp1064840380-32] [puppetserver] Puppet Not Found: Could not find instances in file_metadata with 'plugins'
2020-05-01T07:40:52.096+03:00 INFO  [qtp1064840380-37] [puppetserver] Puppet Not Found: Could not find file_metadata plugins
2020-05-01T07:40:52.130+03:00 INFO  [qtp1064840380-32] [puppetserver] Puppet Could not find filesystem info for file 'locales' in environment production
2020-05-01T07:40:52.134+03:00 INFO  [qtp1064840380-32] [puppetserver] Puppet Not Found: Could not find instances in file_metadata with 'locales'
2020-05-01T07:40:52.172+03:00 INFO  [qtp1064840380-37] [puppetserver] Puppet Not Found: Could not find file_metadata locales
2020-05-01T07:40:52.903+03:00 INFO  [qtp1064840380-32] [puppetserver] Puppet Compiled catalog for ws1.test.alt in environment production in 0.06 seconds

Такой набор каталогов есть и в /etc/puppet/environments/production и в /etc/puppetserver/environments/production.
Comment 1 Andrey Cherepanov 2020-05-01 08:18:03 MSK
Очевидно, сломано в puppet, поскольку в puppet-6.3.0-alt1 был убран патч с исправлением каталогов puppetlabs -> puppet.
Comment 2 Repository Robot 2020-05-13 11:10:59 MSK
puppet-6.15.0-alt2 -> sisyphus:

 Mon May 11 2020 Andrey Cherepanov <cas@altlinux> 6.15.0-alt2
 - Apply useful part of old patch as actual patches and get patch from Debian.
 - Modules are placed into /etc/puppet/code/modules instead of /etc/puppet/modules.
 - Fix retrieving metainfo folders (ALT #38422).
 - Make system-wide directories /usr/share/puppet-modules and /usr/share/puppet-locale.