When creating port bindings for ports inside Neutron, Manila
just uses the hostname using "socket.gethostname()" rather
than the one provided via CONF.host
The default behaviour of CONF.host is "socket.gethostname()"
anyways, so it should work just fine.
Reviewed: https:/ /review. opendev. org/c/openstack /manila/ +/896692 /opendev. org/openstack/ manila/ commit/ 809253f3e8ce29b 1cefd7afdb8acc1 eb476f102c
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 809253f3e8ce29b 1cefd7afdb8acc1 eb476f102c
Author: Mohammed Naser <email address hidden>
Date: Wed Sep 27 17:40:40 2023 +0000
Respect provided "host" when plugging ports
When creating port bindings for ports inside Neutron, Manila gethostname( )" rather
just uses the hostname using "socket.
than the one provided via CONF.host
The default behaviour of CONF.host is "socket. gethostname( )"
anyways, so it should work just fine.
Closes-Bug: #2037580 bf356d6363300b2 d420921e7fa
Change-Id: I4181a6f1527c80