allow scheduling to disabled manila-share host

Bug #2072552 reported by kiran pawar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Undecided
Unassigned

Bug Description

Problem
=======
When deploying to a dedicated host with scheduler-hints a cloud admin wants to be able to do this even if the service is disabled. The reason for disablement may be:

1) Integration - the backend is being added newly. I want to schedule shares to test if everything is working before making it generally available.
2) maintenance - after a backend upgrade I want to confirm share creation is still working before making it generally available again

Having this would remove the need to do an extra re-start/deployment with a configuration change. Enabling the service can be done via API. We currently don't have a such a procedure, maintenances are done without disabling the backend.

Solution
========
A) If the scheduler gets a request containing scheduler hints it should consider all manila-share backends

 OR

B)[preferred] using scheduler hints the share gets scheduled directly without going to the scheduler

Consider remarks in https://etherpad.opendev.org/p/caracal-ptg-manila-operator-hour

Revision history for this message
Vida Haririan (vhariria) wrote :

See related comments in manila-dalmatian-m2-bugsquash ethercal https://ethercalc.net/o2qsmjpagsfb

Revision history for this message
Vida Haririan (vhariria) wrote :
Changed in manila:
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

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

Changed in manila:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.opendev.org/c/openstack/manila/+/925902
Committed: https://opendev.org/openstack/manila/commit/203a5e325f12d92bbf1edc21f606d4c391ef4268
Submitter: "Zuul (22348)"
Branch: master

commit 203a5e325f12d92bbf1edc21f606d4c391ef4268
Author: Kiran Pawar <email address hidden>
Date: Wed Aug 7 16:33:08 2024 +0000

    Allow scheduling to disabled manila-share host

    - Only allow to admin user and with 'only_host' scheduler hint

    In all other cases, scheduler will ignore disabled host. Please note,
    'disabled' host is up/running(i.e. listening on RPC calls), but
    disabled using share service set API.

    Closes-bug: #2072552
    Change-Id: Iaaa4e274d47cf2eaa0247234f268fdb5ff24461b

Changed in manila:
status: In Progress → Fix Released
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.