Skip to content

Commit

Permalink
Host.join_pool(): update the host's pool after new pool is joined
Browse files Browse the repository at this point in the history
Signed-off-by: Yann Dirson <[email protected]>
  • Loading branch information
ydirson committed Jul 25, 2024
1 parent d40aeb1 commit ec27326
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/host.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,7 @@ def join_pool(self, pool):
lambda: master.xe('host-param-get', {'uuid': self.uuid, 'param-name': 'enabled'}),
f"Wait for pool {master} to see joined host {self} as enabled."
)
self.pool = pool

def activate_smapi_driver(self, driver):
sm_plugins = self.ssh(['grep', '[[:space:]]*sm-plugins[[:space:]]*=[[:space:]]*', XAPI_CONF_FILE]).splitlines()
Expand Down

0 comments on commit ec27326

Please sign in to comment.