gate: disk space runs out in some environments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Wishlist
|
Jesse Pretorius | ||
Icehouse |
Fix Released
|
Wishlist
|
Kevin Carter | ||
Juno |
Fix Released
|
Wishlist
|
Kevin Carter | ||
Trunk |
Fix Released
|
Wishlist
|
Jesse Pretorius |
Bug Description
Currently the AIO script mostly uses a single partition in order to do an entire all-in-one build. Sometimes this results in the server running out of disk space, even if there happens to be another partition available with plenty more disk space.
The script does check for a specific alternative partition which is available in the hp instance environment and uses that for the containers if it's there.
It'd be ideal if:
1) The detection of an alternative partition could be generalised (ie some sort of for loop through all alternative devices)
2) The placement of the LXC container vg is made based on the first partition with the right amount of free space
3) The cinder vg should be created on an alternative partition in a vg and should only use a loopback as a fallback option
4) All vg's and lv's should be thin-provisioned
5) loopback_create should be adjusted to allow different ways of building the image (thin or thick) and allow different ways of mounting the image (fstab or rc.local)
Changed in openstack-ansible: | |
milestone: | none → next |
Changed in openstack-ansible: | |
assignee: | nobody → Jesse Pretorius (jesse-pretorius) |
Changed in openstack-ansible: | |
status: | New → In Progress |
Changed in openstack-ansible: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /review. openstack. org/152965 /git.openstack. org/cgit/ stackforge/ os-ansible- deployment/ commit/ ?id=6b12bf36636 9d7b1d0f5bdfbc8 afc05f447363fb
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6b12bf366369d7b 1d0f5bdfbc8afc0 5f447363fb
Author: Jesse Pretorius <email address hidden>
Date: Wed Feb 4 15:51:06 2015 +0000
Implement local scripts for all gate tests
This patch implements the following: ansible. sh which only deploys a selected version of ansible commit. sh which runs all actions required for a gate
configuration - the example configurations can be used as
documentation interfaces. d/aio_interface s.cfg,
etc/rpc_ deploy/ conf.d/ swift.yml and
etc/rpc_ deploy/ rpc_user_ config. yml are now configurations used for /bugs.launchpad .net/bugs/ 1244589 to ensure
- scripts-library.sh which includes commonly used functions, variables
and other preparation commands for all other scripts
- bootstrap-
and ensures that any other requirements are prepared on the
deployment host
- bootstrap-aio.sh which runs all host preparation actions for an
all-in-one build
- gate-check-lint.sh which runs a lint and syntax check
- gate-check-
commit check, utilising the other scripts where required
- run-smoke-test.sh which runs tempest from inside the utility container
- run-playbooks.sh which runs the playbooks
- the existing conf.d/swift.yml is renamed to be an example
- etc/network/
the AIO deployment
- a workaround for https:/
that DHCP checksums are implemented by the host which is required for
the smoke tests to work
- the removal of the rpc heat templates as they're unusable in their
current state
- setting MAX_RETRIES to 0, ensuring that any failures cause an
immediate commit check failure in the gate - this prevents the
masking of failures by retry attempts
DocImpact 55f16510803c8aa 14dc183ac17
Co-Authored-By: Kevin Carter <email address hidden>
Closes-Bug: #1415883
Closes-Bug: #1417999
Closes-Bug: #1419807
Change-Id: I95242d48ad0fb0