[ironic driver] Shards are not properly queried for

Bug #2035286 reported by Jay Faulkner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
In Progress
High
Unassigned

Bug Description

While attempting to setup CI to further validate support for shards, I found the following behavior:

- the ironic api logs showed no shards= being provided in the query
- no nodes showed in the resource inventory, failing CI on this change: https://review.opendev.org/c/openstack/ironic/+/894460

On a held devstack node, I was able to reproduce and resolve the problem by using the proper, plural query string "shards" instead of "shard".

Patch incoming.

Tags: ironic
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/nova/+/894833

Changed in nova:
status: New → In Progress
description: updated
tags: added: bobcat-rc-potential
Changed in nova:
importance: Undecided → High
Revision history for this message
Sylvain Bauza (sylvain-bauza) wrote :
Revision history for this message
Jay Faulkner (jason-oldos) wrote :

Tracking some followups to this here: https://etherpad.opendev.org/p/nova-sharding-rca

The first order problem was:
- OpenStackSDK was not updated to permit querying by shards, and various overrides for forcing microversion and acceptance unknown fields were not functioning.

While this has been fixed in openstacksdk (and 2023.2, which is landing now), we would have to perform a release, get an RFE just to land a minimally tested feature. As a result, we decided to revert sharding as a feature until CI can be introduced that validates it separates nova-computes properly.

Next cycle, we will land sharding alongside support CI to ensure it's fully working before releasing it to users.

Revision history for this message
Sylvain Bauza (sylvain-bauza) wrote :

removing the bobcat-rc-potential tag since we reverted the changes before RC1.

tags: removed: bobcat-rc-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by "Jay Faulkner <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/nova/+/894833
Reason: will not be needed/separate patch for new sharding in C

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.