在生产模式下,我有一个基于GitLab的Vagrant的GitLab食谱 VM。我跑得很好,直到今天不得不重新启动主机。
这是我在运行vagrant provision时的输出
$ vagrant provision
[Berkshelf] This version of the Berkshelf plugin has not been fully tested on this version of Vagrant.
[Berkshelf] You should check for a newer version of vagrant-berkshelf.
[Berkshelf] If you encounter any errors with this version, please report them at https://github.com/RiotGames/vagrant-berkshelf/issues
[Berkshelf] You can also join the discussion in #berkshelf on Freenode.
[Berkshelf] Updating Vagrant's berkshelf: '/Users/admin/.berkshelf/default/vagrant/berkshelf-20140116-30359-fggony-default'
[Berkshelf] Using gitlab (0.6.4)
[Berkshelf] Using yum (2.4.2)
[Berkshelf] Installing magic_shell (0.3.2) from git: 'git://github.com/customink-webops/magic_shell.git' with branch: 'master' at ref: '447b4b67420d3a7a749d2dd3b13a7f9aceb54c36'
[Berkshelf] Installing monit (1.4.0) from git: 'git://github.com/phlipper/chef-monit.git' with branch: 'master' at ref: '276c99ba08869ebd5117267d91a2ff6aa0d9fc6b'
[Berkshelf] Using redisio (1.7.0)
[Berkshelf] Using ulimit (0.3.2)
[Berkshelf] Using ruby_build (0.8.0)
[Berkshelf] Using postgresql (3.3.4)
[Berkshelf] Using apt (2.3.0)
[Berkshelf] Using build-essential (1.4.2)
[Berkshelf] Using openssl (1.1.0)
[Berkshelf] Using mysql (4.0.10)
[Berkshelf] Using database (1.5.2)
[Berkshelf] Using aws (1.0.0)
[Berkshelf] Using xfs (1.1.0)
[Berkshelf] Using postfix (3.0.4)
[Berkshelf] Using phantomjs (1.0.3)
[Berkshelf] Using chocolatey (0.0.5)
[Berkshelf] Using powershell (1.1.2)
[Berkshelf] Using windows (1.11.0)
[Berkshelf] Using chef_handler (1.1.4)现在它永远留在这里(超过40分钟).在查看了一些lsof输出之后,我发现Berk大陆架正在从home_git中创建all my文件的备份,其中包含了几GB大小的应用程序和存储库。
ruby 10049 admin 7r REG 1,2 59361467 99893126 /Users/admin/********/home_git/gitlab-satellites/*********/**********/.git/objects/89/61108fd29d60d311dd44b0e4d7ed0ddd7233ee
ruby 10049 admin 8w REG 1,2 56639488 103952415 /Users/admin/.berkshelf/default/tmp/d20140206-10049-1q37zex/gitlab/home_git/gitlab-satellites/********/*********/.git/objects/89/61108fd29d60d311dd44b0e4d7ed0ddd7233ee但是,当我提供VM时,这些文件不需要备份。
问题:
..。或者任何其他提示都是非常受欢迎的!我还试图在没有运气的情况下禁用Berk大陆架。
解决办法
如果我移开home_git文件夹,供应过程就会快速而顺利地进行。
发布于 2014-02-08 17:31:47
伯克货架2需要所有的烹饪书在一个单一的位置,因为它是实时编译元数据要求。Berk大陆架3使用托管的API服务器,因此大多数烹饪书不再是这种情况。
然而,我们把人们从VagrantBerk大陆架推到Test也是毫无价值的,正如本文中所解释的:https://sethvargo.com/the-future-of-vagrant-berkshelf/
https://stackoverflow.com/questions/21611925
复制相似问题