Hey, Francesco, thanks for sharing the manila.conf file.

You would not need the driver_handles_share_servers config opt in your
default section, so you can drop it. Apparently there is a typo in the one you
added to the `service_instance` backend. It is missing an `s` in the end,
so instead of: `driver_handles_share_server=True` it should be
`driver_handles_share_servers=True`.

Hope this helps :)

Regards,
carloss


Em ter., 28 de jan. de 2025 às 10:23, Francesco Di Nucci <francesco.dinucci@na.infn.it> escreveu:

Thank you,

here is my (sanitized) manila.conf file, just the non-commented lines, everything else is set to default. The parameter is added both in the [DEFAULT] and [my-specific-backend] sections, but the error is still the same

By the way, @tkajinam, in puppet-manila/manifests/backend/service_instance.pp there seem to be no parameter driver_handles_share_servers, I set it manually and reloaded the services

Regarding messages on IRC, @carloss dhss=true should be explicitly configured?

Thanks a lot

-- 
Francesco Di Nucci
System Administrator 
Compute & Networking Service, INFN Naples

Email: francesco.dinucci@na.infn.it
On 28/01/25 13:45, Carlos Silva wrote:


Em ter., 28 de jan. de 2025 às 09:30, Takashi Kajinami <kajinamit@oss.nttdata.com> escreveu:
The first thing you may have to check is where the option is defined.
The parameter should be added to the specific backend section,
not the DEFAULT section.

If you can share the snippet from your actual config file, which may contain
  - options defined in the specific backend section
  - [DEFAULT] enabled_share_backends
that may help us get rough understanding about your setup and its current
configuration.

On 1/28/25 8:30 PM, Francesco Di Nucci wrote:
> Hi all,
>
> I'm running OpenStack 2024.1 Caracal, configured through Puppet, and I'm having an issue with Manila.
>
> /etc/manila/manila.conf contains the line "driver_handles_share_servers = True", but setup fails, "/var/log/manila/share.log" reports that "Config opt 'driver_handles_share_servers' has improper value - 'None'. Please define it as boolean."
>
> Has anyone encountered this? Where else should I define this?
>
> Thanks in advance
>