Skip to content

Commit 71ea894

Browse files
authored
Merge branch 'ablestack-diplo' into ablestack-diplo
2 parents 63176df + d42e5c5 commit 71ea894

File tree

616 files changed

+15833
-12407
lines changed

Some content is hidden

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

616 files changed

+15833
-12407
lines changed

.asf.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ github:
5858
- gpordeus
5959
- hsato03
6060
- bernardodemarco
61+
- abh1sar
6162

6263
protected_branches: ~
6364

.github/linters/.markdown-lint.yml

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
# MD001/heading-increment Heading levels should only increment by one level at a time
19+
MD001: false
20+
21+
# MD003/heading-style Heading style
22+
MD003: false
23+
24+
# MD004/ul-style Unordered list style
25+
MD004: false
26+
27+
# MD007/ul-indent Unordered list indentation
28+
MD007: false
29+
30+
# MD009/no-trailing-spaces Trailing spaces
31+
MD009: false
32+
33+
# MD010/no-hard-tabs Hard tabs
34+
MD010: false
35+
36+
# MD012/no-multiple-blanks Multiple consecutive blank lines
37+
MD012: false
38+
39+
# MD013/line-length Line length
40+
MD013: false
41+
42+
# MD014/commands-show-output Dollar signs used before commands without showing output
43+
MD014: false
44+
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+
51+
# MD022/blanks-around-headings Headings should be surrounded by blank lines
52+
MD022: false
53+
54+
# MD023/heading-start-left Headings must start at the beginning of the line
55+
MD023: false
56+
57+
# MD024/no-duplicate-heading Multiple headings with the same content
58+
MD024: false
59+
60+
# MD025/single-title/single-h1 Multiple top-level headings in the same document
61+
MD025: false
62+
63+
# MD026/no-trailing-punctuation Trailing punctuation in heading
64+
MD026: false
65+
66+
# MD028/no-blanks-blockquote Blank line inside blockquote
67+
MD028: false
68+
69+
# MD029/ol-prefix Ordered list item prefix
70+
MD029: false
71+
72+
# MD031/blanks-around-fences Fenced code blocks should be surrounded by blank lines
73+
MD031: false
74+
75+
# MD032/blanks-around-lists Lists should be surrounded by blank lines
76+
MD032: false
77+
78+
# MD033/no-inline-html Inline HTML
79+
MD033: false
80+
81+
# MD034/no-bare-urls Bare URL used
82+
MD034: false
83+
84+
# MD036/no-emphasis-as-heading Emphasis used instead of a heading
85+
MD036: false
86+
87+
# MD037/no-space-in-emphasis Spaces inside emphasis markers
88+
MD037: false
89+
90+
# MD040/fenced-code-language Fenced code blocks should have a language specified
91+
MD040: false
92+
93+
# MD041/first-line-heading/first-line-h1 First line in a file should be a top-level heading
94+
MD041: false
95+
96+
# MD046/code-block-style Code block style
97+
MD046: false
98+
99+
# MD052/reference-links-images Reference links and images should use a label that is defined
100+
MD052: false

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ jobs:
8686
smoke/test_migration
8787
smoke/test_multipleips_per_nic
8888
smoke/test_nested_virtualization
89-
smoke/test_set_sourcenat",
89+
smoke/test_set_sourcenat
90+
smoke/test_webhook_lifecycle",
9091
"smoke/test_network
9192
smoke/test_network_acl
9293
smoke/test_network_ipv6

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,4 @@ waf-*
104104
#.*
105105

106106
!.gitignore
107+
.history

.pre-commit-config.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ repos:
3636
- id: check-vcs-permalinks
3737
#- id: check-yaml
3838
- id: destroyed-symlinks
39+
- id: detect-aws-credentials
40+
args: [--allow-missing-credentials]
3941
- id: detect-private-key
4042
exclude: >
4143
(?x)
@@ -53,9 +55,12 @@ repos:
5355
- id: end-of-file-fixer
5456
exclude: \.vhd$
5557
#- id: fix-byte-order-marker
58+
- id: forbid-submodules
5659
- id: mixed-line-ending
5760
exclude: \.(cs|xml)$
58-
# - id: trailing-whitespace
61+
- id: trailing-whitespace
62+
files: \.(in|java|md|py|rb|sh|vue|yaml|yml)$
63+
args: [--markdown-linebreak-ext=md]
5964
- repo: https://github.com/pycqa/flake8
6065
rev: 7.0.0
6166
hooks:
@@ -72,3 +77,12 @@ repos:
7277
^scripts/vm/hypervisor/xenserver/vmopspremium$|
7378
^setup/bindir/cloud-setup-encryption\.in$|
7479
^venv/.*$
80+
- repo: https://github.com/igorshubovych/markdownlint-cli
81+
rev: v0.40.0
82+
hooks:
83+
- id: markdownlint
84+
name: run markdownlint
85+
description: check Markdown files with markdownlint
86+
args: [--config=.github/linters/.markdown-lint.yml]
87+
types: [markdown]
88+
files: \.(md|mdown|markdown)$

