Skip to content

Commit 58fe9df

Browse files
committed
Merge remote-tracking branch 'upstream/main' into fix_ordering_of_storages_with_firstfitleastconsumed
2 parents 65e4a7d + fd24509 commit 58fe9df

File tree

575 files changed

+20886
-8337
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

575 files changed

+20886
-8337
lines changed

.github/linters/.markdown-lint.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,27 +27,15 @@ MD004: false
2727
# MD007/ul-indent Unordered list indentation
2828
MD007: false
2929

30-
# MD009/no-trailing-spaces Trailing spaces
31-
MD009: false
32-
3330
# MD010/no-hard-tabs Hard tabs
3431
MD010: false
3532

36-
# MD012/no-multiple-blanks Multiple consecutive blank lines
37-
MD012: false
38-
3933
# MD013/line-length Line length
4034
MD013: false
4135

4236
# MD014/commands-show-output Dollar signs used before commands without showing output
4337
MD014: false
4438

45-
# MD018/no-missing-space-atx No space after hash on atx style heading
46-
MD018: false
47-
48-
# MD019/no-multiple-space-atx Multiple spaces after hash on atx style heading
49-
MD019: false
50-
5139
# MD022/blanks-around-headings Headings should be surrounded by blank lines
5240
MD022: false
5341

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
# to you under the Apache License, Version 2.0 (the
66
# "License"); you may not use this file except in compliance
77
# with the License. You may obtain a copy of the License at
8-
#
8+
#
99
# http://www.apache.org/licenses/LICENSE-2.0
10-
#
10+
#
1111
# Unless required by applicable law or agreed to in writing,
1212
# software distributed under the License is distributed on an
1313
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ repos:
3434
- id: check-merge-conflict
3535
- id: check-symlinks
3636
- id: check-vcs-permalinks
37-
#- id: check-yaml
37+
- id: check-yaml
3838
- id: destroyed-symlinks
3939
- id: detect-aws-credentials
4040
args: [--allow-missing-credentials]
@@ -59,7 +59,7 @@ repos:
5959
- id: mixed-line-ending
6060
exclude: \.(cs|xml)$
6161
- id: trailing-whitespace
62-
files: \.(header|in|java|md|properties|py|rb|sh|sql|txt|vue|xml|yaml|yml)$
62+
files: \.(cs|bat|css|gitignore|header|in|install|java|md|properties|py|rb|sh|sql|txt|vue|xml|xsl|yaml|yml)$
6363
args: [--markdown-linebreak-ext=md]
6464
exclude: ^services/console-proxy/rdpconsole/src/test/doc/freerdp-debug-log\.txt$
6565
- repo: https://github.com/codespell-project/codespell
@@ -87,7 +87,7 @@ repos:
8787
^setup/bindir/cloud-setup-encryption\.in$|
8888
^venv/.*$
8989
- repo: https://github.com/igorshubovych/markdownlint-cli
90-
rev: v0.40.0
90+
rev: v0.43.0
9191
hooks:
9292
- id: markdownlint
9393
name: run markdownlint

