Skip to content

Commit a26d9b3

Browse files
suryag1201Gupta, Surya
authored andcommitted
[CSTACKEX-194] Storage Pool Creation Fix (#62)
### Description Storage Pool Creation is failing "message": "Unexpected argument \"svm.iscsiEnabled\" <!-- For new features, provide link to FS, dev ML discussion etc. --> <!-- In case of bug fix, the expected and actual behaviours, steps to reproduce. --> <!-- When "Fixes: #<id>" is specified, the issue/PR will automatically be closed when this PR gets merged --> <!-- For addressing multiple issues/PRs, use multiple "Fixes: #<id>" --> <!-- Fixes: # --> <!--- ******************************************************************************* --> <!--- NOTE: AUTOMATION USES THE DESCRIPTIONS TO SET LABELS AND PRODUCE DOCUMENTATION. --> <!--- PLEASE PUT AN 'X' in only **ONE** box --> <!--- ******************************************************************************* --> ### Types of changes - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] New feature (non-breaking change which adds functionality) - [x] 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 - [ ] Test (unit or integration test code) ### Feature/Enhancement Scale or Bug Severity #### Feature/Enhancement Scale - [x] Major - [ ] Minor #### Bug Severity - [ ] BLOCKER - [ ] Critical - [ ] Major - [ ] Minor - [ ] Trivial ### Screenshots (if appropriate): <img width="1471" height="145" alt="image" src="https://github.com/user-attachments/assets/f894ec2d-0769-4f6d-8ad3-13b3e6b2b5cc" /> <img width="2292" height="1672" alt="image" src="https://github.com/user-attachments/assets/403bce30-c9a2-44ec-a783-cf65c1fa2bd9" /> ### How Has This Been Tested? 1- Disable the NFS and ISCSI protocol on svm and checked the storage pool creation: It threw the appropriate error on UI, below is the screenshot 2- Enable the NFS and ISCSI protocol on svm: Storage pool creation went fine #### 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. --> <!-- Please read the [CONTRIBUTING](https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md) document --> Co-authored-by: Gupta, Surya <Surya.Gupta@netapp.com>
1 parent 496f596 commit a26d9b3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • plugins/storage/volume/ontap/src/main/java/org/apache/cloudstack/storage/feign/model

plugins/storage/volume/ontap/src/main/java/org/apache/cloudstack/storage/feign/model/Svm.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,13 @@ public class Svm {
3838
@JsonProperty("name")
3939
private String name = null;
4040

41+
@JsonIgnore
4142
private Boolean iscsiEnabled = null;
4243

44+
@JsonIgnore
4345
private Boolean fcpEnabled = null;
4446

47+
@JsonIgnore
4548
private Boolean nfsEnabled = null;
4649

4750
@JsonProperty("aggregates")

0 commit comments

Comments
 (0)