We should add support for stretch within puppet phabricator class.
We will need to build some php 7.1 packages for phabricator or backport them from buster.
Current puppet error i get is:
1 | Error: Could not set 'file' on ensure: No such file or directory @ dir_s_mkdir - /etc/php5/apache2/php.ini20180212-21897-15uv7fb.lock at /etc/puppet/modules/phabricator/manifests/init.pp:214 |
---|---|
2 | Error: Could not set 'file' on ensure: No such file or directory @ dir_s_mkdir - /etc/php5/apache2/php.ini20180212-21897-15uv7fb.lock at /etc/puppet/modules/phabricator/manifests/init.pp:214 |
3 | Wrapped exception: |
4 | No such file or directory @ dir_s_mkdir - /etc/php5/apache2/php.ini20180212-21897-15uv7fb.lock |
5 | Error: /Stage[main]/Phabricator/File[/etc/php5/apache2/php.ini]/ensure: change from absent to file failed: Could not set 'file' on ensure: No such file or directory @ dir_s_mkdir - /etc/php5/apache2/php.ini20180212-21897-15uv7fb.lock at /etc/puppet/modules/phabricator/manifests/init.pp:214 |
6 | Notice: /Stage[main]/Phabricator::Vcs/Base::Service_unit[ssh-phab]/Service[ssh-phab]/ensure: ensure changed 'stopped' to 'running' |
7 | Info: /Stage[main]/Phabricator::Vcs/Base::Service_unit[ssh-phab]/Service[ssh-phab]: Unscheduling refresh on Service[ssh-phab] |
8 | Error: Systemd start for phd failed! |
9 | journalctl log for phd: |
10 | -- Logs begin at Mon 2018-02-12 21:10:37 UTC, end at Mon 2018-02-12 22:14:51 UTC. -- |
11 | Feb 12 22:14:51 phabricator-stretch1 systemd[1]: Starting phabricator-phd... |
12 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: [2018-02-12 22:14:51] EXCEPTION: (PhabricatorClusterStrandedException) Unable to establish a connection to any database host (while trying "phabricator_config"). All masters and replicas are completely unreachable. at [<phabricator>/src/infrastructure/storage/lisk/PhabricatorLiskDAO.php:140] |
13 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: arcanist(), phabricator(), phabricator-translations(), phutil(), security(), sprint(), wmf-ext-misc() |
14 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #0 PhabricatorLiskDAO::raiseUnreachable(string) called at [<phabricator>/src/infrastructure/storage/lisk/PhabricatorLiskDAO.php:111] |
15 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #1 PhabricatorLiskDAO::newClusterConnection(string, string, string) called at [<phabricator>/src/infrastructure/storage/lisk/PhabricatorLiskDAO.php:66] |
16 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #2 PhabricatorLiskDAO::establishLiveConnection(string) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:1008] |
17 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #3 LiskDAO::establishConnection(string) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:516] |
18 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #4 LiskDAO::loadRawDataWhere(string, string) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:476] |
19 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #5 LiskDAO::loadAllWhere(string, string) called at [<phabricator>/src/infrastructure/env/PhabricatorConfigDatabaseSource.php:19] |
20 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #6 PhabricatorConfigDatabaseSource::loadConfig(string) called at [<phabricator>/src/infrastructure/env/PhabricatorConfigDatabaseSource.php:7] |
21 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #7 PhabricatorConfigDatabaseSource::__construct(string) called at [<phabricator>/src/infrastructure/env/PhabricatorEnv.php:249] |
22 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #8 PhabricatorEnv::buildConfigurationSourceStack(boolean) called at [<phabricator>/src/infrastructure/env/PhabricatorEnv.php:95] |
23 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #9 PhabricatorEnv::initializeCommonEnvironment(boolean) called at [<phabricator>/src/infrastructure/env/PhabricatorEnv.php:75] |
24 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #10 PhabricatorEnv::initializeScriptEnvironment(boolean) called at [<phabricator>/scripts/init/lib.php:22] |
25 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #11 init_phabricator_script(array) called at [<phabricator>/scripts/init/init-script.php:9] |
26 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #12 require_once(string) called at [<phabricator>/scripts/__init_script__.php:3] |
27 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #13 require_once(string) called at [<phabricator>/scripts/daemon/manage_daemons.php:6] |
28 | Feb 12 22:14:51 phabricator-stretch1 systemd[1]: phd.service: Control process exited, code=exited status=255 |
29 | Feb 12 22:14:51 phabricator-stretch1 systemd[1]: Failed to start phabricator-phd. |
30 | Feb 12 22:14:51 phabricator-stretch1 systemd[1]: phd.service: Unit entered failed state. |
31 | Feb 12 22:14:51 phabricator-stretch1 systemd[1]: phd.service: Failed with result 'exit-code'. |
32 | |
33 | Error: /Stage[main]/Phabricator/Base::Service_unit[phd]/Service[phd]/ensure: change from stopped to running failed: Systemd start for phd failed! |
34 | journalctl log for phd: |
35 | -- Logs begin at Mon 2018-02-12 21:10:37 UTC, end at Mon 2018-02-12 22:14:51 UTC. -- |
36 | Feb 12 22:14:51 phabricator-stretch1 systemd[1]: Starting phabricator-phd... |
37 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: [2018-02-12 22:14:51] EXCEPTION: (PhabricatorClusterStrandedException) Unable to establish a connection to any database host (while trying "phabricator_config"). All masters and replicas are completely unreachable. at [<phabricator>/src/infrastructure/storage/lisk/PhabricatorLiskDAO.php:140] |
38 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: arcanist(), phabricator(), phabricator-translations(), phutil(), security(), sprint(), wmf-ext-misc() |
39 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #0 PhabricatorLiskDAO::raiseUnreachable(string) called at [<phabricator>/src/infrastructure/storage/lisk/PhabricatorLiskDAO.php:111] |
40 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #1 PhabricatorLiskDAO::newClusterConnection(string, string, string) called at [<phabricator>/src/infrastructure/storage/lisk/PhabricatorLiskDAO.php:66] |
41 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #2 PhabricatorLiskDAO::establishLiveConnection(string) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:1008] |
42 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #3 LiskDAO::establishConnection(string) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:516] |
43 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #4 LiskDAO::loadRawDataWhere(string, string) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:476] |
44 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #5 LiskDAO::loadAllWhere(string, string) called at [<phabricator>/src/infrastructure/env/PhabricatorConfigDatabaseSource.php:19] |
45 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #6 PhabricatorConfigDatabaseSource::loadConfig(string) called at [<phabricator>/src/infrastructure/env/PhabricatorConfigDatabaseSource.php:7] |
46 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #7 PhabricatorConfigDatabaseSource::__construct(string) called at [<phabricator>/src/infrastructure/env/PhabricatorEnv.php:249] |
47 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #8 PhabricatorEnv::buildConfigurationSourceStack(boolean) called at [<phabricator>/src/infrastructure/env/PhabricatorEnv.php:95] |
48 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #9 PhabricatorEnv::initializeCommonEnvironment(boolean) called at [<phabricator>/src/infrastructure/env/PhabricatorEnv.php:75] |
49 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #10 PhabricatorEnv::initializeScriptEnvironment(boolean) called at [<phabricator>/scripts/init/lib.php:22] |
50 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #11 init_phabricator_script(array) called at [<phabricator>/scripts/init/init-script.php:9] |
51 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #12 require_once(string) called at [<phabricator>/scripts/__init_script__.php:3] |
52 | Feb 12 22:14:51 phabricator-stretch1 phd[22375]: #13 require_once(string) called at [<phabricator>/scripts/daemon/manage_daemons.php:6] |
53 | Feb 12 22:14:51 phabricator-stretch1 systemd[1]: phd.service: Control process exited, code=exited status=255 |
54 | Feb 12 22:14:51 phabricator-stretch1 systemd[1]: Failed to start phabricator-phd. |
55 | Feb 12 22:14:51 phabricator-stretch1 systemd[1]: phd.service: Unit entered failed state. |
56 | Feb 12 22:14:51 phabricator-stretch1 systemd[1]: phd.service: Failed with result 'exit-code'. |
57 | |
58 | Notice: /Stage[main]/Httpd/Httpd::Mod_conf[php7]/Exec[ensure_present_mod_php7]/returns: ERROR: Module php7 does not exist! |
59 | Error: /usr/sbin/a2enmod php7 returned 1 instead of one of [0] |
60 | Error: /Stage[main]/Httpd/Httpd::Mod_conf[php7]/Exec[ensure_present_mod_php7]/returns: change from notrun to 0 failed: /usr/sbin/a2enmod php7 returned 1 instead of one of [0] |
61 | Notice: /Stage[main]/Phabricator::Aphlict/File[/srv/phab/phabricator//support/aphlict/server/node_modules]: Dependency File[/etc/php5/apache2/php.ini] has failures: true |
62 | Notice: /Stage[main]/Phabricator::Aphlict/File[/srv/phab/phabricator//support/aphlict/server/node_modules]: Dependency Service[phd] has failures: true |
63 | Warning: /Stage[main]/Phabricator::Aphlict/File[/srv/phab/phabricator//support/aphlict/server/node_modules]: Skipping because of failed dependencies |
64 | Notice: /Stage[main]/Phabricator::Aphlict/Group[aphlict]: Dependency File[/etc/php5/apache2/php.ini] has failures: true |
65 | Notice: /Stage[main]/Phabricator::Aphlict/Group[aphlict]: Dependency Service[phd] has failures: true |
66 | Warning: /Stage[main]/Phabricator::Aphlict/Group[aphlict]: Skipping because of failed dependencies |
67 | Notice: /Stage[main]/Phabricator::Aphlict/User[aphlict]: Dependency File[/etc/php5/apache2/php.ini] has failures: true |
68 | Notice: /Stage[main]/Phabricator::Aphlict/User[aphlict]: Dependency Service[phd] has failures: true |
69 | Warning: /Stage[main]/Phabricator::Aphlict/User[aphlict]: Skipping because of failed dependencies |
70 | Notice: /Stage[main]/Phabricator::Aphlict/File[/srv/phab/aphlict/config.json]: Dependency File[/etc/php5/apache2/php.ini] has failures: true |
71 | Notice: /Stage[main]/Phabricator::Aphlict/File[/srv/phab/aphlict/config.json]: Dependency Service[phd] has failures: true |
72 | Warning: /Stage[main]/Phabricator::Aphlict/File[/srv/phab/aphlict/config.json]: Skipping because of failed dependencies |
73 | Notice: /Stage[main]/Phabricator::Aphlict/File[/var/run/aphlict/]: Dependency File[/etc/php5/apache2/php.ini] has failures: true |
74 | Notice: /Stage[main]/Phabricator::Aphlict/File[/var/run/aphlict/]: Dependency Service[phd] has failures: true |
75 | Warning: /Stage[main]/Phabricator::Aphlict/File[/var/run/aphlict/]: Skipping because of failed dependencies |
76 | Notice: /Stage[main]/Phabricator::Aphlict/File[/var/log/aphlict/]: Dependency File[/etc/php5/apache2/php.ini] has failures: true |
77 | Notice: /Stage[main]/Phabricator::Aphlict/File[/var/log/aphlict/]: Dependency Service[phd] has failures: true |
78 | Warning: /Stage[main]/Phabricator::Aphlict/File[/var/log/aphlict/]: Skipping because of failed dependencies |
79 | Notice: /Stage[main]/Phabricator::Aphlict/Logrotate::Conf[aphlict]/File[/etc/logrotate.d/aphlict]: Dependency File[/etc/php5/apache2/php.ini] has failures: true |
80 | Notice: /Stage[main]/Phabricator::Aphlict/Logrotate::Conf[aphlict]/File[/etc/logrotate.d/aphlict]: Dependency Service[phd] has failures: true |
81 | Warning: /Stage[main]/Phabricator::Aphlict/Logrotate::Conf[aphlict]/File[/etc/logrotate.d/aphlict]: Skipping because of failed dependencies |
82 | Notice: /Stage[main]/Phabricator::Aphlict/Base::Service_unit[aphlict]/File[/lib/systemd/system/aphlict.service]: Dependency File[/etc/php5/apache2/php.ini] has failures: true |
83 | Notice: /Stage[main]/Phabricator::Aphlict/Base::Service_unit[aphlict]/File[/lib/systemd/system/aphlict.service]: Dependency Service[phd] has failures: true |
84 | Warning: /Stage[main]/Phabricator::Aphlict/Base::Service_unit[aphlict]/File[/lib/systemd/system/aphlict.service]: Skipping because of failed dependencies |
85 | Notice: /Stage[main]/Phabricator::Aphlict/Base::Service_unit[aphlict]/Exec[systemd reload for aphlict]: Dependency File[/etc/php5/apache2/php.ini] has failures: true |
86 | Notice: /Stage[main]/Phabricator::Aphlict/Base::Service_unit[aphlict]/Exec[systemd reload for aphlict]: Dependency Service[phd] has failures: true |
87 | Warning: /Stage[main]/Phabricator::Aphlict/Base::Service_unit[aphlict]/Exec[systemd reload for aphlict]: Skipping because of failed dependencies |
88 | Notice: /Stage[main]/Phabricator::Aphlict/Base::Service_unit[aphlict]/Service[aphlict]: Dependency File[/etc/php5/apache2/php.ini] has failures: true |
89 | Notice: /Stage[main]/Phabricator::Aphlict/Base::Service_unit[aphlict]/Service[aphlict]: Dependency Service[phd] has failures: true |
90 | Warning: /Stage[main]/Phabricator::Aphlict/Base::Service_unit[aphlict]/Service[aphlict]: Skipping because of failed dependencies |
91 | Notice: /Stage[main]/Httpd/Service[apache2]: Dependency File[/etc/php5/apache2/php.ini] has failures: true |
92 | Notice: /Stage[main]/Httpd/Service[apache2]: Dependency Exec[ensure_present_mod_php7] has failures: true |
93 | Warning: /Stage[main]/Httpd/Service[apache2]: Skipping because of failed dependencies |
94 | Info: Stage[main]: Unscheduling all events on Stage[main] |
95 | Notice: Applied catalog in 8.20 seconds |