CHANGES.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ Bug ID | Description
242242
[CLOUDSTACK-7722](https://issues.apache.org/jira/browse/CLOUDSTACK-7722) | add.label: Add button for tags show the label not "Add" text...
243243
[CLOUDSTACK-7246](https://issues.apache.org/jira/browse/CLOUDSTACK-7246) | VM deployment failed due to wrong in script name createipalias.sh...
244244

245-
246245
Version 4.4.1
247246
-------------
248247

@@ -276,7 +275,6 @@ Bug ID | Description
276275
[CLOUDSTACK-1632](https://issues.apache.org/jira/browse/CLOUDSTACK-1632) | Mistakes in authorizeSecurityGroup* API docs...
277276
[CLOUDSTACK-401](https://issues.apache.org/jira/browse/CLOUDSTACK-401) | Storage options missing from table...
278277

279-
280278
Version 4.4.0
281279
-------------
282280

@@ -930,7 +928,6 @@ Security Fixes:
930928

931929
* CVE-2012-4501: Apache CloudStack configuration vulnerability
932930

933-
934931
Version 4.0.2
935932
------------------------
936933

@@ -979,7 +976,6 @@ Issues fixed in this release:
979976
* CLOUDSTACK-2090: Upgrade from version 4.0.1 to version 4.0.2 triggers the 4.0.0 to 4.0.1.
980977
* CLOUDSTACK-2091: Error in API documentation for 4.0.x.
981978

982-
983979
Version 4.0.1-incubating
984980
------------------------
985981

@@ -1023,7 +1019,6 @@ Bugs fixed in this release:
10231019
* CLOUDSTACK-961: Installation docs don't detail dependencies for building RPMs
10241020
* CLOUDSTACK-995: Not able to add the KVM host
10251021

1026-
10271022
Version 4.0.0-incubating
10281023
------------------------
10291024

@@ -1056,7 +1051,6 @@ Security Fixes:
10561051

10571052
* CVE-2012-4501: Apache CloudStack configuration vulnerability
10581053

1059-
10601054
Updating this file
10611055
------------------
10621056

CONTRIBUTING.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,9 @@ $ git fetch upstream
5151
$ git rebase upstream/main
5252
```
5353

54-
5554
Making changes
5655
--------------
5756

58-
5957
It is important that you create a new branch to make changes on and that you do not change the `main` branch (other than to rebase in changes from `upstream/main`). In this example I will assume you will be making your changes to a branch called `feature_x`. This `feature_x` branch will be created on your local repository and will be pushed to your forked repository on GitHub. Once this branch is on your fork you will create a Pull Request for the changes to be added to the ACS project.
6058

6159
It is best practice to create a new branch each time you want to contribute to the project and only track the changes for that pull request in this branch.
@@ -70,7 +68,6 @@ $ git commit -a -m "descriptive commit message for your changes"
7068

7169
> The `-b` specifies that you want to create a new branch called `feature_x`. You only specify `-b` the first time you checkout because you are creating a new branch. Once the `feature_x` branch exists, you can later switch to it with only `git checkout feature_x`.
7270
73-
7471
Rebase `feature_x` to include updates from `upstream/main`
7572
------------------------------------------------------------
7673

@@ -92,7 +89,6 @@ $ git rebase main
9289

9390
> Now your `feature_x` branch is up-to-date with all the code in `upstream/main`.
9491
95-
9692
Make a GitHub Pull Request to contribute your changes
9793
-----------------------------------------------------
9894

@@ -107,7 +103,7 @@ $ git push origin main
107103
$ git push origin feature_x
108104
```
109105

110-
Now that the `feature_x` branch has been pushed to your GitHub repository, you can initiate the pull request.
106+
Now that the `feature_x` branch has been pushed to your GitHub repository, you can initiate the pull request.
111107

112108
To initiate the pull request, do the following:
113109

@@ -118,7 +114,6 @@ To initiate the pull request, do the following:
118114

119115
If you are requested to make modifications to your proposed changes, make the changes locally on your `feature_x` branch, re-push the `feature_x` branch to your fork. The existing pull request should automatically pick up the change and update accordingly.
120116

121-
122117
Cleaning up after a successful pull request
123118
-------------------------------------------
124119

ISSUE_TEMPLATE.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,14 @@ New line separated list of affected versions, commit ID for issues on main branc
3535
Information about the configuration if relevant, e.g. basic network, advanced networking, etc. N/A otherwise
3636
-->
3737

38-
3938
##### OS / ENVIRONMENT
4039
<!--
4140
Information about the environment if relevant, N/A otherwise
4241
-->
4342

44-
4543
##### SUMMARY
4644
<!-- Explain the problem/feature briefly -->
4745

48-
4946
##### STEPS TO REPRODUCE
5047
<!--
5148
For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.

PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,8 @@ This PR...
4040
- [ ] Minor
4141
- [ ] Trivial
4242

43-
4443
### Screenshots (if appropriate):
4544

46-
4745
### How Has This Been Tested?
4846

4947
<!-- Please describe in detail how you tested your changes. -->
@@ -53,5 +51,4 @@ This PR...
5351

5452
<!-- see how your change affects other areas of the code, etc. -->
5553

56-
5754
<!-- Please read the [CONTRIBUTING](https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md) document -->

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Apache CloudStack [![Build Status](https://github.com/apache/cloudstack/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/apache/cloudstack/actions/workflows/build.yml) [![UI Build](https://github.com/apache/cloudstack/actions/workflows/ui.yml/badge.svg)](https://github.com/apache/cloudstack/actions/workflows/ui.yml) [![License Check](https://github.com/apache/cloudstack/actions/workflows/rat.yml/badge.svg?branch=main)](https://github.com/apache/cloudstack/actions/workflows/rat.yml) [![Simulator CI](https://github.com/apache/cloudstack/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/apache/cloudstack/actions/workflows/ci.yml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=apache_cloudstack&metric=alert_status)](https://sonarcloud.io/dashboard?id=apache_cloudstack) [![codecov](https://codecov.io/gh/apache/cloudstack/branch/main/graph/badge.svg)](https://codecov.io/gh/apache/cloudstack)
22

3-
[![Apache CloudStack](tools/logo/apache_cloudstack.png)](https://cloudstack.apache.org/)
3+
[![Apache CloudStack](tools/logo/acsxmas.jpg)](https://cloudstack.apache.org/)
44

55
Apache CloudStack is open source software designed to deploy and manage large
66
networks of virtual machines, as a highly available, highly scalable

agent/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<parent>
2525
<groupId>org.apache.cloudstack</groupId>
2626
<artifactId>cloudstack</artifactId>
27-
<version>4.20.0.0-SNAPSHOT</version>
27+
<version>4.21.0.0-SNAPSHOT</version>
2828
</parent>
2929
<dependencies>
3030
<dependency>

agent/src/main/java/com/cloud/agent/resource/consoleproxy/ConsoleProxyResource.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -397,9 +397,8 @@ protected void runInContext() {
397397
}
398398

399399
public String authenticateConsoleAccess(String host, String port, String vmId, String sid, String ticket,
400-
Boolean isReauthentication, String sessionToken) {
401-
402-
ConsoleAccessAuthenticationCommand cmd = new ConsoleAccessAuthenticationCommand(host, port, vmId, sid, ticket, sessionToken);
400+
Boolean isReauthentication, String sessionToken, String clientAddress) {
401+
ConsoleAccessAuthenticationCommand cmd = new ConsoleAccessAuthenticationCommand(host, port, vmId, sid, ticket, sessionToken, clientAddress);
403402
cmd.setReauthenticating(isReauthentication);
404403

405404
ConsoleProxyAuthenticationResult result = new ConsoleProxyAuthenticationResult();

0 commit comments

Comments
 (0)