Project

General

Profile

Actions

Feature #57078

closed

cephadm: cephadm should reconfig iscsi daemons if trusted_ip_list changes

Added by Adam King over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
quincy, pacific
Reviewed:
Affected Versions:
Pull request ID:

Description

in order to add an iscsi daemon as a gateway, the iscsi-gateway.cfg must be identical (other than a few specific fields). Users, if they want to expand their iscsi service, will often add new ips to the trusted ip list. In this case, they may not be able to add the new iscsi daemons as gateways from their original iscsi instances as the new daemons will have a more updated trusted ip list while the older ones will have the old list of trusted ips. Redeploying/reconfiguring the iscsi daemons fixes this, but cephadm should be able to solve this on its own. The error you get when trying to add new gateways when this difference in the iscsi-gateway.cfg exists looks like

/iscsi-target...-igw/gateways> create vm-02 192.168.122.58
Adding gateway, sync'ing 0 disk(s) and 1 client(s)
Failed : /etc/ceph/iscsi-gateway.cfg on vm-02 does not match the local version. Correct and retry request

Related issues 2 (0 open2 closed)

Copied to Orchestrator - Backport #57527: quincy: cephadm: cephadm should reconfig iscsi daemons if trusted_ip_list changesResolvedAdam KingActions
Copied to Orchestrator - Backport #57528: pacific: cephadm: cephadm should reconfig iscsi daemons if trusted_ip_list changesResolvedAdam KingActions
Actions #1

Updated by Adam King over 1 year ago

  • Backport set to quincy, pacific
Actions #2

Updated by Adam King over 1 year ago

  • Pull request ID set to 47521
Actions #3

Updated by Adam King over 1 year ago

  • Status changed from In Progress to Pending Backport
Actions #4

Updated by Backport Bot over 1 year ago

  • Copied to Backport #57527: quincy: cephadm: cephadm should reconfig iscsi daemons if trusted_ip_list changes added
Actions #5

Updated by Backport Bot over 1 year ago

  • Copied to Backport #57528: pacific: cephadm: cephadm should reconfig iscsi daemons if trusted_ip_list changes added
Actions #6

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions #7

Updated by Adam King over 1 year ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF