Bug 32601 - Не стартует после установки
Summary: Не стартует после установки
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: puppet (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Andrey Cherepanov
QA Contact: qa-sisyphus
URL:
Keywords:
: 32602 (view as bug list)
Depends on:
Blocks: 32641
  Show dependency tree
 
Reported: 2016-10-12 12:06 MSK by Sergey Novikov
Modified: 2016-10-28 14:20 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 Sergey Novikov 2016-10-12 12:06:29 MSK
Версия: puppet-4.7.0-alt1

окт 12 12:02:15 host-214.localdomain puppet[2279]: <internal:gem_prelude>:4:in `require': cannot load such file -- rubygems.rb (LoadError)
окт 12 12:02:15 host-214.localdomain puppet[2279]:         from <internal:gem_prelude>:4:in `<internal:gem_prelude>'
Comment 1 Sergey Novikov 2016-10-12 12:10:22 MSK
После установки пакета ruby-gem_plugin ошибка изменилась на:
puppet[2365]: cannot load such file -- facter
Comment 2 Andrey Cherepanov 2016-10-12 13:06:54 MSK
Как запускали?
Comment 3 Sergey Novikov 2016-10-12 14:02:06 MSK
Далее установил ruby-facter
Ошибка изменилась на puppet[2439]: cannot load such file -- rgen/ecore/ecore

Далее установил ruby-rgen и по совету из https://bugzilla.altlinux.org/show_bug.cgi?id=30148 установил shadow-change

Всё запустилось.
Comment 4 Sergey Novikov 2016-10-12 14:06:41 MSK
(In reply to comment #2)
> Как запускали?

systemctl start puppet
Comment 5 Anton Farygin 2016-10-12 14:06:51 MSK
(In reply to comment #2)
> Как запускали?

Всё традиционно: systemctl start puppet и дальше смотришь в логи journal.
Comment 6 Andrey Cherepanov 2016-10-13 12:27:50 MSK
*** Bug 32602 has been marked as a duplicate of this bug. ***
Comment 7 Sergey Novikov 2016-10-24 17:12:32 MSK
Еще в зависимости надо добавить компонент shadow-change, без него клиент выдает ошибку:
puppet-agent[2066]:Could not create resources for managing Puppet's files and directories in sections [:main, :agent, :ssl]: undefined method `exists?' for nil:NilClass
puppet-agent[2066]: Could not prepare for execution: Could not create resources for managing Puppet's files and directories in sections [:main, :agent, :ssl]: undefined method `exists?' for nil:NilClass
puppet-agent[2066]: undefined method `exists?' for nil:NilClass
Comment 8 Repository Robot 2016-10-25 17:43:46 MSK
puppet-4.7.0-alt2 -> sisyphus:

* Fri Oct 21 2016 Andrey Cherepanov <cas@altlinux> 4.7.0-alt2
- Fix build without bundled libraries
- Rebuild with fixed ruby autoreq (ALT #32601)
Comment 9 Sergey Novikov 2016-10-28 14:20:03 MSK
Проверил. Все работает. Спасибо.