Skip to content

Conversation

@cschwede
Copy link
Collaborator

This commit fixes two issues:

  1. Removing a node by hostname only works with the "--ip" flag, otherwise swift-ring-builder won't find the device itself. Using the "--ip" works both with IP addresses and hostnames.

  2. After removing a device it is set to None within the ring, and the metaswap function raises an exception because "dev" is not a dict.

This commit fixes two issues:

1. Removing a node by hostname only works with the "--ip" flag,
   otherwise swift-ring-builder won't find the device itself. Using the
   "--ip" works both with IP addresses and hostnames.

2. After removing a device it is set to None within the ring, and the
   metaswap function raises an exception because "dev" is not a dict.

Signed-off-by: Christian Schwede <[email protected]>
@openshift-ci openshift-ci bot requested review from abays and frenzyfriday November 20, 2025 12:17
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 20, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cschwede

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant