redhat-openstack / tripleo-quickstart

Ansible roles for setting up TripleO virtual environments and building images
16 stars 15 forks source link

flavor disk size too small to deploy overcloud #8

Closed judge-red closed 8 years ago

judge-red commented 8 years ago

Following the instructions at: https://www.rdoproject.org/testday/mitaka/milestone3/ https://www.rdoproject.org/rdo-manager/ http://docs.openstack.org/developer/tripleo-docs/basic_deployment/basic_deployment_cli.html#upload-images (on CentOS 7, without any special configuration), the overcloud deployment will fail when executing openstack overcloud deploy --templates.

The error given was:

2016-03-02 13:51:58 [Controller]: CREATE_IN_PROGRESS state changed
2016-03-02 13:52:03 [NovaCompute]: CREATE_FAILED ResourceInError: resources.NovaCompute: Went to status ERROR due to "Message: Unknown, Code: Unknown"
2016-03-02 13:52:04 [NovaCompute]: DELETE_IN_PROGRESS state changed
2016-03-02 13:52:07 [Controller]: CREATE_FAILED ResourceInError: resources.Controller: Went to status ERROR due to "Message: No valid host was found. There are not enough hosts available., Co
de: 500"
2016-03-02 13:52:07 [Controller]: DELETE_IN_PROGRESS state changed
2016-03-02 13:52:09 [NovaCompute]: DELETE_COMPLETE state changed
2016-03-02 13:52:11 [Controller]: DELETE_COMPLETE state changed

And in /var/log/nova/nova-scheduler.log:

2016-03-02 13:52:02.080 15034 DEBUG nova.scheduler.filters.disk_filter [req-032ace83-c834-4174-bac2-7c7cafde82e2 814e8c92f5af4aafbdf4b31c8fc23c2d 3b74005453a34fa5a06b02555b45a5a8 - - -] (undercloud, 305b7ed6-3c99-47a9-a201-837b86848f3c) ram:4096 disk:39936 io_ops:0 instances:0 does not have 40960 MB usable disk, it only has 39936.0 MB usable disk. host_passes /usr/lib/python2.7/s
ite-packages/nova/scheduler/filters/disk_filter.py:55
2016-03-02 13:52:02.080 15034 INFO nova.filters [req-032ace83-c834-4174-bac2-7c7cafde82e2 814e8c92f5af4aafbdf4b31c8fc23c2d 3b74005453a34fa5a06b02555b45a5a8 - - -] Filter DiskFilter returned 0 hosts

So the disks should be (slightly) bigger.

judge-red commented 8 years ago

Proposed fix: https://review.gerrithub.io/#/c/264903/