deploy@host:~/kolla/dev/vagrant$ vagrant up
Generating public/private rsa key pair.
Your identification has been saved in ./vagrantkey.
Your public key has been saved in ./vagrantkey.pub.
The key fingerprint is:
2c:42:62:78:94:11:f4:d7:bb:eb:b2:ab:e7:73:ab:7b this-is-vagrant
The key's randomart image is:
+--[ RSA 2048]----+
| .=+ |
| o.. . |
|. + o . . |
| o o . . . |
| . . S |
| . . . |
| . |
| + E. |
| .+*@+. |
+-----------------+
Bringing machine 'operator' up with 'libvirt' provider...
==> operator: Box 'centos/7' could not be found. Attempting to find and install...
operator: Box Provider: libvirt
operator: Box Version: >= 0
==> operator: Loading metadata for box 'centos/7'
operator: URL: https://atlas.hashicorp.com/centos/7
==> operator: Adding box 'centos/7' (v1509.01) for provider: libvirt
operator: Downloading: https://atlas.hashicorp.com/centos/boxes/7/versions/1509.01/providers/libvirt.box
==> operator: Successfully added box 'centos/7' (v1509.01) for 'libvirt'!
/opt/vagrant/embedded/gems/gems/i18n-0.7.0/lib/i18n/config.rb:92:in `block in missing_interpolation_argument_handler': missing interpolation argument :box_virtual_size in "Ignoring requested virtual disk size of '%{requested}' as it is below\nthe minimum box image size of '%{box_virtual_size}'." ({:requested=>40, :minimum=>41} given) (I18n::MissingInterpolationArgument)
from /opt/vagrant/embedded/gems/gems/i18n-0.7.0/lib/i18n/interpolate/ruby.rb:29:in `call'
from /opt/vagrant/embedded/gems/gems/i18n-0.7.0/lib/i18n/interpolate/ruby.rb:29:in `block in interpolate_hash'
from /opt/vagrant/embedded/gems/gems/i18n-0.7.0/lib/i18n/interpolate/ruby.rb:21:in `gsub'
from /opt/vagrant/embedded/gems/gems/i18n-0.7.0/lib/i18n/interpolate/ruby.rb:21:in `interpolate_hash'
from /opt/vagrant/embedded/gems/gems/i18n-0.7.0/lib/i18n/interpolate/ruby.rb:17:in `interpolate'
from /opt/vagrant/embedded/gems/gems/i18n-0.7.0/lib/i18n/backend/base.rb:152:in `interpolate'
from /opt/vagrant/embedded/gems/gems/i18n-0.7.0/lib/i18n/backend/base.rb:41:in `translate'
from /opt/vagrant/embedded/gems/gems/i18n-0.7.0/lib/i18n.rb:158:in `block in translate'
from /opt/vagrant/embedded/gems/gems/i18n-0.7.0/lib/i18n.rb:154:in `catch'
from /opt/vagrant/embedded/gems/gems/i18n-0.7.0/lib/i18n.rb:154:in `translate'
from /home/deploy/.vagrant.d/gems/gems/vagrant-libvirt-0.0.32/lib/vagrant-libvirt/action/handle_box_image.rb:45:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/handle_box.rb:56:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
from /home/deploy/.vagrant.d/gems/gems/vagrant-libvirt-0.0.32/lib/vagrant-libvirt/action/handle_storage_pool.rb:50:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
from /home/deploy/.vagrant.d/gems/gems/vagrant-libvirt-0.0.32/lib/vagrant-libvirt/action/set_name_of_domain.rb:35:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builder.rb:116:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `block in run'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/util/busy.rb:19:in `busy'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `run'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/call.rb:53:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builder.rb:116:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `block in run'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/util/busy.rb:19:in `busy'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `run'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/machine.rb:214:in `action_raw'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/machine.rb:191:in `block in action'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/environment.rb:516:in `lock'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/machine.rb:178:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/machine.rb:178:in `action'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/batch_action.rb:82:in `block (2 levels) in run'
I checked latest centos/7 for vagrant-libvirt image and I found it has virtual_size: 41.
deploy@host:~/.vagrant.d/boxes/centos-VAGRANTSLASH-7/1509.01/libvirt$ cat metadata.json
{"provider": "libvirt", "format": "qcow2", "virtual_size": 41}
To give a bit of context, the centos/7 image was recently updated with a default disk size of 40GB. It used to only come with 10GB so we had to increase the disk size during provisioning to support building kolla images from the operator node.
Now that the image has acceptable default disk size, we should stick with it and remove the disk resize from provision script.