Changed user message, and removed unnecessary log message

Change-Id: I0327757007e6ca34227501fd57baedb35f15d602
This commit is contained in:
melakualehegn 2024-02-01 22:43:13 +00:00 committed by Takashi Kajinami
parent ecda09a14d
commit b4985cb2c9

View File

@ -242,11 +242,9 @@ class FilterScheduler(base.Scheduler):
# traverse this list once.
hosts = self.host_manager.get_all_host_states_share(elevated)
if not hosts:
msg = _("No storage could be allocated for this share "
"request. Share back end services are not "
"ready yet. Contact your administrator in case "
"retrying does not help.")
LOG.error(msg)
msg = _("There are no hosts to fulfill this "
"provisioning request. Are share "
"backend services down?")
self.message_api.create(
context,
message_field.Action.CREATE,