Add debug traces for patch install.
This commit is contained in:
parent
738d657c8e
commit
cfc42906b9
@ -313,6 +313,8 @@ export default class Xapi extends XapiBase {
|
||||
return this.getObjectByUuid(uuid)
|
||||
} catch (error) {}
|
||||
|
||||
debug('downloading patch', uuid)
|
||||
|
||||
const patchInfo = (await this._getXenUpdates()).patches[uuid]
|
||||
|
||||
const PATCH_RE = /\.xsupdate$/
|
||||
@ -340,6 +342,8 @@ export default class Xapi extends XapiBase {
|
||||
const patch = await this._getOrUploadPoolPatch(patchUuid)
|
||||
const host = this.getObject(hostId)
|
||||
|
||||
debug('installing patch', patchUuid)
|
||||
|
||||
await this.call('pool_patch.apply', patch.$ref, host.$ref)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user