Bug 916615
| Summary: | "preallocate_images" config directive should be added to nova.conf | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Kashyap Chamarthy <kchamart> |
| Component: | openstack-nova | Assignee: | Nikola Dipanov <ndipanov> |
| Status: | CLOSED ERRATA | QA Contact: | Kashyap Chamarthy <kchamart> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.1 | CC: | eglynn, ndipanov |
| Target Milestone: | snapshot5 | Keywords: | Triaged |
| Target Release: | 2.1 | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-nova-2012.2.3-5.el6ost | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-04-04 20:21:47 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Created attachment 707169 [details]
Dist-git patch
VERIFIED. VERIFIED. 1] Version info: #-------------# $ cat /etc/redhat-release ; arch Red Hat Enterprise Linux Server release 6.4 (Santiago) x86_64 #-------------# 2] Ensure the fix is in: #-------------# $ rpm -q openstack-nova --changelog | grep -i 916176 - Add a namespace prefix to glance hardware properties #916176 #-------------# 3] grep for the string 'preallocate_images in conf file #-------------# $ grep -i preallocate_images nova.conf.rpmnew -B4 # VM image preallocation mode: "none" => no storage # provisioning is done up front, "space" => storage is fully # allocated at instance start (string value) #preallocate_images=space #-------------# (NOTE: you see .rpmnew because, I updated an existing nova instance, so any new changes to config files will be saved in .rpmnew files) Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0709.html |
Description of problem: The new "preallocate_images" config directive should be added to nova.conf; currently, it isn't. Search for the string preallocate in nova.conf (after updating to correct pkgs) #-----------------------# [tuser1@interceptor export(keystone_admin)]$ sudo grep -i preallocate /etc/nova/* [tuser1@interceptor export(keystone_admin)]$ #-----------------------# Version Info, and ensure the fix is in : #-----------------------# [tuser1@interceptor export(keystone_admin)]$ rpm -q openstack-nova openstack-nova-2012.2.3-3.el6ost.noarch [tuser1@interceptor export(keystone_admin)]$ #-----------------------# [tuser1@interceptor export(keystone_admin)]$ rpm -q openstack-nova --changelog | grep 891347 - Support preallocated VM images #891347 [tuser1@interceptor export(keystone_admin)]$ #-----------------------# [tuser1@interceptor export(keystone_admin)]$ grep -i preallocate -A4 /usr/lib/python2.6/site-packages/nova/virt/driver.py cfg.StrOpt('preallocate_images', default='none', help='VM image preallocation mode: ' '"none" => no storage provisioning is done up front, ' '"space" => storage is fully allocated at instance start'), [tuser1@interceptor export(keystone_admin)]$ #-----------------------# References: ----------- 1/ Related bz -- https://bugzilla.redhat.com/show_bug.cgi?id=891347 2/ Upstream -- https://review.openstack.org/#/c/22054/