And*_*ume 2 virtualbox mac-osx osx-lion vagrant
当我运行 vagrant up 以在 Lion 上配置一个新的 VM 时,它需要非常长的时间,在此期间整个 Mac 非常缓慢且无响应。
输出如下,重点是“注意:在754.28秒内完成目录运行”
> vagrant up
[default] Importing base box 'lucid64'...
[default] The guest additions on this VM do not match the install version of
VirtualBox! This may cause things such as forwarded ports, shared
folders, and more to not work properly. If any of those things fail on
this machine, please update the guest additions and repackage the
box.
Guest Additions Version: 4.1.0
VirtualBox Version: 4.1.6
[default] Matching MAC address for NAT networking...
[default] Clearing any previously set forwarded ports...
[default] Forwarding ports...
[default] -- ssh: 22 => 2222 (adapter 1)
[default] -- web: 80 => 4567 (adapter 1)
[default] Creating shared folders metadata...
[default] Running any VM customizations...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] Mounting shared folders...
[default] -- v-root: /vagrant
[default] -- v-data: /var/www
[default] -- manifests: /tmp/vagrant-puppet/manifests
[default] Running provisioner: Vagrant::Provisioners::Puppet...
[default] Running Puppet with lucid64.pp...
[default] stdin: is not a tty
[default] notice: /Stage[main]/Lucid64/Exec[apt-update]/returns: executed successfully
[default]
[default] notice: /Stage[main]/Lucid64/Package[apache2]/ensure: ensure changed 'purged' to 'present'
[default]
[default] notice: /Stage[main]/Lucid64/File[/etc/motd]/ensure: defined content as '{md5}a25e31ba9b8489da9cd5751c447a1741'
[default]
[default] notice: Finished catalog run in 754.28 seconds
[default]
[default] err: /File[/var/lib/puppet/rrd]/ensure: change from absent to directory failed: Could not find group puppet
[default]
[default] err: Could not send report: Got 1 failure(s) while initializing: change from absent to directory failed: Could not find group puppet
[default]
[default] Running provisioner: Vagrant::Provisioners::Puppet...
[default] Running Puppet with lucid64.pp...
[default] stdin: is not a tty
[default] notice: /Stage[main]/Lucid64/Exec[apt-update]/returns: executed successfully
[default]
[default] notice: Finished catalog run in 2.05 seconds
[default]
[default] err: /File[/var/lib/puppet/rrd]: Could not evaluate: Could not find group puppet
[default]
[default] err: Could not send report: Got 1 failure(s) while initializing: Could not evaluate: Could not find group puppet
[default]
[default] Running provisioner: Vagrant::Provisioners::Puppet...
[default] Running Puppet with lucid64.pp...
[default] stdin: is not a tty
[default] notice: /Stage[main]/Lucid64/Exec[apt-update]/returns: executed successfully
[default]
[default] notice: Finished catalog run in 1.36 seconds
[default]
[default] err: /File[/var/lib/puppet/rrd]: Could not evaluate: Could not find group puppet
[default]
[default] err: Could not send report: Got 1 failure(s) while initializing: Could not evaluate: Could not find group puppet
[default]
>
Run Code Online (Sandbox Code Playgroud)
鉴于症状和输出,接下来的步骤是如何解决我所看到的性能问题?
归档时间: |
|
查看次数: |
3429 次 |
最近记录: |