reserved_host_memory_mb should be set to 0 using ironic

Bug #1469950 reported by meizhifang on 2015-06-30
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
puppet-ironic
Low
Unassigned
puppet-nova
Low
Unassigned

Bug Description

In nova.conf,reserved_host_memory_mb default value is 512.But when using ironic,reserved_host_memory_mb must be set to 0.In class nova::compute::ironic,add code "'DEFAULT/reserved_host_memory_mb': value => '0';".

class nova::compute::ironic (
  $admin_user = 'admin',
  $admin_passwd = 'ironic',
  $admin_url = 'http://127.0.0.1:35357/v2.0',
  $admin_tenant_name = 'services',
  $api_endpoint = 'http://127.0.0.1:6385/v1',
) {

  nova_config {
    'ironic/admin_username': value => $admin_user;
    'ironic/admin_password': value => $admin_passwd;
    'ironic/admin_url': value => $admin_url;
    'ironic/admin_tenant_name': value => $admin_tenant_name;
    'ironic/api_endpoint': value => $api_endpoint;
    'DEFAULT/compute_driver': value => 'nova.virt.ironic.IronicDriver';
    'DEFAULT/reserved_host_memory_mb': value => '0';
  }
}

liaonanhai (nanhai-liao) wrote :
Changed in puppet-ironic:
assignee: nobody → liaonanhai (nanhai-liao)
Emilien Macchi (emilienm) wrote :

It should be a Puppet parameter which would be default to 512 (like nova upstream).

Changed in puppet-ironic:
status: New → Incomplete
status: Incomplete → Triaged
Changed in puppet-nova:
status: New → Triaged
Changed in puppet-ironic:
importance: Undecided → Low
Changed in puppet-nova:
importance: Undecided → Low
Changed in puppet-nova:
assignee: nobody → liaonanhai (nanhai-liao)
status: Triaged → In Progress
Changed in puppet-nova:
assignee: liaonanhai (nanhai-liao) → Sebastien Badia (sbadia)
Changed in puppet-nova:
assignee: Sebastien Badia (sbadia) → liaonanhai (nanhai-liao)

Change abandoned by liaonanhai (<email address hidden>) on branch: master
Review: https://review.openstack.org/211872

Matt Fischer (mfisch) on 2016-09-21
Changed in puppet-ironic:
assignee: liaonanhai (nanhai-liao) → nobody
Changed in puppet-nova:
assignee: liaonanhai (nanhai-liao) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers