Compare commits
4 Commits
pool-autop
...
improveFor
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d70da2a960 | ||
|
|
637eb1d2d7 | ||
|
|
86b86c5c99 | ||
|
|
0b8525febe |
@@ -21,6 +21,7 @@
|
|||||||
- [Proxy] Ability to open support tunnel on XO Proxy (PRs [#7126](https://github.com/vatesfr/xen-orchestra/pull/7126) [#7127](https://github.com/vatesfr/xen-orchestra/pull/7127))
|
- [Proxy] Ability to open support tunnel on XO Proxy (PRs [#7126](https://github.com/vatesfr/xen-orchestra/pull/7126) [#7127](https://github.com/vatesfr/xen-orchestra/pull/7127))
|
||||||
- [New network] Remove bonded PIFs from selector when creating network (PR [#7136](https://github.com/vatesfr/xen-orchestra/pull/7136))
|
- [New network] Remove bonded PIFs from selector when creating network (PR [#7136](https://github.com/vatesfr/xen-orchestra/pull/7136))
|
||||||
- Try to preserve current page across reauthentication (PR [#7013](https://github.com/vatesfr/xen-orchestra/pull/7013))
|
- Try to preserve current page across reauthentication (PR [#7013](https://github.com/vatesfr/xen-orchestra/pull/7013))
|
||||||
|
- [XO-WEB/Forget SR] Changed the modal message and added a confirmation text to be sure the action is understood by the user (PR [#7154](https://github.com/vatesfr/xen-orchestra/pull/7154))
|
||||||
|
|
||||||
### Bug fixes
|
### Bug fixes
|
||||||
|
|
||||||
@@ -36,6 +37,7 @@
|
|||||||
- [Self Service] Fix Self users not being able to snapshot VMs when they're members of a user group (PR [#7129](https://github.com/vatesfr/xen-orchestra/pull/7129))
|
- [Self Service] Fix Self users not being able to snapshot VMs when they're members of a user group (PR [#7129](https://github.com/vatesfr/xen-orchestra/pull/7129))
|
||||||
- [Netbox] Fix "The selected cluster is not assigned to this site" error [Forum#7887](https://xcp-ng.org/forum/topic/7887) (PR [#7124](https://github.com/vatesfr/xen-orchestra/pull/7124))
|
- [Netbox] Fix "The selected cluster is not assigned to this site" error [Forum#7887](https://xcp-ng.org/forum/topic/7887) (PR [#7124](https://github.com/vatesfr/xen-orchestra/pull/7124))
|
||||||
- [Backups] Fix `MESSAGE_METHOD_UNKNOWN` during full backup [Forum#7894](https://xcp-ng.org/forum/topic/7894)(PR [#7139](https://github.com/vatesfr/xen-orchestra/pull/7139))
|
- [Backups] Fix `MESSAGE_METHOD_UNKNOWN` during full backup [Forum#7894](https://xcp-ng.org/forum/topic/7894)(PR [#7139](https://github.com/vatesfr/xen-orchestra/pull/7139))
|
||||||
|
- [Resource Set] Fix error displayed after successful VM addition to resource set PR ([#7144](https://github.com/vatesfr/xen-orchestra/pull/7144))
|
||||||
|
|
||||||
### Released packages
|
### Released packages
|
||||||
|
|
||||||
|
|||||||
@@ -444,6 +444,7 @@ export default class {
|
|||||||
|
|
||||||
async shareVmResourceSet(vmId) {
|
async shareVmResourceSet(vmId) {
|
||||||
const xapi = this._app.getXapi(vmId)
|
const xapi = this._app.getXapi(vmId)
|
||||||
|
await xapi.barrier(xapi.getObject(vmId).$ref)
|
||||||
const resourceSetId = xapi.xo.getData(vmId, 'resourceSet')
|
const resourceSetId = xapi.xo.getData(vmId, 'resourceSet')
|
||||||
if (resourceSetId === undefined) {
|
if (resourceSetId === undefined) {
|
||||||
throw new Error('the vm is not in a resource set')
|
throw new Error('the vm is not in a resource set')
|
||||||
|
|||||||
@@ -2372,9 +2372,9 @@ const messages = {
|
|||||||
'This will disconnect each selected SR from its host (local SR) or from every hosts of its pool (shared SR).',
|
'This will disconnect each selected SR from its host (local SR) or from every hosts of its pool (shared SR).',
|
||||||
srForgetModalTitle: 'Forget SR',
|
srForgetModalTitle: 'Forget SR',
|
||||||
srsForgetModalTitle: 'Forget selected SRs',
|
srsForgetModalTitle: 'Forget selected SRs',
|
||||||
srForgetModalMessage: "Are you sure you want to forget this SR? VDIs on this storage won't be removed.",
|
srForgetModalMessage: "Are you sure you want to forget this SR? You will lose all the metadata for it, meaning all the links between the VDIs (disks) and their respective VMs. This operation cannot be undone.",
|
||||||
srsForgetModalMessage:
|
srsForgetModalMessage:
|
||||||
"Are you sure you want to forget all the selected SRs? VDIs on these storages won't be removed.",
|
"Are you sure you want to forget {nPbds, number} SR{nPbds, plural, one {} other {s}}? You will lose all the metadata for it, meaning all the links between the VDIs (disks) and their respective VMs. This operation cannot be undone.",
|
||||||
srAllDisconnected: 'Disconnected',
|
srAllDisconnected: 'Disconnected',
|
||||||
srSomeConnected: 'Partially connected',
|
srSomeConnected: 'Partially connected',
|
||||||
srAllConnected: 'Connected',
|
srAllConnected: 'Connected',
|
||||||
|
|||||||
@@ -2268,15 +2268,31 @@ export const deleteSr = sr =>
|
|||||||
|
|
||||||
export const fetchSrStats = (sr, granularity) => _call('sr.stats', { id: resolveId(sr), granularity })
|
export const fetchSrStats = (sr, granularity) => _call('sr.stats', { id: resolveId(sr), granularity })
|
||||||
|
|
||||||
export const forgetSr = sr =>
|
export const forgetSr = sr => {
|
||||||
confirm({
|
confirm({
|
||||||
title: _('srForgetModalTitle'),
|
title: _('srForgetModalTitle'),
|
||||||
body: _('srForgetModalMessage'),
|
body: (
|
||||||
}).then(() => _call('sr.forget', { id: resolveId(sr) }), noop)
|
<div className='text-warning'>
|
||||||
|
<p className='font-weight-bold'>{_('srForgetModalMessage')}</p>
|
||||||
|
</div>
|
||||||
|
),
|
||||||
|
strongConfirm: {
|
||||||
|
messageId: 'srForget',
|
||||||
|
},
|
||||||
|
}).then(() => _call('sr.forget', { id: resolveId(sr) }), noop);
|
||||||
|
};
|
||||||
|
|
||||||
export const forgetSrs = srs =>
|
export const forgetSrs = srs =>
|
||||||
confirm({
|
confirm({
|
||||||
title: _('srsForgetModalTitle'),
|
title: _('srsForgetModalTitle'),
|
||||||
body: _('srsForgetModalMessage'),
|
body: (
|
||||||
|
<div className='text-warning'>
|
||||||
|
<p className='font-weight-bold'>{_('srsForgetModalMessage')}</p>
|
||||||
|
</div>
|
||||||
|
),
|
||||||
|
strongConfirm: {
|
||||||
|
messageId: 'srsForget',
|
||||||
|
},
|
||||||
}).then(() => Promise.all(map(resolveIds(srs), id => _call('sr.forget', { id }))), noop)
|
}).then(() => Promise.all(map(resolveIds(srs), id => _call('sr.forget', { id }))), noop)
|
||||||
|
|
||||||
export const reconnectAllHostsSr = sr =>
|
export const reconnectAllHostsSr = sr =>
|
||||||
|
|||||||
Reference in New Issue
Block a user