Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
256 commits
Select commit Hold shift + click to select a range
24ae5aa
Merge branch '4.18'
DaanHoogland Aug 25, 2023
57d4d0d
UI: Infer template settings in the deploy VM wizard (#7867)
winterhazel Aug 25, 2023
f563c16
Merge release branch 4.18 to main
DaanHoogland Aug 25, 2023
0dd6bb7
systemvm: update size and state of systemvm template during registrat…
weizhouapache Aug 25, 2023
26581b7
server: throw new exception when rootdisksize is required but not set…
weizhouapache Aug 28, 2023
7362e53
Merge remote-tracking branch 'origin/4.18'
yadvr Aug 28, 2023
439d70f
xen/xcpng: set vmr.VCPUsMax to minimum of global setting and host cpu…
weizhouapache Aug 28, 2023
40d7da6
Merge release branch 4.18 to main
DaanHoogland Aug 28, 2023
40e2d28
Merge remote-tracking branch 'origin/main' into normalize-logs-and-up…
JoaoJandre Aug 28, 2023
76557dd
regenerate changes
JoaoJandre Aug 28, 2023
2f701e1
New configs for quota email's headers and footers (#7852)
JoaoJandre Aug 29, 2023
27ee70d
Merge remote-tracking branch 'origin/main' into normalize-logs-and-up…
JoaoJandre Aug 29, 2023
819dd7b
server: remove supportedOwner from Resource.ResourceType (#7416)
GaOrtiga Aug 30, 2023
c907260
Merge remote-tracking branch 'origin/main' into normalize-logs-and-up…
JoaoJandre Aug 30, 2023
78411fd
test: fix test_vm_autoscaling.py which does not work due to userdata …
weizhouapache Aug 30, 2023
2cccd8f
db: Add index on cluster_details.name for FirstFitPlanner speedup (#7…
Aug 31, 2023
89e0a4c
PowerFlex: Handle missing volumes gracefully during delete volume (#7…
Aug 31, 2023
5917fed
refactor getUploadParamsForIso (#7813)
hsato03 Aug 31, 2023
57c61fb
Fix direct download https compressed qcow2 template checker (#7932)
nvazquez Sep 1, 2023
c7661b9
Merge remote-tracking branch 'origin/main' into normalize-logs-and-up…
JoaoJandre Sep 1, 2023
2e6100d
utils: build both SHADED and original jars (#7912)
weizhouapache Sep 1, 2023
a503123
Merge remote-tracking branch 'origin/main' into normalize-logs-and-up…
JoaoJandre Sep 4, 2023
6b64f51
add logj42 to cloud-utils-SHADED.jar
JoaoJandre Sep 4, 2023
0bb05f7
ui: don't skip if dataview has multiple items in response (#7947)
yadvr Sep 6, 2023
126dd5f
kvm: fix live vm migration between local storage pools (#7945)
weizhouapache Sep 7, 2023
f049f54
server: fix dualstack ipv6 networks for vxlan (#7933)
shwstppr Sep 7, 2023
54a7a5d
utils: rename cloud-utils-*-SHADED.jar to cloud-utils-*-bundled.jar t…
weizhouapache Sep 7, 2023
4bdff06
Updating pom.xml version numbers for release 4.18.1.0
weizhouapache Sep 7, 2023
f6b2a58
Merge branch '4.18'
weizhouapache Sep 7, 2023
d4a1eae
Merge remote-tracking branch 'origin/main' into normalize-logs-and-up…
JoaoJandre Sep 8, 2023
8272f3b
regenerate changes
JoaoJandre Sep 8, 2023
710f34e
api: Fix listLoadBalancerRuleInstances api call (#7892)
vishesh92 Sep 9, 2023
940733c
UI: Fix user role login due to missing API access on custom hyperviso…
nvazquez Sep 11, 2023
c4e53c0
Allow editing of host and storage tags of system offerings in the UI …
gpordeus Sep 11, 2023
3ec3007
Generate coverage for Simulator based integration tests & ui tests in…
vishesh92 Sep 11, 2023
246bb24
Updating pom.xml version numbers for release 4.18.2.0-SNAPSHOT
weizhouapache Sep 12, 2023
b8c8e17
upgrade: fix debian/changelog
weizhouapache Sep 12, 2023
f049d4d
Increase reserve on ScaleIO disk formatting for fragmentation (#7955)
Sep 14, 2023
0bfef5d
Merge commit 'b8c8e17318cc28e57d1b38f2aa2f0b456c9bac52'
weizhouapache Sep 14, 2023
edcd0da
UI: update versions to 4.19.0
weizhouapache Sep 14, 2023
45616aa
Merge remote-tracking branch 'origin/4.18'
weizhouapache Sep 14, 2023
4eb110a
Remove unneeded duplicate words (#7850)
jbampton Sep 18, 2023
d25521e
Fix issues in VM Scheduler (#7782)
vishesh92 Sep 18, 2023
fe91137
Merge remote-tracking branch 'origin/main' into normalize-logs-and-up…
JoaoJandre Sep 18, 2023
9c9b178
upgrade: fix upgrade from 4.18.1.0 to 4.18.2.0-SNAPSHOT (#7959)
weizhouapache Sep 18, 2023
09ae049
ldap trust map cleanup on domain delete (#7915)
DaanHoogland Sep 19, 2023
c428d3b
Add and improve logs in snapshot scheduling (#6925)
stephankruggg Sep 19, 2023
0375714
Merge release branch 4.18 to main
DaanHoogland Sep 19, 2023
cc93301
Merge remote-tracking branch 'origin/main' into normalize-logs-and-up…
JoaoJandre Sep 19, 2023
818e504
regenerate changes
JoaoJandre Sep 19, 2023
481d2bd
Remove powermock from core (#7978)
vishesh92 Sep 20, 2023
84277e7
remove powermock from engine (#7975)
vishesh92 Sep 20, 2023
cceddb1
Merge remote-tracking branch 'origin/main' into normalize-logs-and-up…
JoaoJandre Sep 20, 2023
e721f3b
Remove powermock from server (#7986)
vishesh92 Sep 22, 2023
c69e3c5
Remove powermock from engine/storage/configdrive (#7988)
vishesh92 Sep 22, 2023
9c65767
api: remove powermock from tests (#7645)
vishesh92 Sep 25, 2023
3071ad6
Publish event for VM.STOP when out of band stop is detected (#7878)
Sep 25, 2023
f539c4b
Merge release branch 4.18 to main
DaanHoogland Sep 25, 2023
b614a74
Fixup CheckedReservationTest (#7997)
vishesh92 Sep 25, 2023
951ba04
VR live patching: Allow live patch of VPC VRs even if networks are in…
Pearl1594 Sep 25, 2023
9af2e69
Merge remote-tracking branch 'origin/main' into normalize-logs-and-up…
JoaoJandre Sep 25, 2023
f46f9fe
regenerate changes
JoaoJandre Sep 25, 2023
ef74221
Fix 2FA becoming enabled when the user inputs the wrong code during s…
winterhazel Sep 26, 2023
30e34ef
Merge remote-tracking branch 'origin/4.18'
yadvr Sep 26, 2023
155a307
Allow configkey to set 'cloud-name' cloud-init metadata (#7964)
Sep 26, 2023
8aa45c1
fix units labels (#8001)
oscaralvaro Sep 26, 2023
84e770b
Remove powermock from pom.xml (#8000)
vishesh92 Sep 26, 2023
b34da26
contributor-howto (#7995)
DaanHoogland Sep 26, 2023
10d7e6c
VR: remove apache2 config for removed VPC tiers (#7982)
weizhouapache Sep 26, 2023
d73cfbd
add BryanMLima as a collaborator (#8003)
BryanMLima Sep 26, 2023
d58d60c
Add GaOrtiga to .asf.yaml as collaborator (#8005)
GaOrtiga Sep 26, 2023
5da176a
Add SadiJr to .asf.yaml as collaborator (#8006)
SadiJr Sep 26, 2023
f069c69
Add JoaoJandre to .asf.yaml as collaborator (#8007)
JoaoJandre Sep 27, 2023
28c4be1
Fix style for LibvirtComputingResource variable names and its depende…
Sep 27, 2023
3c60829
Fix tests on CS build when cloudstack-management service is running (…
slavkap Sep 27, 2023
3520f1e
Merge remote-tracking branch 'origin/main' into normalize-logs-and-up…
JoaoJandre Sep 27, 2023
b205548
Merge release branch 4.18 to main
DaanHoogland Sep 28, 2023
348a63d
LibvirtServerDiscoverer should only process added KVM hosts (#7979)
Sep 28, 2023
221f863
Use direct download timeout configs for URL check (#7948)
Sep 28, 2023
3694667
Trigger out of band VM state update via libvirt event when VM stops (…
Sep 28, 2023
2853871
Fix the poll for the API ReadyForShutdown even after logout (#8004)
harikrishna-patnala Sep 28, 2023
8cd7147
Merge remote-tracking branch 'origin/4.18'
yadvr Sep 28, 2023
ca54e6c
Improve the description of config password.policy.minimum.digits (#7989)
winterhazel Sep 28, 2023
7541cb9
Add Service Offering to listSystemVMs and fix link from VR to its off…
gpordeus Sep 28, 2023
8d81ec4
keep deleted projects name (#7858)
hsato03 Sep 28, 2023
14ca172
mvn: fix userdata dependency version (#8017)
shwstppr Sep 28, 2023
2b35a02
Improve logs in NfsSecondaryStorageResource class, (#7211)
SadiJr Sep 28, 2023
1bda234
Improve logs when searching one storage pool to allocate a new volume…
SadiJr Sep 28, 2023
8939ebb
ui: allow copying password from notification (#7985)
shwstppr Sep 28, 2023
ae5dda8
Normalize encryption on global configurations values (#6812)
BryanMLima Sep 28, 2023
31e2b62
Removed state for removed accounts (#7868)
hsato03 Sep 28, 2023
5786902
Merge remote-tracking branch 'origin/main' into normalize-logs-and-up…
JoaoJandre Sep 28, 2023
407003e
regenerate changes
JoaoJandre Sep 28, 2023
a256604
removal of unused interfaces (#7984)
DaanHoogland Sep 29, 2023
f2c1775
fix: cleanup directory if empty after removal of snapshot (#8002)
vishesh92 Sep 29, 2023
9f5c3ff
Improve logs in UnmanagedVMsManagerImpl class (#7213)
SadiJr Sep 29, 2023
f70b42a
Merge release branch 4.18 to main
DaanHoogland Sep 29, 2023
9a8cd13
cleanup: remove unused class org.apache.cloudstack.network.NetworkOrc…
weizhouapache Oct 2, 2023
96205a5
linstor: resize root disk on offerings with different size (#7952)
rp- Oct 2, 2023
d627539
Merge branch '4.18'
DaanHoogland Oct 2, 2023
05b4abf
Merge remote-tracking branch 'origin/main' into normalize-logs-and-up…
JoaoJandre Oct 2, 2023
5f867c7
regenerate changes
JoaoJandre Oct 2, 2023
5c5ea09
load (domains) continuously in dropdown boxes (#7931)
DaanHoogland Oct 3, 2023
3d8cc63
server: fix mysql error when list Shared templates for project (#8020)
weizhouapache Oct 3, 2023
2e9b3d8
Merge release branch 4.18 to main
DaanHoogland Oct 3, 2023
cc6f21b
PULL_REQUEST_TEMPLATE.md: add extra question on testing PR (#8035)
DaanHoogland Oct 4, 2023
884953c
ui: add button in zone physical network list (#8028)
shwstppr Oct 4, 2023
e21b888
cleanups as suggested by errorprone (#7088)
DaanHoogland Oct 4, 2023
b9e423b
Add extra checks for test_vm_schedule to avoid intermittent failures …
vishesh92 Oct 5, 2023
4c59dea
[Veeam] Don't interrupt backup syncronization (#7225)
SadiJr Oct 5, 2023
5559eea
Merge remote-tracking branch 'origin/main' into normalize-logs-and-up…
JoaoJandre Oct 5, 2023
7ffed2d
regenerate changes
JoaoJandre Oct 5, 2023
82b9818
KVM Agent config to reserve dom0 CPUs (#7987)
Oct 6, 2023
51add0a
systemvm: check if patchfile exists and is valid tarball before patch…
weizhouapache Oct 6, 2023
9b8eaee
Fix: Convert volume to another directory instead of copying it while …
GutoVeronezi Oct 6, 2023
a20ab40
Ensure getCapacityState() is not called for hosts in maintenance (#8025)
benj-n Oct 6, 2023
5d9ae31
UI: Admin, account and project dashboard improvements (#7956)
yadvr Oct 6, 2023
72cf974
Merge branch '4.18'
DaanHoogland Oct 6, 2023
e333f27
user-shared networks: fix few issues (#6887)
weizhouapache Oct 9, 2023
c0128e2
Improve template download error message (#8029)
oscaralvaro Oct 9, 2023
c3aeba1
Merge remote-tracking branch 'origin/4.18'
yadvr Oct 9, 2023
16dcf59
Merge remote-tracking branch 'origin/main' into normalize-logs-and-up…
JoaoJandre Oct 9, 2023
9e9c5ea
regenerate changes
JoaoJandre Oct 9, 2023
b58ffec
[cleanup] Deleted file FakeDhcpSnooper.java and DhcpSnooper.java (#7672)
nikam14 Oct 10, 2023
66e5d41
ui: Fix sorter across different components (#8046)
vishesh92 Oct 10, 2023
e0ab2a4
Enable four more `flake8` rules (#7811)
jbampton Oct 10, 2023
7e998f9
pre-commit: add hook `check-merge-conflict` (#7883)
jbampton Oct 10, 2023
e290ac5
systemvm: remove config in /etc/pam.d/systemd-user to fix user@0.serv…
weizhouapache Oct 10, 2023
a9f3af8
Default value of force should be false for template delete operation …
harikrishna-patnala Oct 10, 2023
43aed45
Format quota email currency values (#7605)
JoaoJandre Oct 10, 2023
864a195
.github: run Sonar Check only on PRs from apache/cloudstack branches …
weizhouapache Oct 10, 2023
b4c7705
Merge remote-tracking branch 'apache/4.18' into main
shwstppr Oct 10, 2023
6142286
Merge remote-tracking branch 'origin/main' into normalize-logs-and-up…
JoaoJandre Oct 10, 2023
d2ad936
ui: update dashboard screenshot for README (#8069)
yadvr Oct 11, 2023
8b28128
ui: Fix non admin logouts (#8065)
harikrishna-patnala Oct 11, 2023
7b4cf1b
ui: update vm deploy form iso label (#8075)
shwstppr Oct 11, 2023
8350ce5
storage: allow VM snapshots without memory for KVM when global settin…
yadvr Oct 11, 2023
8a34afa
Merge remote-tracking branch 'origin/4.18'
yadvr Oct 11, 2023
fb3a2ec
Fix NPE if global setting implicit.host.tags is set to null (#8066)
harikrishna-patnala Oct 11, 2023
3e7f21a
vm-import: fix stopped managed vms listing in unmanaged instances (#7…
shwstppr Oct 12, 2023
dccd37a
Run ResourceCountCheckTask only in the longest running management ser…
nvazquez Oct 12, 2023
9df580c
Merge remote-tracking branch 'apache/4.18' into main
shwstppr Oct 12, 2023
0c14e46
Allow password definition during VM deploy (#6947)
stephankruggg Oct 12, 2023
3486a3c
Add domainpath to listnetwork and UI network tab (#7386)
pierrelefevre Oct 12, 2023
55bef2b
Add option to define password during password reset (#6863)
stephankruggg Oct 13, 2023
8de3800
Merge remote-tracking branch 'origin/main' into normalize-logs-and-up…
JoaoJandre Oct 13, 2023
369436e
regenerate changes
JoaoJandre Oct 13, 2023
0b3438b
Update pom.xml reflections version (#8019)
Oct 16, 2023
314537a
Merge release branch 4.18 to main
DaanHoogland Oct 16, 2023
ba24a18
kvm: fix direct download template size (#8093)
shwstppr Oct 16, 2023
e437d10
Snapshot removal and storage cleanup logs (#8031)
hsato03 Oct 16, 2023
065abe2
test,refactor: fix test_project_resources cleanup (#8097)
shwstppr Oct 16, 2023
c9d2303
Merge release branch 4.18 to main
DaanHoogland Oct 16, 2023
4a86a0d
linstor: Fix template volume missing on copy node (#8082)
rp- Oct 17, 2023
be039a1
Merge remote-tracking branch 'apache/4.18' into main
shwstppr Oct 17, 2023
76ab621
Fix UUID for child datastores in all cases (#8057)
harikrishna-patnala Oct 18, 2023
91a570e
Refactoring swift util test (#8099)
gzhao9 Oct 18, 2023
e35fdff
ui: add action to delete traffic type (#8076)
shwstppr Oct 18, 2023
8eaf264
Merge release branch 4.18 to main
DaanHoogland Oct 18, 2023
9834d51
pre-commit: standardize more line endings to `lf` (#7804)
jbampton Oct 18, 2023
0183e25
Fix VM snapshot size during storage capacity check (#8101)
harikrishna-patnala Oct 18, 2023
540c7b8
test: add test for standalone snapshot (#8104)
shwstppr Oct 19, 2023
20046ff
Merge remote-tracking branch 'apache/4.18' into main
shwstppr Oct 19, 2023
67cb9b9
linstor: fix template copy on non hyperconverged setups (#8114)
rp- Oct 19, 2023
fcbf540
Merge remote-tracking branch 'apache/4.18' into main
shwstppr Oct 19, 2023
f62b634
ui: correctly show volume physical size (#8119)
shwstppr Oct 19, 2023
a2ec1f3
marvin,test: fix directdownload template checksum test (#8096)
shwstppr Oct 19, 2023
e199678
ui: fix bulk delete template from zones (#8118)
shwstppr Oct 20, 2023
1bb6130
Merge remote-tracking branch 'apache/4.18' into main
shwstppr Oct 20, 2023
d3d3027
Fix ISOs and templates listing pagination (#7974)
winterhazel Oct 20, 2023
a8700bf
server: set Default NIC when VM has no default NIC (#7859)
hsato03 Oct 20, 2023
99ded81
Merge remote-tracking branch 'apache/4.18' into main
shwstppr Oct 20, 2023
543c54c
api,server,ui: snapshot copy, multi-zone replica (#7873)
shwstppr Oct 23, 2023
b09acb8
UI: Fix deploy VM wizard vApp properties (#8072)
nvazquez Oct 25, 2023
ae724b9
Fix EULA section while parsing OVF file (#8081)
harikrishna-patnala Oct 25, 2023
39d6c20
Merge remote-tracking branch 'apache/4.18' into main
shwstppr Oct 25, 2023
8fe13f9
OSType response: isuserdefined as string not bool #8127 (#8128)
isupersky Oct 25, 2023
ebf1409
dashboard: on admin dashboard use red-dot icon when hosts are in aler…
yadvr Oct 25, 2023
27ae7d8
Fixup: register vmscheduler configkey (#8116)
vishesh92 Oct 25, 2023
fb76fd1
Add winterhazel to .asf.yaml collaborators (#8147)
winterhazel Oct 26, 2023
68e1d46
reduce collaborators count to 10 (#8149)
shwstppr Oct 26, 2023
ea90848
Feature: Add support for DRS in a Cluster (#7723)
vishesh92 Oct 26, 2023
4ff592a
Use UserVmDao for listVirtualMachines API to increase performance (#8…
Oct 26, 2023
6ae3b73
Create snapshot from VM snapshot without memory for NFS/Local storage…
slavkap Oct 26, 2023
587d1d7
Merge remote-tracking branch 'apache/4.18' into main
DaanHoogland Oct 26, 2023
a06f8a8
Fixup updateSnapshotInfo failure due to forward merging (#8150)
vishesh92 Oct 26, 2023
3b11663
Fix failure on agent reconnection (#8089)
vishesh92 Oct 26, 2023
bd52fa8
New feature: VNF templates and appliances integration (#8022)
weizhouapache Oct 27, 2023
67eddd7
Fix allignment on layout on right panel (#8060)
harikrishna-patnala Oct 30, 2023
235e4fe
Oauth2 integration with CloudStack (#7996)
harikrishna-patnala Oct 31, 2023
288f066
Add logs to script execution (#6874)
stephankruggg Oct 31, 2023
5362bad
Storage Management (#7949)
vishesh92 Nov 1, 2023
2dac6cb
ui: fix snapshot copy actions for non-rootadmins (#8164)
shwstppr Nov 1, 2023
b2b707b
Add pre-commit hooks: check-symlinks and destroyed-symlinks (#8071)
jbampton Nov 2, 2023
9c4d18f
role ispublic param on UI (#7973)
hsato03 Nov 2, 2023
f090c77
misc: fix spelling (#7549)
jbampton Nov 2, 2023
e1b6093
add 'management.network.cidr' ip to mgmt certificate (#7728)
JoaoJandre Nov 2, 2023
a3565fc
Update GPU support for V100,T4,A5500. (#6639)
pdion891 Nov 2, 2023
78213da
appliance: use Debian 11.8.0 and systemvm version to 4.19.0 (#8084)
yadvr Nov 2, 2023
1e133d0
kvm: Handle the failures when setting up memory balloon stats period …
harikrishna-patnala Nov 3, 2023
e6f048b
CKS: fix wrong format of cluster size on UI (#8182)
weizhouapache Nov 3, 2023
a15cb81
Merge remote-tracking branch 'apache/4.18' into main
DaanHoogland Nov 3, 2023
ec3d0f5
Standardize StringUtils usages in NetworlModelImpl (#7980)
winterhazel Nov 3, 2023
7eb544a
Merge remote-tracking branch 'origin/main' into normalize-logs-and-up…
JoaoJandre Nov 3, 2023
39c0706
Update XenServer610WrapperTest.java (#8139)
gzhao9 Nov 3, 2023
2f97e3b
refactor MockNetworkVO (#8137)
gzhao9 Nov 3, 2023
9e8f591
Refactoring org.apache.cloudstack.network.tungsten.service (#8098)
gzhao9 Nov 3, 2023
8fa8cef
Add and improve logs in ACS bootstrap process (#6890)
stephankruggg Nov 3, 2023
256892b
build: fix failure after forward merge
shwstppr Nov 3, 2023
b2938c0
Refactor testCRUDAcl into Separate Test Cases (#7705)
Codegass Nov 3, 2023
a7c6599
Bump the `actions/checkout` action to `v4` (#8133)
jbampton Nov 3, 2023
6afffe1
Fix JSON string comparision fin tests (#8183)
rRajivramachandran Nov 3, 2023
121531e
Polish UI (#7855)
vladimirpetrov Nov 3, 2023
87032f1
Regenerate changes
JoaoJandre Nov 3, 2023
0caf18b
ui: indent issue in list view (#8184)
DaanHoogland Nov 4, 2023
2bb182c
KVM Host HA enhancement for StorPool storage (#8045)
slavkap Nov 4, 2023
e9b24b6
Make authentication request parameter order to be deterministic (#8185)
rRajivramachandran Nov 6, 2023
e65c9ff
Fix: Select another pod if all hosts in the pod becomes unavailable (…
vishesh92 Nov 7, 2023
861107f
CKS: make clustertype optional to keep backwards compatibility (#8180)
weizhouapache Nov 7, 2023
b2e8327
ui: Admin, account and project dashboard improvements (#8193)
yadvr Nov 8, 2023
11b5831
Advanced SG: allow create/update physical networks with vlan range (#…
weizhouapache Nov 8, 2023
3d7281d
Merge branch '4.18' into main
DaanHoogland Nov 8, 2023
d3917ef
Remove powermock form VM Manager test (#8199)
vishesh92 Nov 8, 2023
68e504a
Linstor backup snaphots (#8067)
rp- Nov 9, 2023
e790047
ui: fix vmware nicadapter detail for register template (#8173)
DaanHoogland Nov 9, 2023
29a223b
Merge remote-tracking branch 'apache/4.18'
shwstppr Nov 9, 2023
8644480
updated the api documentation for createNetworkOffering and updateNet…
kiranchavala Nov 9, 2023
e7bb89c
Merge release branch 4.18 to main
DaanHoogland Nov 9, 2023
7b31a51
Update requirements file and fix minimum pre-commit version (#7901)
jbampton Nov 10, 2023
d0f3233
edge-zone,kvm,iso,cks: allow k8s deployment with direct-download iso …
shwstppr Nov 10, 2023
b79e393
UI: fix scale vm if first disk offering is dymamic (#8213)
weizhouapache Nov 10, 2023
30ca5d1
Flexible URI for connection with DB and new MariaDB driver (#7895)
JoaoJandre Nov 10, 2023
32d9e0d
Merge remote-tracking branch 'origin/main' into normalize-logs-and-up…
JoaoJandre Nov 10, 2023
cfd6bff
PULL_REQUEST_TEMPLATE.md: fix spelling (#8220)
jbampton Nov 13, 2023
05b9b6e
Merge branch '4.18' into main
DaanHoogland Nov 13, 2023
a74fcfd
Regenerate changes
JoaoJandre Nov 13, 2023
0451bf9
Merge remote-tracking branch 'origin/main' into normalize-logs-and-up…
JoaoJandre Nov 13, 2023
85526cf
Regenerate changes
JoaoJandre Nov 13, 2023
df4cd2a
Inject hypervisor type and volume format on Quota tariffs (#8138)
winterhazel Nov 14, 2023
b7835d0
Fix deploy as is VM start after template deletion (#8115)
harikrishna-patnala Nov 14, 2023
96b07d7
Fix flaky tungsten test using comparator (#8232)
rRajivramachandran Nov 14, 2023
04061f1
storagetype API param in list service/disk offerings (#8215)
slavkap Nov 14, 2023
c7100c3
Merge release branch 4.18 to main
DaanHoogland Nov 14, 2023
1f29f6f
Public IP quarantine feature (#7378)
BryanMLima Nov 15, 2023
be4a648
Create global configuration to allow changing the default nic adapter…
GaOrtiga Nov 15, 2023
267a457
Externalize KVM HA heartbeat frequency (#6892)
stephankruggg Nov 16, 2023
cc45bff
Improved concatenation way in PropertiesStorage.java (#7486)
nikam14 Nov 16, 2023
0735b91
api: introduce domainid and account parameter in createTemplate API (…
sudo87 Nov 16, 2023
09125f1
Merge remote-tracking branch 'origin/main' into normalize-logs-and-up…
JoaoJandre Nov 16, 2023
8b23bdd
regenerate changes
JoaoJandre Nov 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ github:
- rajujith
- alexandremattioli
- vishesh92
- soreana
- GaOrtiga
- acs-robot
- BryanMLima
- SadiJr
- JoaoJandre
- winterhazel

protected_branches: ~
9 changes: 8 additions & 1 deletion .github/linters/.flake8
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@
# specific language governing permissions and limitations
# under the License.

# E112 Expected an indented block
# E113 Unexpected indentation
# E133 Closing bracket is missing indentation
# E223 Tab before operator
# E224 Tab after operator
# E227 Missing whitespace around bitwise or shift operator
# E242 Tab after ','
# E273 Tab after keyword
# E274 Tab before keyword
Expand All @@ -30,4 +34,7 @@
# W391 Blank line at end of file

[flake8]
select = E223,E224,E242,E273,E274,E742,E743,E901,E902,W291,W292,W293,W391
exclude =
.git,
venv
select = E112,E113,E133,E223,E224,E227,E242,E273,E274,E742,E743,E901,E902,W291,W292,W293,W391
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up JDK 11
uses: actions/setup-java@v3
Expand Down
31 changes: 28 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ jobs:
smoke/test_domain_network_offerings
smoke/test_domain_service_offerings
smoke/test_domain_vpc_offerings",
"smoke/test_dynamicroles
"smoke/test_cluster_drs
smoke/test_dynamicroles
smoke/test_enable_account_settings_for_domain
smoke/test_enable_role_based_users_in_projects
smoke/test_events_resource
Expand Down Expand Up @@ -192,7 +193,9 @@ jobs:
"component/test_vpc_network_lbrules" ]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up JDK
uses: actions/setup-java@v3
Expand All @@ -217,6 +220,11 @@ jobs:
run: |
python3 -m pip install --user --upgrade urllib3 lxml paramiko nose texttable ipmisim pyopenssl pycrypto mock flask netaddr pylint pycodestyle six astroid

- name: Install jacoco dependencies
run: |
wget https://github.com/jacoco/jacoco/releases/download/v0.8.10/jacoco-0.8.10.zip
unzip jacoco-0.8.10.zip -d jacoco

- name: Env details
run: |
uname -a
Expand Down Expand Up @@ -249,9 +257,16 @@ jobs:
mvn -q -Pdeveloper -pl developer -Ddeploydb
mvn -q -Pdeveloper -pl developer -Ddeploydb-simulator

- name: Generate jacoco-coverage.sh
run: |
echo "java -jar jacoco/lib/jacococli.jar report jacoco-it.exec \\" > jacoco-report.sh
find . | grep "target/classes" | sed 's/\/classes\//\/classes /g' | awk '{print "--classfiles", $1, "\\"}' | sort |uniq >> jacoco-report.sh
find . | grep "src/main/java" | sed 's/\/java\//\/java /g' | awk '{print "--sourcefiles", $1, "\\"}' | sort | uniq >> jacoco-report.sh
echo "--xml jacoco-coverage.xml" >> jacoco-report.sh

- name: Start CloudStack Management Server with Simulator
run: |
export MAVEN_OPTS="-Xmx4096m -XX:MaxPermSize=800m -Djava.security.egd=file:/dev/urandom"
export MAVEN_OPTS="-Xmx4096m -XX:MaxPermSize=800m -Djava.security.egd=file:/dev/urandom -javaagent:jacoco/lib/jacocoagent.jar=address=*,port=36320,output=tcpserver"
echo -e "\nStarting simulator"
set +e
mvn -Dsimulator -Dorg.eclipse.jetty.annotations.maxWait=120 -pl :cloud-client-ui jetty:run 2>&1 > /tmp/jetty-log || true &
Expand All @@ -275,10 +290,20 @@ jobs:
done

echo -e "Stopping Simulator, integration tests run completed\n"
java -jar jacoco/lib/jacococli.jar dump --address localhost --port 36320 --destfile jacoco-it.exec
bash jacoco-report.sh
mvn -Dsimulator -pl client jetty:stop 2>&1
find /tmp//MarvinLogs -type f -exec echo -e "Printing marvin logs {} :\n" \; -exec cat {} \;

- name: Integration Tests Result
run: |
echo -e "Simulator CI Test Results: (only failures listed)\n"
python3 ./tools/marvin/xunit-reader.py integration-test-results/

- uses: codecov/codecov-action@v3
with:
files: jacoco-coverage.xml
fail_ci_if_error: true
flags: simulator-marvin-tests
verbose: true
name: codecov
3 changes: 2 additions & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
name: codecov
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -53,5 +53,6 @@ jobs:
with:
files: ./client/target/site/jacoco-aggregate/jacoco.xml
fail_ci_if_error: true
flags: unit-tests
verbose: true
name: codecov
2 changes: 1 addition & 1 deletion .github/workflows/docker-cloudstack-simulator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Set Docker repository name
run: echo "DOCKER_REPOSITORY=apache" >> $GITHUB_ENV

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set ACS version
run: echo "ACS_VERSION=$(grep '<version>' pom.xml | head -2 | tail -1 | cut -d'>' -f2 |cut -d'<' -f1)" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Check Out
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-sonar-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
name: Main Sonar JaCoCo Build
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sonar-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ concurrency:

jobs:
build:
if: github.repository == 'apache/cloudstack'
if: github.repository == 'apache/cloudstack' && github.event.pull_request.head.repo.full_name == github.repository
name: Sonar JaCoCo Coverage
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: "refs/pull/${{ github.event.number }}/merge"
fetch-depth: 0
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v3
Expand All @@ -51,3 +51,12 @@ jobs:
npm run build
npm run lint
npm run test:unit

- uses: codecov/codecov-action@v3
with:
working-directory: ui
files: ./coverage/lcov.info
fail_ci_if_error: true
flags: uitests
verbose: true
name: codecov
8 changes: 5 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ default_stages: [commit, push]
default_language_version:
# force all unspecified Python hooks to run python3
python: python3
minimum_pre_commit_version: "2.18.0"
minimum_pre_commit_version: "2.17.0"
repos:
- repo: meta
hooks:
Expand All @@ -31,9 +31,11 @@ repos:
#- id: check-added-large-files
- id: check-case-conflict
#- id: check-executables-have-shebangs
#- id: check-merge-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: check-vcs-permalinks
#- id: check-yaml
- id: destroyed-symlinks
- id: detect-private-key
exclude: >
(?x)
Expand All @@ -52,7 +54,7 @@ repos:
exclude: \.vhd$
#- id: fix-byte-order-marker
- id: mixed-line-ending
files: \.(java|md|py|txt|yaml|yml)$
exclude: \.(cs|xml)$
# - id: trailing-whitespace
- repo: https://github.com/pycqa/flake8
rev: 6.1.0
Expand Down
11 changes: 8 additions & 3 deletions PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ This PR...
<!-- For addressing multiple issues/PRs, use multiple "Fixes: #<id>" -->
<!-- Fixes: # -->

<!--- ********************************************************************************* -->
<!--- NOTE: AUTOMATATION USES THE DESCRIPTIONS TO SET LABELS AND PRODUCE DOCUMENTATION. -->
<!--- ******************************************************************************* -->
<!--- NOTE: AUTOMATION USES THE DESCRIPTIONS TO SET LABELS AND PRODUCE DOCUMENTATION. -->
<!--- PLEASE PUT AN 'X' in only **ONE** box -->
<!--- ********************************************************************************* -->
<!--- ******************************************************************************* -->

### Types of changes

Expand All @@ -22,6 +22,7 @@ This PR...
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] Enhancement (improves an existing feature and functionality)
- [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
- [ ] build/CI

### Feature/Enhancement Scale or Bug Severity

Expand All @@ -43,8 +44,12 @@ This PR...


### How Has This Been Tested?

<!-- Please describe in detail how you tested your changes. -->
<!-- Include details of your testing environment, and the tests you ran to -->

#### How did you try to break this feature and the system with this change?

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


Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ contribution. Note that you do not have to be a developer in order to contribute
to Apache CloudStack. We need folks to help with documentation, translation,
promotion etc. See our contribution [page](http://cloudstack.apache.org/contribute.html).

If you are a frequent contributors, you can request to be added as collaborators
(see https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features#Git.asf.yamlfeatures-AssigningexternalcollaboratorswiththetriageroleonGitHub)
to our GitHub repos. This allows you to use project GitHub with ability to report
issue with tags, and be assigned to issues and PRs. This is done via the .asf.yaml
file in this repo.
You may do so by sharing your GitHub users ID or raise a GitHub issue.

If you're interested in learning more or participating in the Apache CloudStack
project, the mailing lists are the best way to do that. While the project has
several communications channels, the [mailing lists](http://cloudstack.apache.org/mailing-lists.html) are the most active and the
Expand Down
17 changes: 17 additions & 0 deletions agent/conf/agent.properties
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,11 @@ hypervisor.type=kvm
# If this parameter is used, property host.overcommit.mem.mb must be set to 0.
#host.reserved.mem.mb=1024

# Number of CPU cores to subtract from advertised available cores.
# These are reserved for system activity, or otherwise share host CPU resources with
# CloudStack VM allocation.
# host.reserved.cpu.count = 0

# The model of Watchdog timer to present to the Guest.
# For all models refer to the libvirt documentation.
#vm.watchdog.model=i6300esb
Expand Down Expand Up @@ -402,3 +407,15 @@ iscsi.session.cleanup.enabled=false
# The path of an executable file/script for host health check for CloudStack to Auto Disable/Enable the host
# depending on the return value of the file/script
# agent.health.check.script.path=

# Time interval (in milliseconds) between KVM heartbeats.
# kvm.heartbeat.update.frequency=60000

# Number of maximum tries to KVM heartbeats.
# kvm.heartbeat.update.max.tries=5

# Time amount (in milliseconds) for the KVM heartbeat retry sleep.
# kvm.heartbeat.update.retry.sleep=10000

# Timeout (in milliseconds) of the KVM heartbeat checker.
# kvm.heartbeat.checker.timeout=360000
26 changes: 25 additions & 1 deletion agent/src/main/java/com/cloud/agent/Agent.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@

import javax.naming.ConfigurationException;

import com.cloud.resource.AgentStatusUpdater;
import com.cloud.resource.ResourceStatusUpdater;
import com.cloud.agent.api.PingAnswer;
import com.cloud.utils.NumbersUtil;
import org.apache.cloudstack.agent.lb.SetupMSListAnswer;
import org.apache.cloudstack.agent.lb.SetupMSListCommand;
Expand Down Expand Up @@ -101,7 +104,7 @@
* For more configuration options, see the individual types.
*
**/
public class Agent implements HandlerFactory, IAgentControl {
public class Agent implements HandlerFactory, IAgentControl, AgentStatusUpdater {
protected Logger logger = LogManager.getLogger(getClass());

public enum ExitStatus {
Expand Down Expand Up @@ -410,6 +413,20 @@ public void scheduleWatch(final Link link, final Request request, final long del
}
}

public void triggerUpdate() {
PingCommand command = _resource.getCurrentStatus(getId());
command.setOutOfBand(true);
logger.debug("Sending out of band ping");

final Request request = new Request(_id, -1, command, false);
request.setSequence(getNextSequence());
try {
_link.send(request.toBytes());
} catch (final ClosedChannelException e) {
logger.warn("Unable to send ping update: " + request.toString());
}
}

protected void cancelTasks() {
synchronized (_watchList) {
for (final WatchTask task : _watchList) {
Expand Down Expand Up @@ -462,6 +479,10 @@ public void sendStartup(final Link link) {
} catch (final ClosedChannelException e) {
logger.warn("Unable to send request: " + request.toString());
}

if (_resource instanceof ResourceStatusUpdater) {
((ResourceStatusUpdater) _resource).registerStatusUpdater(this);
}
}
}

Expand Down Expand Up @@ -823,6 +844,9 @@ public void processResponse(final Response response, final Link link) {
listener.processControlResponse(response, (AgentControlAnswer)answer);
}
}
} else if (answer instanceof PingAnswer && (((PingAnswer) answer).isSendStartup()) && _reconnectAllowed) {
logger.info("Management server requested startup command to reinitialize the agent");
sendStartup(link);
} else {
setLastPingResponseTime();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,14 @@ public synchronized boolean configure(String name, Map<String, Object> params) {
file = new File(path);
try {
if (!file.createNewFile()) {
logger.error("Unable to create _file: " + file.getAbsolutePath());
logger.error(String.format("Unable to create _file: %s", file.getAbsolutePath()));
return false;
}
} catch (IOException e) {
logger.error("Unable to create _file: " + file.getAbsolutePath(), e);
logger.error(String.format("Unable to create file: %s", file.getAbsolutePath()));
if (logger.isDebugEnabled()) {
logger.debug(String.format("IOException while trying to create file: %s", file.getAbsolutePath()), e);
}
return false;
}
}
Expand Down
Loading