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

CP-49966: Merge master into feature/vm-anti-affinity #5708

Merged

Conversation

BengangY
Copy link
Contributor

@BengangY BengangY commented Jun 19, 2024

Resolve conflicts:
ocaml/idl/schematest.ml
ocaml/xapi-cli-server/cli_frontend.ml
ocaml/xapi-consts/api_errors.ml
ocaml/xapi-types/features.ml
ocaml/xapi-types/features.mli

Will change it to ready after all XenRT testing cases passed.

duobei and others added 30 commits April 15, 2024 13:40
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
CP-47350: Add mustache template for Record/Ref/Class Types
CP-47365: Add mustache template for API messages/errors
CP-47363: Add mustache template for file header

Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
…ed JSON is wanted

Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
…mmonFunctions`

Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
…files

Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Before we got the enums alongside objs,  the readability of code is so poor. We separate to get them now.

Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Just check the fields only we need instead of generalized recursive functions

Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
…unctions

Signed-off-by: xueqingz <xueqing.zhang@citrix.com>
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: xueqingz <xueqing.zhang@citrix.com>
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
changed templates: APIVersions.mustache,APIErrors.mustache, Record.mustache

Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: xueqingz <xueqing.zhang@citrix.com>
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
…lass messages

Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
…h_enums`

Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
minglumlu and others added 26 commits June 14, 2024 10:30
Signed-off-by: Ming Lu <ming.lu@cloud.com>
Remove `package` and `public_name` stanzas for `sexprpp` executable.

Signed-off-by: Gabriel Buica <danutgabriel.buica@cloud.com>
This fixes opam-based builds in xs-opam

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
…/fix-rpm-build

rpm: remove `sexprpp` from public_name
Using alcotest allows us to ignore the output of the scale tests which produced
more than 8 thousand lines, for no good reason.

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
Use it to drop the dependency on ounit in the metadata

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
Use it to drop the dependency on ounit in the metadata

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
Generate wproxy's opam metadata with dune

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
This also reduces amount of time from 27 to 19 seconds in my box

Now the opam metadata is generated by dune

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
Also generate opam metadata with dune

This is the last user of ounit in the repository

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
The go sdk needs to tun tests, and opam needs these to be attached to a
package, so introduce xapi-sdk to do so

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
This allows new packages to be introduces. Otherwise the CI fails when trying
to resolve the depexts of the newly-added package because they don't exist in
any opam repositories

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
Testing: reduce amount of logs produced, drop ounit2
Signed-off-by: Christian Lindig <christian.lindig@cloud.com>
The struture of Http.Url is unfortunate and we currently can't cange it
but we can use a better and more concise implementation using URI.

Signed-off-by: Christian Lindig <christian.lindig@cloud.com>
Signed-off-by: Christian Lindig <christian.lindig@cloud.com>
Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
…o python3/)

Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
Add ``shutdown` to the list of operation that `hard_shutdown` can
cancel.

Currently, ``shutdown` is missing from the list of operation that
`hard_shutdown` needs to cancel.

Signed-off-by: Gabriel Buica <danutgabriel.buica@cloud.com>
Adds ``shutdown` to `vm_operation_table`.

`VM.shutdown` operations were displayed as `(unknown operation)`. This
should display the operation correctly in logs and during `xe task-list`.

Signed-off-by: Gabriel Buica <danutgabriel.buica@cloud.com>
…/CA-394444

CA-394444: `hard_shutdown` stuck behind a `pending` `shutdown`
Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
…dark-mode-and-print

Hugo docs: Add dark mode support, theme variant selector and print
@BengangY BengangY marked this pull request as ready for review June 19, 2024 08:52
@psafont psafont merged commit 6cd2d82 into xapi-project:feature/vm-anti-affinity Jun 19, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.