Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(V2V/Vsan): better handling of multiple VSAN #8243

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions @xen-orchestra/vmware-explorer/esxi.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,12 @@ export default class Esxi extends EventEmitter {
disk = disk[0]
// filter ram/cdrom/..
if (disk === 'true') {
// the url returned are in the form of https://*/ follower by a short lived link, default 5mn
const fullUrl = new URL(url)
fullUrl.host = this.#host
if (url.indexOf('/*/') > 0) {
// the url returned can be in the form of https://*/ followed by a short-lived link, default 5mn
// in this case, use the vsphere ip/name
fullUrl.host = this.#host
}
const vmdkres = await this.#fetch(fullUrl)
const stream = vmdkres.body
streams[targetId] = stream
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
- [Plugins/usage-report] Prevent the report creation from failing over and over when previous stats file is empty or incorrect (PR [#8240](https://github.com/vatesfr/xen-orchestra/pull/8240))
- [Backups/Logs] Display mirror backup transfer size (PR [#8224](https://github.com/vatesfr/xen-orchestra/pull/8224))
- [Settings/Remotes] Only allow using encryption when using data block storage to prevent errors during backups (PR [#8244](https://github.com/vatesfr/xen-orchestra/pull/8244))
- [V2V] Improve compatiblity whith VSphere hendling multiple vSAN storages (PR [#8243](https://github.com/vatesfr/xen-orchestra/pull/8243))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- [V2V] Improve compatiblity whith VSphere hendling multiple vSAN storages (PR [#8243](https://github.com/vatesfr/xen-orchestra/pull/8243))
- [V2V] Improve compatiblity whith VSphere handling multiple vSAN storages (PR [#8243](https://github.com/vatesfr/xen-orchestra/pull/8243))


### Packages to release

Expand All @@ -46,6 +47,7 @@

- @xen-orchestra/backups patch
- @xen-orchestra/fs minor
- @xen-orchestra/vmware-explorer minor
- @xen-orchestra/web minor
- @xen-orchestra/web-core minor
- xo-server patch
Expand Down
Loading