fix(backup-ng/new): only list writable SRs for CR/DR (#3085)
Fixes #3050
This commit is contained in:
parent
0c514198bb
commit
0217c51559
@ -22,6 +22,7 @@
|
||||
- [Backup NG] Auto-detect when a full export is necessary.
|
||||
- Fix Load Balancer [#3075](https://github.com/vatesfr/xen-orchestra/issues/3075#event-1685469551) [#3026](https://github.com/vatesfr/xen-orchestra/issues/3026)
|
||||
- [SR stats] Don't scale XAPI iowait values [#2969](https://github.com/vatesfr/xen-orchestra/issues/2969)
|
||||
- [Backup NG] Don't list unusable SRs for CR/DR [#3050](https://github.com/vatesfr/xen-orchestra/issues/3050)
|
||||
|
||||
## **5.20.0** (2018-05-31)
|
||||
|
||||
|
@ -35,6 +35,7 @@ import {
|
||||
deleteSchedule,
|
||||
editBackupNgJob,
|
||||
editSchedule,
|
||||
isSrWritable,
|
||||
subscribeRemotes,
|
||||
} from 'xo'
|
||||
|
||||
@ -630,7 +631,7 @@ export default [
|
||||
tags: constructSmartPattern(tags, normaliseTagValues),
|
||||
type: 'VM',
|
||||
}),
|
||||
srPredicate: ({ srs }) => ({ id }) => !includes(srs, id),
|
||||
srPredicate: ({ srs }) => sr => isSrWritable(sr) && !includes(srs, sr.id),
|
||||
remotePredicate: ({ remotes }) => ({ id }) => !includes(remotes, id),
|
||||
},
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user