CHANGES.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -430,11 +430,11 @@ Bug ID | Description
430430
[CLOUDSTACK-6099](https://issues.apache.org/jira/browse/CLOUDSTACK-6099) | live migration is failing for vm deployed using dynamic compute offerings with NPE
431431
[CLOUDSTACK-7528](https://issues.apache.org/jira/browse/CLOUDSTACK-7528) | More verbose logging when sending alert fails
432432
[CLOUDSTACK-6624](https://issues.apache.org/jira/browse/CLOUDSTACK-6624) | set specifyIpRanges to true if specifyVlan is set to true
433-
[CLOUDSTACK-7404](https://issues.apache.org/jira/browse/CLOUDSTACK-7404) | Failed to start an instance when originating template has been deleted
433+
[CLOUDSTACK-7404](https://issues.apache.org/jira/browse/CLOUDSTACK-7404) | Failed to start an instance when originating template has been deleted
434434
[CLOUDSTACK-6531](https://issues.apache.org/jira/browse/CLOUDSTACK-6531) | Stopping the router in case of command failures
435435
[CLOUDSTACK-6115](https://issues.apache.org/jira/browse/CLOUDSTACK-6115) | TravisCI configuration
436436
[CLOUDSTACK-7405](https://issues.apache.org/jira/browse/CLOUDSTACK-7405) | allowing VR meta-data to be accessed without trailing slash
437-
[CLOUDSTACK-7260](https://issues.apache.org/jira/browse/CLOUDSTACK-7260) | Management server not responding after some time for Vmware due to Oom
437+
[CLOUDSTACK-7260](https://issues.apache.org/jira/browse/CLOUDSTACK-7260) | Management server not responding after some time for Vmware due to Oom
438438
[CLOUDSTACK-7038](https://issues.apache.org/jira/browse/CLOUDSTACK-7038) | Add mysql client dependency for mgmt server pkg for debian
439439
[CLOUDSTACK-6892](https://issues.apache.org/jira/browse/CLOUDSTACK-6892) | Create separate package for the mysql HA component
440440
[CLOUDSTACK-7038](https://issues.apache.org/jira/browse/CLOUDSTACK-7038) | Add mysql client dependency for mgmt server/rpms
@@ -449,12 +449,12 @@ Bug ID | Description
449449
[CLOUDSTACK-7006](https://issues.apache.org/jira/browse/CLOUDSTACK-7006) | Restore template ID in ROOT volume usages
450450
[CLOUDSTACK-6747](https://issues.apache.org/jira/browse/CLOUDSTACK-6747) | test to allow all cidrs on other end of vpc
451451
[CLOUDSTACK-6272](https://issues.apache.org/jira/browse/CLOUDSTACK-6272) | Fix recover/restore VM actions
452-
[CLOUDSTACK-6927](https://issues.apache.org/jira/browse/CLOUDSTACK-6927) | store virsh list in list instead of querying libvirt
452+
[CLOUDSTACK-6927](https://issues.apache.org/jira/browse/CLOUDSTACK-6927) | store virsh list in list instead of querying libvirt
453453
[CLOUDSTACK-6317](https://issues.apache.org/jira/browse/CLOUDSTACK-6317) | [VMware] Tagged VLAN support broken for Management/Control/Storage traffic
454454
[CLOUDSTACK-5891](https://issues.apache.org/jira/browse/CLOUDSTACK-5891) | [VMware] If a template has been registered and "cpu.corespersocket=X" ,
455455
[CLOUDSTACK-6478](https://issues.apache.org/jira/browse/CLOUDSTACK-6478) | Failed to download Template when having 3 SSVM's in one
456456
[CLOUDSTACK-6464](https://issues.apache.org/jira/browse/CLOUDSTACK-6464) | if guest network type is vlan://untagged, and traffic label is used
457-
[CLOUDSTACK-6816](https://issues.apache.org/jira/browse/CLOUDSTACK-6816) | bugfix: cloudstack-setup-management make /root directory's permission 0777
457+
[CLOUDSTACK-6816](https://issues.apache.org/jira/browse/CLOUDSTACK-6816) | bugfix: cloudstack-setup-management make /root directory's permission 0777
458458
[CLOUDSTACK-6204](https://issues.apache.org/jira/browse/CLOUDSTACK-6204) | applying missed patch
459459
[CLOUDSTACK-6472](https://issues.apache.org/jira/browse/CLOUDSTACK-6472) | (4.3 specific) listUsageRecords: Pull information from removed items as well
460460
[CLOUDSTACK-5976](https://issues.apache.org/jira/browse/CLOUDSTACK-5976) | Typo in "ssh_keypairs" table's foreign key constraints on the Upgraded Setup
@@ -657,11 +657,11 @@ Version 4.1.0
657657
-------------
658658

659659
This is the second major release of CloudStack from within the Apache Software Foundation, and the
660-
first major release as a Top-Level Project (TLP).
660+
first major release as a Top-Level Project (TLP).
661661

662662
Build Tool Changes:
663663

664-
* The project now uses Maven 3 exclusively to build.
664+
* The project now uses Maven 3 exclusively to build.
665665

666666
New Features:
667667
* CLOUDSTACK-101: OVS support in KVM
@@ -976,14 +976,14 @@ Issues fixed in this release:
976976
* CLOUDSTACK-1845: KVM - storage migration often fails
977977
* CLOUDSTACK-1846: KVM - storage pools can silently fail to be unregistered, leading to failure to register later
978978
* CLOUDSTACK-2003: Deleting domain while deleted account is cleaning up leaves VMs expunging forever due to 'Failed to update resource count'
979-
* CLOUDSTACK-2090: Upgrade from version 4.0.1 to version 4.0.2 triggers the 4.0.0 to 4.0.1.
979+
* CLOUDSTACK-2090: Upgrade from version 4.0.1 to version 4.0.2 triggers the 4.0.0 to 4.0.1.
980980
* CLOUDSTACK-2091: Error in API documentation for 4.0.x.
981981

982982

983983
Version 4.0.1-incubating
984984
------------------------
985985

986-
This is a bugfix release for Apache CloudStack 4.0.0-incubating, with no new features.
986+
This is a bugfix release for Apache CloudStack 4.0.0-incubating, with no new features.
987987

988988
Security Fixes:
989989

CONTRIBUTING.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@ Contributing to Apache CloudStack (ACS)
33

44
Summary
55
-------
6-
This document covers how to contribute to the ACS project. ACS uses GitHub PRs to manage code contributions.
6+
This document covers how to contribute to the ACS project. ACS uses GitHub PRs to manage code contributions.
77
These instructions assume you have a GitHub.com account, so if you don't have one you will have to create one. Your proposed code changes will be published to your own fork of the ACS project and you will submit a Pull Request for your changes to be added.
88

99
_Lets get started!!!_
1010

1111
Bug fixes
1212
---------
1313

14-
It's very important that we can easily track bug fix commits, so their hashes should remain the same in all branches.
15-
Therefore, a pull request (PR) that fixes a bug, should be sent against a release branch.
16-
This can be either the "current release" or the "previous release", depending on which ones are maintained.
14+
It's very important that we can easily track bug fix commits, so their hashes should remain the same in all branches.
15+
Therefore, a pull request (PR) that fixes a bug, should be sent against a release branch.
16+
This can be either the "current release" or the "previous release", depending on which ones are maintained.
1717
Since the goal is a stable main, bug fixes should be "merged forward" to the next branch in order: "previous release" -> "current release" -> main (in other words: old to new)
1818

1919
Developing new features
2020
-----------------------
2121

22-
Development should be done in a feature branch, branched off of main.
23-
Send a PR(steps below) to get it into main (2x LGTM applies).
24-
PR will only be merged when main is open, will be held otherwise until main is open again.
22+
Development should be done in a feature branch, branched off of main.
23+
Send a PR(steps below) to get it into main (2x LGTM applies).
24+
PR will only be merged when main is open, will be held otherwise until main is open again.
2525
No back porting / cherry-picking features to existing branches!
2626

2727
PendingReleaseNotes file
@@ -33,7 +33,7 @@ When adding information to the PendingReleaseNotes file make sure that you write
3333

3434
Updating the PendingReleaseNotes file is preferably a part of the original Pull Request, but that is up to the developers' discretion.
3535

36-
Fork the code
36+
Fork the code
3737
-------------
3838

3939
In your browser, navigate to: [https://github.com/apache/cloudstack](https://github.com/apache/cloudstack)
@@ -136,4 +136,4 @@ $ git push origin :feature_x
136136

137137
Release Principles
138138
------------------
139-
Detailed information about ACS release principles is available at https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+principles+for+Apache+CloudStack+4.6+and+up
139+
Detailed information about ACS release principles is available at https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+principles+for+Apache+CloudStack+4.6+and+up

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ This distribution includes cryptographic software. The country in which you curr
142142
reside may have restrictions on the import, possession, use, and/or re-export to another
143143
country, of encryption software. BEFORE using any encryption software, please check your
144144
country's laws, regulations and policies concerning the import, possession, or use, and
145-
re-export of encryption software, to see if this is permitted. See [The Wassenaar Arrangement](http://www.wassenaar.org/)
145+
re-export of encryption software, to see if this is permitted. See [The Wassenaar Arrangement](http://www.wassenaar.org/)
146146
for more information.
147147

148148
The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has

agent/bindir/cloud-setup-agent.in

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

agent/bindir/cloud-ssh.in

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

0 commit comments

Comments
 (0)