Mathieu
9ceba1d6e8
feat(xo-web/jobs): add button to copy jobs IDs ( #5951 )
...
Useful to create a `job.runSequence` job. Follow-up of #5944 .
2021-10-15 14:25:02 +02:00
Pierre Donias
e2e453985f
fix(xo-web/job): properly handle array arguments ( #5944 )
...
See https://xcp-ng.org/forum/topic/5010
When creating/editing a job, properties of type `array` must not go through the
cross product builder, they must be saved as arrays.
2021-10-15 10:42:33 +02:00
Florent BEAUCHAMP
84dccd800f
feat(backups): clean up other schedules snapshots ( #5949 )
...
Fixes xoa-support#4129
2021-10-14 14:44:40 +02:00
Julien Fontanet
f9734d202b
chore(backups/_VmBackup): remove unused import
2021-10-14 13:51:29 +02:00
Julien Fontanet
d3cb0f4672
feat(xo-server): 5.82.4
2021-10-14 09:47:39 +02:00
Julien Fontanet
c198bbb6fa
feat(@xen-orchestra/backups): 0.14.0
2021-10-14 09:45:20 +02:00
Julien Fontanet
c965a89509
feat(xo-server-netbox): 0.3.2
2021-10-14 09:43:38 +02:00
Julien Fontanet
47f9da2160
feat(backups/MixinBackupWriter): use merge worker if not disabled
2021-10-13 16:26:12 +02:00
Julien Fontanet
348a75adb4
feat(backups): merge worker implementation
...
This CLI must be run directly in the directory where the remote is mounted.
It's only compatible with local remote at the moment.
To start the worker:
```js
const MergeWorker = require('@xen-orchestra/backups/merge-worker/index.js')
await MergeWorker.run(remotePath)
```
To register a VM backup dir to be clean (thus merging its unused VHD), create a file in the queue directory containing the VM UUID:
```
> echo cc700fe2-724e-44a5-8663-5f8f88e05e34 > .queue/clean-vm/20211013T142401Z
```
The queue directory is available as `MergeWorker.CLEAN_VM_QUEUE`.
2021-10-13 16:25:21 +02:00
Julien Fontanet
332218a7f7
feat(backups): move merge responsability to cleanVm
2021-10-13 16:10:19 +02:00
Julien Fontanet
6d7a26d2b9
chore(backups/MixinBackupWriter): use private fields
2021-10-13 10:02:57 +02:00
Pierre Donias
d19a748f0c
fix(xo-server-netbox): support older versions of Netbox ( #5946 )
...
Fixes #5898
See https://netbox.readthedocs.io/en/stable/release-notes/version-2.7/#api-choice-fields-now-use-string-values-3569
2021-10-13 09:28:46 +02:00
Julien Fontanet
9c83e70a28
feat(backups/RemoteAdapter#cleanVm): configurable merge limiter
2021-10-12 09:17:42 +02:00
Rajaa.BARHTAOUI
abcabb736b
feat(xo-web/tasks): filter out short tasks with a default filter ( #5941 )
...
See xoa-support#4096
2021-10-08 16:42:16 +02:00
Julien Fontanet
0451aaeb5c
fix(xo-server/vm.import): restore non-multipart upload ( #5936 )
...
See xoa-support#4085
Introduced by fdf52a3d5
Required by `xo-cli`.
2021-10-08 15:24:21 +02:00
Julien Fontanet
880c45830c
fix(xo-cli): http-request-plus@0.12 has no longer default export
...
Introduced by 62e5ab699
2021-10-07 17:11:54 +02:00
Julien Fontanet
5fa16d2344
chore: format with Prettier
2021-10-07 14:40:41 +02:00
Julien Fontanet
9e50b5dd83
feat(proxy): logging is now dynamically configurable
...
It was done for xo-server in f20d5cd8d
2021-10-06 16:54:57 +02:00
Julien Fontanet
29d8753574
chore(backups/VmBackup#_selectBaseVm): add debug logs
2021-10-06 16:48:42 +02:00
Pierre Donias
f93e1e1695
feat: release 5.63.0 ( #5925 )
2021-09-30 15:25:34 +02:00
Pierre Donias
0eaac8fd7a
feat: technical release ( #5924 )
2021-09-30 11:17:45 +02:00
Julien Fontanet
06c71154b9
fix(xen-api/_setHostAddressInUrl): pass params in array
...
Introduced in fb21e4d58
2021-09-30 10:32:12 +02:00
Julien Fontanet
0e8f314dd6
fix(xo-web/new-vm): don't send default networkConfig ( #5923 )
...
Fixes #5918
2021-09-30 09:37:12 +02:00
Florent BEAUCHAMP
f53ec8968b
feat(xo-web/SortedTable): move filter and pagination to top ( #5914 )
2021-09-29 17:35:46 +02:00
Mathieu
919d118f21
feat(xo-web/health): filter duplicated MAC addresses by running VMs ( #5917 )
...
See xoa-support#4054
2021-09-24 17:25:42 +02:00
Mathieu
216b759df1
feat(xo-web/health): hide CR VMs duplicated MAC addresses ( #5916 )
...
See xoa-support#4054
2021-09-24 15:52:34 +02:00
Julien Fontanet
01450db71e
fix(proxy/backup.run): clear error on license issue
...
Fixes https://xcp-ng.org/forum/topic/4901/backups-silently-fail-with-invalid-xo-proxy-license
2021-09-24 13:15:32 +02:00
Julien Fontanet
ed987e1610
fix(proxy/api/ndJsonStream): send JSON-RPC error if whole iteration failed
...
See https://xcp-ng.org/forum/topic/4901/backups-silently-fail-with-invalid-xo-proxy-license
2021-09-24 13:15:24 +02:00
Florent BEAUCHAMP
2773591e1f
feat(xo-web): add go back to ActionButton and use it when saving a backup ( #5913 )
...
See xoa-support#2149
2021-09-24 11:38:37 +02:00
Pierre Donias
a995276d1e
fix(xo-server-netbox): better handle missing uuid
custom field ( #5909 )
...
Fixes #5905
See #5806
See #5834
See xoa-support#3812
- Check if `uuid` custom field has correctly been configured before synchronizing
- Delete VMs that don't have a UUID before synchronizing VMs to avoid conflicts
2021-09-22 18:08:09 +02:00
Nicolas Raynaud
ffb6a8fa3f
feat(VHD import): ensure uploaded file is a VHD ( #5906 )
2021-09-21 16:25:50 +02:00
Pierre Donias
0966efb7f2
fix(xo-server-netbox): handle nested prefixes ( #5908 )
...
See xoa-support#4018
When assigning prefixes to VMs, always pick the smallest prefix that the IP
matches
2021-09-21 09:55:47 +02:00
Julien Fontanet
4a0a708092
feat: release 5.62.1
2021-09-17 10:04:36 +02:00
Julien Fontanet
6bf3b6f3e0
feat(xo-server): 5.82.2
2021-09-17 09:24:32 +02:00
Julien Fontanet
8f197fe266
feat(@xen-orchestra/proxy): 0.14.6
2021-09-17 09:24:05 +02:00
Julien Fontanet
e1a3f680f2
feat(xen-api): 0.34.2
2021-09-17 09:23:28 +02:00
Julien Fontanet
e89cca7e90
feat: technical release
2021-09-17 09:19:26 +02:00
Nicolas Raynaud
5bb2767d62
fix(xo-server/{disk,vm}.import): fix import of very small VMDK files ( #5903 )
2021-09-17 09:17:34 +02:00
Julien Fontanet
95f029e0e7
fix(xen-api/putResource): fix non-stream use case
...
Introduced by ea10df8a92
2021-09-14 17:42:20 +02:00
Julien Fontanet
fb21e4d585
chore(xen-api/_setHostAddressInUrl): use _roCall to fetch network ref
...
Introduced by a84fac1b6
2021-09-14 17:42:20 +02:00
Julien Fontanet
633805cec9
fix(xen-api/_setHostAddressInUrl): correctly fetch network ref
...
Introduced by a84fac1b6
2021-09-14 17:42:20 +02:00
Marc Ungeschikts
b8801d7d2a
"rentention" instead of "retention" ( #5904 )
2021-09-14 16:30:10 +02:00
Julien Fontanet
a84fac1b6a
fix(xen-api/{get,put}Resource): use provided address when possible
...
Fixes #5896
Introduced by ea10df8a92
Don't use the address provided by XAPI when connecting to the pool master and without a default migration network as it will unnecessarily break NATted hosts.
2021-09-14 13:52:34 +02:00
Julien Fontanet
a9de4ceb30
chore(xo-server/config.toml): explicit auth delay is per user
2021-09-12 10:55:31 +02:00
Julien Fontanet
827b55d60c
fix(xo-server/config.toml): typo
2021-09-12 10:54:49 +02:00
Julien Fontanet
0e1fe76b46
chore: update dev deps
2021-09-09 13:48:15 +02:00
Julien Fontanet
097c9e8e12
feat(@xen-orchestra/proxy): 0.14.5
2021-09-07 19:02:57 +02:00
Pierre Donias
266356cb20
fix(xo-server/xapi-objects-to-xo/VM/addresses): handle newline-delimited IPs ( #5897 )
...
See xoa-support#3812
See #5860
This is related to a505cd9
which handled space delimited IPs, but apparently,
IPs can also be newline delimited depending on which Xen tools version is used.
2021-09-03 12:30:47 +02:00
Julien Fontanet
6dba39a804
fix(xo-server/vm.set): fix converting to BIOS ( #5895 )
...
Fixes xoa-support#3991
2021-09-02 14:11:39 +02:00
Olivier Lambert
3ddafa7aca
fix(docs/xoa): clarify first console connection ( #5894 )
2021-09-01 12:51:33 +02:00