RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1134073 - Nova default quotas insufficient to deploy baremetal overcloud
Summary: Nova default quotas insufficient to deploy baremetal overcloud
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: instack-undercloud
Version: unspecified
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
: ---
Assignee: James Slagle
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-26 18:44 UTC by Dan Sneddon
Modified: 2016-10-03 13:23 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-03 13:23:59 UTC
Embargoed:


Attachments (Terms of Use)

Description Dan Sneddon 2014-08-26 18:44:16 UTC
Description of problem:
Nova has built-in default quotas of 51200MB of RAM and 20 cores per tenant. When installing RDO via TripleO, if the correct number of cores per baremetal machine and correct amount of RAM is used, the deployment fails. Tested with 12-core systems with 64GB of RAM.

Version-Release number of selected component (if applicable):
2014.1.1-3.fc20

How reproducible:
Every time, following these steps: http://openstack.redhat.com/Deploying_RDO_on_a_Baremetal_Environment_using_Instack

Steps to Reproduce:
1. Run 'sudo yum -y install instack-undercloud'
2. Run 'sudo yum -y install instack-undercloud'
3. Prepare instack.answers file
4. Run 'instack-install-undercloud-packages'
5. Run 'command $(sudo cat /root/stackrc | xargs)' as user stack
6. Run 'instack-prepare-for-overcloud'
7. Deploy overcloud using Heat, Tuskar, or the Horizon web UI.

Actual results:
The deployment fails with an error reporting that the requested ram (65536) exceeds the available ram (51200)

Expected results:
Deployment succeeds

Additional info:
The workaround I used for this was to modify nova quotas:

$ source stackrc
$ keystone tenant-list
copied id of tenant 'admin'

$ nova quota-update --ram 500000 <admin id>
$ nova quota-update --cores 120 <admin id>

This should probably be set to reasonable limits for a baremetal installation for user admin in the 'instack-prepare-for-overcloud' script, or at a minimum the install guide (http://openstack.redhat.com/Deploying_RDO_on_a_Baremetal_Environment_using_Instack) should include instructions for increasing the quota. If possible, maybe the limits can be removed entirely by using -1 for the quotas, but I didn't test that.

Comment 1 Lars Kellogg-Stedman 2015-03-29 01:28:58 UTC
James, this was previously assigned to openstack-nova. It sounds like an instack-undercloud issue to me, and seems like a reasonable idea.  I've reassigned the bz; let me know if you think it should go somewhere else.  Thanks!

Comment 4 James Slagle 2016-10-03 13:23:59 UTC
cleaning up this old bz, we disabled nova quotas in instack-undercloud a while a go


Note You need to log in before you can comment on or make changes to this bug.