Commit 93e3cc1
[CSTACKEX-204] ASUP Implementation (#69)
This PR...
ASUP Implementation
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] Enhancement (improves an existing feature and functionality)
- [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
- [ ] Build/CI
- [ ] Test (unit or integration test code)
- [x] Major
- [ ] Minor
- [ ] BLOCKER
- [ ] Critical
- [ ] Major
- [ ] Minor
- [ ] Trivial
This is a testing screen shot, the min frequency is 4 hours, not 1 hour
<img width="1723" height="790" alt="image"
src="https://github.com/user-attachments/assets/f2351e08-6ce3-4925-a1e7-391dfd17cfc3"
/>
<img width="1584" height="523" alt="image"
src="https://github.com/user-attachments/assets/a4313ac9-de68-400a-81dc-1298e9b0a13b"
/>
Smart Solve Data
SmartSolve_EMS-LOG-FILEGZ_Asupid_2026091501340005.html
[?] Tue Sep 15 00:47:27 -0400 [sti245-vsim-ocvs032b: kernel:
ems.engine.suppressed:debug]: Event 'netinet6.rtr.high.mtu' suppressed
205 times in last 3634 seconds.
[ [?] ](javascript:void(0)) Tue Sep 15 00:47:27 -0400
[sti245-vsim-ocvs032b: kernel: netinet6.rtr.high.mtu:info]:
nd6_ra_input: MTU option mtu=9214 sent from fe80:3::21c:73ff:fe00:99;
exceeds the maxmtu 1500 on 'e0c'; ignoring.
[ [?] ](javascript:void(0)) Tue Sep 15 00:50:34 -0400
[sti245-vsim-ocvs032b: dense_ads_monitor:
sis.auto.session.change:notice]: ADS: Number of auto sessions changed
from 4 to 1
[?] Tue Sep 15 00:53:09 -0400 [sti245-vsim-ocvs032b: mgwd:
app.log.notice:notice]: **cstack08.rtp.openenglab.netapp.com: CloudStack
ONTAP plugin 4.23.0.0-SNAPSHOT: (0) provisioning: {"message":"CloudStack
connected to Unified ONTAP
cluster","cloudstackVersion":"4.23.0.0-SNAPSHOT","platform":"Linux
6.8.0-136-generic
(amd64)","ontapVersion":"9.17.1","ontapClusterModel":"SIMBOX","ontapPlatformType":"performance","clusterUuid":"7cd7613a-a571-11f1-b6f8-005056bdad8c","managementServerCount":1}
[ [?] ](javascript:void(0)) Tue Sep 15 00:53:09 -0400
[sti245-vsim-ocvs032b: mgwd: app.log.notice:notice]:
cstack08.rtp.openenglab.netapp.com: CloudStack ONTAP plugin
4.23.0.0-SNAPSHOT: (1) provisioning: {"message":"CloudStack storage pool
backed by Unified ONTAP
volume","poolName":"PoolNFS_43","poolStatus":"Up","protocol":"NFS3","clusterUuid":"7cd7613a-a571-11f1-b6f8-005056bdad8c","svm":"vs0","ontapVolumeUuid":"fb8fece4-a576-11f1-b46d-005056bd1333","rootDiskCount":1,"dataDiskCount":1,"totalLogicalSizeBytes":8589934592,"vmSnapshotCount":1,"volumeSnapshotCount":1,"multiPrimaryStoragePoolVm":false}**
[ [?] ](javascript:void(0)) Tue Sep 15 00:53:42 -0400
[sti245-vsim-ocvs032b: dense_ads_monitor:
sis.auto.session.change:notice]: ADS: Number of auto sessions changed
from 1 to 2
[?] Tue Sep 15 00:54:44 -0400 [sti245-vsim-ocvs032b: dense_ads_monitor:
sis.auto.session.change:notice]: ADS: Number of auto sessions changed
from 2 to 3
[?] Tue Sep 15 00:55:47 -0400 [sti245-vsim-ocvs032b: dense_ads_monitor:
sis.auto.session.change:notice]: ADS: Number of auto sessions changed
from 3 to 1
[?] Tue Sep 15 00:56:50 -0400 [sti245-vsim-ocvs032b: dense_ads_monitor:
sis.auto.session.change:notice]: ADS: Number of auto sessions changed
from 1 to 2
[ [?] ](javascript:void(0)) Tue Sep 15 00:57:52 -0400
[sti245-vsim-ocvs032b: dense_ads_monitor:
sis.auto.session.change:notice]: ADS: Number of auto sessions changed
from 2 to 3
[?] Tue Sep 15 00:58:55 -0400 [sti245-vsim-ocvs032b: dense_ads_monitor:
sis.auto.session.change:notice]: ADS: Number of auto sessions changed
from 3 to 1
1- Keep the ASUP disabled by keep value as 0 and check the events on
ONTAP - No events are getting generated
2- Enable the ASUP and check the events and it was getting triggered on
the given frequency on ontap
3- Verified the data on ontap for event 0 and event 1
4- Created the new VM and Snapshots, and VM across pools then required
field on new run took the new values.
5- Keep the ASUP frequency value less than or greater than required,
throw the error on UI
6- Disable the ASUP again by keep value as 0, the data stop getting
pushed to ontap
change?
<!-- see how your change affects other areas of the code, etc. -->
<!-- Please read the
[CONTRIBUTING](https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md)
document -->
---------
Co-authored-by: Gupta, Surya <Surya.Gupta@netapp.com>
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 27722a5 commit 93e3cc1
16 files changed
Lines changed: 2170 additions & 10 deletions
File tree
- engine/schema/src/main/java/com/cloud/storage/dao
- plugins/storage/volume/ontap
- src
- main
- java/org/apache/cloudstack/storage
- asup
- feign
- client
- model
- service
- utils
- resources/META-INF/cloudstack/storage-volume-ontap
- test/java/org/apache/cloudstack/storage
- asup
- service
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
185 | 192 | | |
186 | 193 | | |
187 | 194 | | |
| |||
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
99 | 107 | | |
100 | 108 | | |
101 | 109 | | |
| |||
998 | 1006 | | |
999 | 1007 | | |
1000 | 1008 | | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
1001 | 1024 | | |
1002 | 1025 | | |
1003 | 1026 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
89 | 94 | | |
90 | 95 | | |
91 | 96 | | |
| |||
0 commit comments