Commit Graph
100 Commits
Author SHA1 Message Date
Julien Fontanet 887e21daa5 chore: drop Node 4 compat for XO pkgs 2018-08-20 16:49:27 +02:00
Julien Fontanet 266f287774 chore(xen-api): use Babel 7 2018-08-20 15:51:07 +02:00
Julien Fontanet 2236bd71c4 chore: format with Prettier 2018-08-19 16:46:34 +02:00
Julien Fontanet 942ddfa742 feat(xo-server/remotes): sync on use (#3320)
Fixes #2852
2018-08-16 14:39:24 +02:00
Julien Fontanet c23cccf2ce fix(xo-server/remotes): dont change enabled state on errors (#3318)
See #2852
2018-08-14 17:46:10 +02:00
Julien Fontanet 1407fb7bab chore(xo-server/remotes): merge _getRemote() and getRemote() 2018-08-14 17:10:18 +02:00
Julien Fontanet 4ba542b70f chore(xo-server/remotes): inline Remotes#create() 2018-08-14 17:10:18 +02:00
Julien Fontanet 76f75401ee chore(xo-server/remotes): store handler instances 2018-08-14 17:10:18 +02:00
Julien Fontanet 011cc7ad65 chore(xo-server/updateRemote): remove unused error param 2018-08-14 17:10:17 +02:00
Julien Fontanet b966e6097f chore(xo-server/models/Remote): remove save() 2018-08-14 17:10:17 +02:00
Julien Fontanet 809e1a35cd chore(xo-server/models/Acl): inline create() and hash() 2018-08-14 17:10:17 +02:00
Julien Fontanet 8e7e1fccbe chore(xo-server/Model): remove unused validate() 2018-08-14 17:10:16 +02:00
Julien Fontanet e86b30f205 chore(xo-server/Model): remove unused initialize() 2018-08-14 17:10:16 +02:00
Julien Fontanet ececbaf201 fix(xo-server/remotes): properly ignore async errors 2018-08-13 16:55:56 +02:00
Julien Fontanet 1985134d94 chore(xo-server/remotes): use Array#forEach() 2018-08-13 16:55:56 +02:00
Julien Fontanet 2cc59078b1 chore(xo-server/remotes): inline syncAllRemotes() and forgetAllRemotes() 2018-08-13 16:55:56 +02:00
Julien Fontanet 3d4d7db5da feat(xo-server/logs): double number of entries 2018-08-13 16:55:56 +02:00
Julien Fontanet e7467dca8a feat(xo-server/backupNg): support restoring directories (#3300)
See #1924
2018-08-13 13:32:25 +02:00
Julien Fontanet 4a1e87b534 feat(xen-api/cli): add diff() helper 2018-08-13 11:53:56 +02:00
Julien Fontanet 14d023a9f5 feat(xo-server): 5.24.2 2018-08-10 16:50:43 +02:00
Julien Fontanet 2e5e81e93e feat(xen-api): 0.17.1 2018-08-10 16:50:11 +02:00
Julien Fontanet c9cc106be6 feat(xo-server): 5.24.1 2018-08-10 12:57:31 +02:00
Julien Fontanet 29fc17f260 fix(xen-api/putResource): ensure taskRef is not sent on probing
This fix an issue introduced in ba6b9682

Fixes #3293.
2018-08-10 12:41:35 +02:00
Julien Fontanet c7d16fd345 chore(vhd-lib): remove deprecated assert.equal 2018-08-10 11:37:47 +02:00
Julien Fontanet ffe29b8957 feat(xo-server-cloud): 0.2.4 2018-08-10 11:23:38 +02:00
Julien Fontanet be1bd9254d chore: update dependencies 2018-08-10 11:21:59 +02:00
Julien Fontanet cc90d41be4 fix(fs/SMB): rename should replace existing files (#3278)
Fixes #3224
2018-08-08 10:32:08 +02:00
Julien Fontanet d99555a4a8 feat(xo-server/backupNg): remove incomplete XVAs (#3215)
Fixes #3159
2018-07-20 15:29:38 +02:00
Julien Fontanet f00be23e02 chore(package): update eslint-config-standard to 12.0.0-alpha.0 2018-07-20 14:57:13 +02:00
Julien Fontanet ee6025f3ad fix(xo-server/backupNg/migration): migrate reportWhen (#3206)
Fixes #3180
2018-07-20 14:03:07 +02:00
Julien Fontanet 990c0e570d feat(xo-server/backup NG): disable vmTimeout 2018-07-20 13:58:45 +02:00
Julien Fontanet b07b4e3744 Revert "fix(xo-server/jobs): serialize all fields"
This reverts commit d51527b2d8.

Causing too much issues, a new approach is developed in #3209.
2018-07-19 18:39:36 +02:00
Julien Fontanet 6d25e11f72 feat(xo-server/disk.exportContent): print stream errors 2018-07-19 17:35:55 +02:00
Julien Fontanet 16c250e122 chore(xo-server/backupNg/migration): use copyRetention for replication (#3204) 2018-07-19 14:48:17 +02:00
Julien Fontanet e6a10e1ac2 feat(complex-matcher): update docs and changelog 2018-07-19 12:03:00 +02:00
Julien Fontanet 829beb84e2 feat(complex-matcher): regexp support (#3199) 2018-07-19 12:01:57 +02:00
Julien Fontanet 4192abf3c2 fix(tests): workaround a Babel bug for Node 6 2018-07-19 10:21:39 +02:00
Julien Fontanet d51527b2d8 fix(xo-server/jobs): serialize all fields
Otherwise some strings containing valid JSON syntax are incorrectly
transformed.
2018-07-19 10:15:45 +02:00
Julien Fontanet 7dfb1635c2 feat(complex-matcher): add glob pattern support (#3198)
Fixes #3190
2018-07-18 15:06:33 +02:00
Julien Fontanet e58d56a656 chore(complex-matcher/StringNode): bind lcValue to match 2018-07-18 12:37:33 +02:00
Julien Fontanet ecd8265098 chore(xo-web): downgrade modular-cssify to 12
Work around an issue with 14 which breaks in watch mode
2018-07-17 18:19:03 +02:00
Julien Fontanet 19b3c207c7 feat(xo-server/api): disk.importContent (#3193)
See #2432
2018-07-17 12:04:35 +02:00
Julien Fontanet 58d4408909 fix(xo-server/api/disk): coding style 2018-07-17 11:22:00 +02:00
Julien Fontanet 4925e678ed chore: update dependencies 2018-07-17 11:21:45 +02:00
Julien Fontanet 7d14705dcf feat(xo-server/api): disk.exportContent (#3192)
See #2432
2018-07-17 11:08:25 +02:00
Julien Fontanet 5d0040acd1 chore(xo-server/api/vm): remove unnecessary exports 2018-07-17 10:35:38 +02:00
Julien Fontanet 8aa6c6551b feat(vhd-cli/info): support incomplete file 2018-07-17 10:35:38 +02:00
Julien Fontanet aa45032364 feat(fs/smb): implement open/read/close (#3175)
Fixes #3149
2018-07-12 14:55:11 +02:00
Julien Fontanet 3241c426a2 feat(xo-server): add AMAP data on VDI export/import errors (#3172)
Fixes #3157
2018-07-12 11:07:28 +02:00
Julien Fontanet b654cba4b4 chore(xo-server/backups-ng): update TODO list 2018-07-12 10:40:22 +02:00
Julien Fontanet 4bf4de1979 chore(fs/local#_createReadStream): coding style 2018-07-12 10:39:50 +02:00
Julien Fontanet c2c62b20f0 chore(fs/smb#_getClient): remove unnecessary param 2018-07-11 10:23:49 +02:00
Julien Fontanet 46100729b0 feat(xo-web/settings/remotes): warning when creating a local remote (#3142)
Fixes #3105
2018-07-05 10:24:12 +02:00
Julien Fontanet e16971c31a feat(xo-server/backup NG): job level timeout (#3129)
See #2978
2018-07-02 16:21:07 +02:00
Julien Fontanet c95fe164cf feat(vhd-cli): new command merge
See #2792
2018-07-02 14:07:37 +02:00
Julien Fontanet f1964f3380 feat(vhd-lib/mergeVhd): report progress
Fixes #3099
2018-07-02 14:07:37 +02:00
Julien Fontanet 84701cb7e2 fix(xo-server/job.delete): delete related schedules (#3124)
Fixes #3108
2018-06-29 16:20:13 +02:00
Julien Fontanet f8a2f2d3cd Merge branch 'xo/master' 2018-06-29 15:26:25 +02:00
Julien Fontanet 4b092a5a7f chore(docs): prepare for merge 2018-06-29 15:24:53 +02:00
Julien Fontanet 33e8cb81bb chore(PR template): add packages to CHANGELOG 2018-06-28 17:27:53 +02:00
Julien Fontanet e2b29be6a8 feat(xo-web): 5.21.0 2018-06-28 14:19:17 +02:00
Julien Fontanet 6f9dad8999 feat(xo-server): 5.21.0 2018-06-28 14:18:47 +02:00
Julien Fontanet 089cffcca1 feat(xo-server-load-balancer): 0.3.2 2018-06-28 14:14:48 +02:00
Julien Fontanet 88df5a8337 feat(xen-api): 0.16.11 2018-06-28 14:13:35 +02:00
Julien Fontanet 794c1cf89b feat(vhd-lib): 0.2.0 2018-06-28 14:10:08 +02:00
Julien Fontanet 9a5eea6e78 chore(CHANGELOG): 5.21.0 2018-06-28 13:58:44 +02:00
Julien Fontanet 05d10ef985 feat(xo-web/settings/remotes): type defaults to NFS (#3114)
Fixes #3103
2018-06-27 17:04:55 +02:00
Julien Fontanet dc8a7c46e0 feat(xo-server): dont create default remote (#3107)
Related to #3105
2018-06-26 14:47:24 +02:00
Julien Fontanet ee99ef6264 feat(vhd-lib): createContentStream (#3086)
Export the raw content of the VHD as a stream.

This features is exposed in CLI: `vhd-cli raw input.vhd output.raw`

Related to #3083

Perf comparison between qemu-img and our vhd-cli to convert a 10GiB VHD file to raw:

```
> time qemu-img convert -f vpc -O raw origin.vhd expected.raw
1.40user 15.19system 1:01.88elapsed 26%CPU (0avgtext+0avgdata 24264maxresident)k
20979008inputs+20971520outputs (12major+4648minor)pagefaults 0swaps
> time vhd-cli raw origin.vhd actual.raw
21.97user 16.03system 1:09.11elapsed 54%CPU (0avgtext+0avgdata 65208maxresident)k
20956008inputs+20972448outputs (1major+754101minor)pagefaults 0swaps

> md5sum *.raw
b55ec6924be750edd2423e4a7aa262c3  actual.raw
b55ec6924be750edd2423e4a7aa262c3  expected.raw
```
2018-06-20 17:53:20 +02:00
Julien Fontanet cc4e69e631 feat(xo-server): 5.20.3 2018-06-16 17:05:54 +02:00
Julien Fontanet e14fda6e8a feat(xen-api): 0.1.3 2018-06-16 17:05:27 +02:00
Julien Fontanet ec48b77af3 feat(xen-api): add task record to task errors 2018-06-16 15:24:26 +02:00
Julien Fontanet c7d6a19864 fix(xo-server/full backup NG): do not fork if 1 target 2018-06-16 15:24:26 +02:00
Julien Fontanet 7d714c8ce4 feat(xo-server): 5.20.2 2018-06-16 13:51:51 +02:00
Julien Fontanet f70989c3a2 feat(delta NG): fix UUID of existing VHDs 2018-06-16 13:51:03 +02:00
Julien Fontanet 70490988b0 chore(xo-server/backupNg): add parseUuid util function 2018-06-16 13:51:03 +02:00
Julien Fontanet d0795fdded feat(vhd-lib): make footer.{uuid,parentUuid)} a buffer 2018-06-16 13:51:03 +02:00
Julien Fontanet 1c736e9910 feat(xo-web): 5.20.2 2018-06-15 15:35:26 +02:00
Julien Fontanet 62979d5c22 feat(xo-server): 5.20.1 2018-06-15 15:35:00 +02:00
Julien Fontanet ec8a4da73c feat(xo-vmdk-to-vhd): 0.1.3 2018-06-15 15:34:33 +02:00
Julien Fontanet dea1bfee01 feat(xo-server-backup-reports): 0.12.2 2018-06-15 15:32:02 +02:00
Julien Fontanet c18b82504a feat(xen-api): 0.16.10 2018-06-15 15:30:59 +02:00
Julien Fontanet ed5460273f feat(vhd-lib): 0.1.2 2018-06-15 15:27:21 +02:00
Julien Fontanet b91f8b21b9 feat(fs): 0.1.0 2018-06-15 15:26:48 +02:00
Julien Fontanet 5cea18e577 feat(delta NG): check VDIs before export (#3069) 2018-06-15 15:22:12 +02:00
Julien Fontanet 148eaa6a72 fix(xo-server/backup NG): retention checks (#3072)
They were broken by the introduction of `copyRetention`.
2018-06-15 12:13:55 +02:00
Julien Fontanet 79891235f3 chore(CHANGELOG): add missing entry related to prev commit 2018-06-13 15:34:11 +02:00
Julien Fontanet 1e2f72ab6b feat(backup NG): new setting copyRetention (#2976)
Fixes #2895
2018-06-13 15:24:46 +02:00
Julien Fontanet 66d02e3808 feat(xo-server/backup NG): more logs (#3066) 2018-06-13 13:11:03 +02:00
Julien Fontanet 275e1f8f4c chore(xo-server): Xapi#_assertHealthyVdiChains is sync 2018-06-13 12:01:41 +02:00
Julien Fontanet 84dbbb0fbb chore(xo-server/backups-ng): add FIXME 2018-06-13 11:33:05 +02:00
Julien Fontanet a36ef5209c fix(backup NG): only display the concerned tasks (#3063)
Allows us to add other tasks if necessary without breaking xo-web listing and the backup reports.
2018-06-12 13:18:46 +02:00
Julien Fontanet f8be44d746 chore(xo-server): remove Xapi#barrier legacy type param 2018-06-11 18:00:16 +02:00
Julien Fontanet 379253c5ae chore(xen-api): lodash.forEach is unnecessary here 2018-06-11 17:57:02 +02:00
Julien Fontanet aed1ba474c chore(xen-api): remove unnecessary test
`eventWatchers` is defined if event watching is enabled which is always the case here.
2018-06-11 17:55:47 +02:00
Julien Fontanet 26c965faa9 feat(xen-api/examples): handle cancelation 2018-06-11 15:48:43 +02:00
Julien Fontanet 7f88b46f4c chore(xen-api/examples): update deps 2018-06-08 15:36:29 +02:00
Julien Fontanet 4eeb995340 chore(CHANGELOG): update for next release 2018-06-08 10:32:00 +02:00
Julien Fontanet 1d29348e30 feat(xo-server-backup-reports): 0.12.1 2018-06-07 18:46:53 +02:00
Julien Fontanet cffac27d0a feat(xo-server/jobs): implement cancelation (#3046)
Related to #3047

This is the first step toward Backup NG cancelation, the server side stuff should be ok (but need testing), so the next step is to expose it in the UI.
2018-06-07 17:20:06 +02:00