disable nova action does not work with two numa nodes

Bug #2045674 reported by Anna Savchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Nova Compute Charm
Triaged
Medium
Unassigned

Bug Description

ubuntu@ubuntu-infra-10-01:~$ juju run-action nova-compute/4 disable --wait
unit-nova-compute-4:
  UnitId: nova-compute/4
  id: "1805"
  message: 'Action disable failed: While reading from ''/etc/nova/nova.conf'' [line
    43]: option ''reserved_huge_pages'' in section ''DEFAULT'' already exists'
  results: {}
  status: failed
  timing:
    completed: 2023-11-09 13:13:06 +0000 UTC
    enqueued: 2023-11-09 13:13:02 +0000 UTC
    started: 2023-11-09 13:13:02 +0000 UTC

reserved_huge_pages = node:0,size:1GB,count:4
reserved_huge_pages = node:1,size:1GB,count:4

Juju: 2.9.43
Openstack: yoga
Nova-compute charm: rev_664

Revision history for this message
Felipe Reyes (freyes) wrote :

Hi Anna, thanks for filing this bug, can you provide us the output of "juju config nova-compute reserved-huge-pages" ?

Revision history for this message
Felipe Reyes (freyes) wrote :

According to this documentation - https://docs.openstack.org/nova/latest/configuration/config.html#DEFAULT.reserved_huge_pages - the charm is configuring the reserved_huge_pages key correctly

Revision history for this message
Felipe Reyes (freyes) wrote :

The root cause is that cloud_utils is using Python's stock configparser to parse nova.conf as an ini file, although openstack's file formats are not standard ini files, cloud_utils should be using oslo_config .

https://opendev.org/openstack/charm-nova-compute/src/branch/master/lib/nova_compute/cloud_utils.py#L35

Changed in charm-nova-compute:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Anna Savchenko (annsavchenko) wrote :

Hey Felipe

$ juju config nova-compute reserved-huge-pages
node:0,size:1GB,count:4;node:1,size:1GB,count:4

Revision history for this message
Anna Savchenko (annsavchenko) wrote :

Thanks for looking into this!

Revision history for this message
Felipe Reyes (freyes) wrote : Re: [Bug 2045674] Re: disable nova action does not work with two numa nodes

Is this bug a high priority issue for the testing that SQA does?

On Wed, 2023-12-06 at 08:54 +0000, Anna Savchenko wrote:
> Hey Felipe
>
> $ juju config nova-compute reserved-huge-pages
> node:0,size:1GB,count:4;node:1,size:1GB,count:4
>

Revision history for this message
Anna Savchenko (annsavchenko) wrote :

Hi Felipe, this bug was detected by one of our customers when they tried to scale in during the acceptance testing.

Revision history for this message
Bogdan Suchok (bogdan-sk) wrote :

Hi Felipe! Yes, this is of priority, as it affects the customer live environment. Would you be able to suggest when this is going to be fixed?

Revision history for this message
Felipe Reyes (freyes) wrote :

On Tue, 2024-01-09 at 17:18 +0000, Bogdan Suchok wrote:
> Hi Felipe! Yes, this is of priority, as it affects the customer live
> environment. Would you be able to suggest when this is going to be
> fixed?
>

Hi Bogdan, as I discussed earlier with Anna offline, this is not in our queue to get a fix any time
soon, if this is blocking a FE deployment (or the validation of it), it would be appropriate to use
the one if the field-* tags, so we can treat it with the priority it needs.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.