Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2018
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.67 KB | None | 0 0
  1.  
  2. Configuring GitLab package...
  3.  
  4.  
  5. /opt/gitlab/embedded/bin/runsvdir-start: line 37: /proc/sys/fs/file-max: Read-only file system
  6.  
  7.  
  8. JSON file with existing configuration not found inside /opt/gitlab/embedded/nodes.
  9.  
  10.  
  11. Skipping config check.
  12.  
  13.  
  14. gitlab preinstall:
  15.  
  16.  
  17. gitlab preinstall: This node does not appear to be running a database
  18.  
  19.  
  20. gitlab preinstall: Skipping version check, if you think this is an error exit now
  21.  
  22.  
  23. gitlab preinstall:
  24.  
  25.  
  26. Configuring GitLab...
  27.  
  28.  
  29. Starting Chef Client, version 13.6.4
  30.  
  31.  
  32. resolving cookbooks for run list: ["gitlab"]
  33.  
  34.  
  35. Synchronizing Cookbooks:
  36.  
  37.  
  38. - gitlab (0.0.1)
  39.  
  40.  
  41. - package (0.1.0)
  42.  
  43.  
  44. - registry (0.1.0)
  45.  
  46.  
  47. - postgresql (0.1.0)
  48.  
  49.  
  50. - mattermost (0.1.0)
  51.  
  52.  
  53. - consul (0.0.0)
  54.  
  55.  
  56. - gitaly (0.1.0)
  57.  
  58.  
  59. - letsencrypt (0.1.0)
  60.  
  61.  
  62. - nginx (0.1.0)
  63.  
  64.  
  65. - runit (0.14.2)
  66.  
  67.  
  68. - crond (0.1.0)
  69.  
  70.  
  71. - acme (3.1.0)
  72.  
  73.  
  74. - compat_resource (12.19.0)
  75.  
  76.  
  77. Installing Cookbook Gems:
  78.  
  79.  
  80. Compiling Cookbooks...
  81.  
  82.  
  83. Recipe: gitlab::default
  84.  
  85.  
  86. * directory[/etc/gitlab] action create (up to date)
  87.  
  88.  
  89. Converging 474 resources
  90.  
  91.  
  92. * directory[/etc/gitlab] action create (up to date)
  93.  
  94.  
  95. * directory[Create /var/opt/gitlab] action create (up to date)
  96.  
  97.  
  98. * directory[/opt/gitlab/embedded/etc] action create
  99.  
  100.  
  101. - create new directory /opt/gitlab/embedded/etc
  102.  
  103.  
  104. - change mode from '' to '0755'
  105.  
  106.  
  107. - change owner from '' to 'root'
  108.  
  109.  
  110. - change group from '' to 'root'
  111.  
  112.  
  113. * template[/opt/gitlab/embedded/etc/gitconfig] action create
  114.  
  115.  
  116. - create new file /opt/gitlab/embedded/etc/gitconfig
  117.  
  118.  
  119. - update content in file /opt/gitlab/embedded/etc/gitconfig from none to 987af3
  120.  
  121.  
  122. --- /opt/gitlab/embedded/etc/gitconfig 2018-07-22 16:32:30.326093883 +0000
  123.  
  124.  
  125. +++ /opt/gitlab/embedded/etc/.chef-gitconfig20180722-42-jowa1p 2018-07-22 16:32:30.326093883 +0000
  126.  
  127.  
  128. @@ -1 +1,11 @@
  129.  
  130.  
  131. +[pack]
  132.  
  133.  
  134. + threads = 1
  135.  
  136.  
  137. +[receive]
  138.  
  139.  
  140. + fsckObjects = true
  141.  
  142.  
  143. +advertisePushOptions = true
  144.  
  145.  
  146. +[repack]
  147.  
  148.  
  149. + writeBitmaps = true
  150.  
  151.  
  152. +[transfer]
  153.  
  154.  
  155. + hideRefs=^refs/tmp/
  156.  
  157.  
  158. +hideRefs=^refs/keep-around/
  159.  
  160.  
  161. - change mode from '' to '0755'
  162.  
  163.  
  164. Recipe: gitlab::web-server
  165.  
  166.  
  167. * account[Webserver user and group] action create (up to date)
  168.  
  169.  
  170. Recipe: gitlab::users
  171.  
  172.  
  173. * directory[/var/opt/gitlab] action create (up to date)
  174.  
  175.  
  176. * account[GitLab user and group] action create (up to date)
  177.  
  178.  
  179. * template[/var/opt/gitlab/.gitconfig] action create (up to date)
  180.  
  181.  
  182. * directory[/var/opt/gitlab/.bundle] action create (up to date)
  183.  
  184.  
  185. Recipe: gitlab::gitlab-shell
  186.  
  187.  
  188. * storage_directory[/var/opt/gitlab/.ssh] action create
  189.  
  190.  
  191. * ruby_block[directory resource: /var/opt/gitlab/.ssh] action run (skipped due to not_if)
  192.  
  193.  
  194. (up to date)
  195.  
  196.  
  197. * directory[/var/log/gitlab/gitlab-shell/] action create (up to date)
  198.  
  199.  
  200. * directory[/var/opt/gitlab/gitlab-shell] action create (up to date)
  201.  
  202.  
  203. * templatesymlink[Create a config.yml and create a symlink to Rails root] action create
  204.  
  205.  
  206. * template[/var/opt/gitlab/gitlab-shell/config.yml] action create (up to date)
  207.  
  208.  
  209. * link[Link /opt/gitlab/embedded/service/gitlab-shell/config.yml to /var/opt/gitlab/gitlab-shell/config.yml] action create
  210.  
  211.  
  212. - create symlink at /opt/gitlab/embedded/service/gitlab-shell/config.yml to /var/opt/gitlab/gitlab-shell/config.yml
  213.  
  214.  
  215.  
  216.  
  217.  
  218. * link[/opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret] action create
  219.  
  220.  
  221. - create symlink at /opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret to /opt/gitlab/embedded/service/gitlab-rails/.gitlab_shell_secret
  222.  
  223.  
  224. * execute[/opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions] action run
  225.  
  226.  
  227. [execute] /opt/gitlab/embedded/lib/ruby/2.4.0/psych.rb:472:in `initialize': Permission denied @ rb_sysopen - /opt/gitlab/embedded/service/gitlab-shell/config.yml (Errno::EACCES)
  228.  
  229.  
  230. from /opt/gitlab/embedded/lib/ruby/2.4.0/psych.rb:472:in `open'
  231.  
  232.  
  233. from /opt/gitlab/embedded/lib/ruby/2.4.0/psych.rb:472:in `load_file'
  234.  
  235.  
  236. from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_config.rb:7:in `initialize'
  237.  
  238.  
  239. from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_logger.rb:117:in `new'
  240.  
  241.  
  242. from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_logger.rb:117:in `<top (required)>'
  243.  
  244.  
  245. from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_keys.rb:4:in `require_relative'
  246.  
  247.  
  248. from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_keys.rb:4:in `<top (required)>'
  249.  
  250.  
  251. from /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys:24:in `require'
  252.  
  253.  
  254. from /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys:24:in `<main>'
  255.  
  256.  
  257.  
  258.  
  259.  
  260. ================================================================================
  261.  
  262.  
  263. Error executing action `run` on resource 'execute[/opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions]'
  264.  
  265.  
  266. ================================================================================
  267.  
  268.  
  269.  
  270.  
  271.  
  272. Mixlib::ShellOut::ShellCommandFailed
  273.  
  274.  
  275. ------------------------------------
  276.  
  277.  
  278. Expected process to exit with [0], but received '1'
  279.  
  280.  
  281. ---- Begin output of /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions ----
  282.  
  283.  
  284. STDOUT:
  285.  
  286.  
  287. STDERR: /opt/gitlab/embedded/lib/ruby/2.4.0/psych.rb:472:in `initialize': Permission denied @ rb_sysopen - /opt/gitlab/embedded/service/gitlab-shell/config.yml (Errno::EACCES)
  288.  
  289.  
  290. from /opt/gitlab/embedded/lib/ruby/2.4.0/psych.rb:472:in `open'
  291.  
  292.  
  293. from /opt/gitlab/embedded/lib/ruby/2.4.0/psych.rb:472:in `load_file'
  294.  
  295.  
  296. from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_config.rb:7:in `initialize'
  297.  
  298.  
  299. from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_logger.rb:117:in `new'
  300.  
  301.  
  302. from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_logger.rb:117:in `<top (required)>'
  303.  
  304.  
  305. from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_keys.rb:4:in `require_relative'
  306.  
  307.  
  308. from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_keys.rb:4:in `<top (required)>'
  309.  
  310.  
  311. from /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys:24:in `require'
  312.  
  313.  
  314. from /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys:24:in `<main>'
  315.  
  316.  
  317. ---- End output of /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions ----
  318.  
  319.  
  320. Ran /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions returned 1
  321.  
  322.  
  323.  
  324.  
  325.  
  326. Resource Declaration:
  327.  
  328.  
  329. ---------------------
  330.  
  331.  
  332. # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/gitlab-shell.rb
  333.  
  334.  
  335.  
  336.  
  337.  
  338. 100: execute "#{gitlab_shell_keys_check} check-permissions" do
  339.  
  340.  
  341. 101: user git_user
  342.  
  343.  
  344. 102: group git_group
  345.  
  346.  
  347. 103: end
  348.  
  349.  
  350. 104:
  351.  
  352.  
  353.  
  354.  
  355.  
  356. Compiled Resource:
  357.  
  358.  
  359. ------------------
  360.  
  361.  
  362. # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/gitlab-shell.rb:100:in `from_file'
  363.  
  364.  
  365.  
  366.  
  367.  
  368. execute("/opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions") do
  369.  
  370.  
  371. action [:run]
  372.  
  373.  
  374. default_guard_interpreter :execute
  375.  
  376.  
  377. command "/opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions"
  378.  
  379.  
  380. backup 5
  381.  
  382.  
  383. group "git"
  384.  
  385.  
  386. returns 0
  387.  
  388.  
  389. user "git"
  390.  
  391.  
  392. declared_type :execute
  393.  
  394.  
  395. cookbook_name "gitlab"
  396.  
  397.  
  398. recipe_name "gitlab-shell"
  399.  
  400.  
  401. domain nil
  402.  
  403.  
  404. end
  405.  
  406.  
  407.  
  408.  
  409.  
  410. System Info:
  411.  
  412.  
  413. ------------
  414.  
  415.  
  416. chef_version=13.6.4
  417.  
  418.  
  419. platform=ubuntu
  420.  
  421.  
  422. platform_version=16.04
  423.  
  424.  
  425. ruby=ruby 2.4.4p296 (2018-03-28 revision 63013) [x86_64-linux]
  426.  
  427.  
  428. program_name=/opt/gitlab/embedded/bin/chef-client
  429.  
  430.  
  431. executable=/opt/gitlab/embedded/bin/chef-client
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438. Running handlers:
  439.  
  440.  
  441. There was an error running gitlab-ctl reconfigure:
  442.  
  443.  
  444.  
  445. execute[/opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions] (gitlab::gitlab-shell line 100) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
  446.  
  447.  
  448. ---- Begin output of /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions ----
  449.  
  450.  
  451. STDOUT:
  452.  
  453.  
  454. STDERR: /opt/gitlab/embedded/lib/ruby/2.4.0/psych.rb:472:in `initialize': Permission denied @ rb_sysopen - /opt/gitlab/embedded/service/gitlab-shell/config.yml (Errno::EACCES)
  455.  
  456.  
  457. from /opt/gitlab/embedded/lib/ruby/2.4.0/psych.rb:472:in `open'
  458.  
  459.  
  460. from /opt/gitlab/embedded/lib/ruby/2.4.0/psych.rb:472:in `load_file'
  461.  
  462.  
  463. from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_config.rb:7:in `initialize'
  464.  
  465.  
  466. from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_logger.rb:117:in `new'
  467.  
  468.  
  469. from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_logger.rb:117:in `<top (required)>'
  470.  
  471.  
  472. from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_keys.rb:4:in `require_relative'
  473.  
  474.  
  475. from /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_keys.rb:4:in `<top (required)>'
  476.  
  477.  
  478. from /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys:24:in `require'
  479.  
  480.  
  481. from /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys:24:in `<main>'
  482.  
  483.  
  484. ---- End output of /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions ----
  485.  
  486.  
  487. Ran /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-keys check-permissions returned 1
  488.  
  489.  
  490.  
  491. Running handlers complete
  492.  
  493.  
  494. Chef Client failed. 5 resources updated in 05 seconds
  495.  
  496.  
  497. Thank you for using GitLab Docker Image!
  498.  
  499.  
  500. Current version: gitlab-ce=11.1.0-ce.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement