Skip to content

Conversation

@abh1sar
Copy link
Collaborator

@abh1sar abh1sar commented Jan 22, 2025

Description

This PR fixes #8145

Types of changes

  • 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)
  • 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

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

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

@abh1sar
Copy link
Collaborator Author

abh1sar commented Jan 22, 2025

@blueorangutan ui

@blueorangutan
Copy link

@abh1sar a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@codecov
Copy link

codecov bot commented Jan 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 15.16%. Comparing base (0d5047b) to head (b786f42).
Report is 6 commits behind head on 4.19.

Additional details and impacted files
@@            Coverage Diff            @@
##               4.19   #10243   +/-   ##
=========================================
  Coverage     15.16%   15.16%           
- Complexity    11300    11301    +1     
=========================================
  Files          5408     5409    +1     
  Lines        473912   473927   +15     
  Branches      57844    57844           
=========================================
+ Hits          71855    71864    +9     
- Misses       394025   394031    +6     
  Partials       8032     8032           
Flag Coverage Δ
uitests 4.29% <ø> (-0.01%) ⬇️
unittests 15.88% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@abh1sar
Copy link
Collaborator Author

abh1sar commented Jan 22, 2025

@blueorangutan package

@blueorangutan
Copy link

@abh1sar a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan
Copy link

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12178

@DaanHoogland
Copy link
Contributor

DaanHoogland commented Jan 23, 2025

@abh1sar , I think the solution should not be UI only. The API as well should fail at service level, agree?

Edit: not that this would not be an improvement.

@DaanHoogland DaanHoogland added this to the 4.19.2 milestone Jan 23, 2025
@abh1sar
Copy link
Collaborator Author

abh1sar commented Jan 24, 2025

@abh1sar , I think the solution should not be UI only. The API as well should fail at service level, agree?

Edit: not that this would not be an improvement.

@DaanHoogland the 'zone' parameter is required for the api, so the api returns an error if zone is not specified.

@DaanHoogland DaanHoogland changed the title Hide register template, create/upload volume and create vpc buttons wheen zone is not created. Hide register template, create/upload volume and create vpc buttons when zone is not created. Jan 24, 2025
@DaanHoogland
Copy link
Contributor

@DaanHoogland the 'zone' parameter is required for the api, so the api returns an error if zone is not specified.

yes, you are right. 👍

Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clgtm

@DaanHoogland
Copy link
Contributor

@blueorangutan ui

@blueorangutan
Copy link

@DaanHoogland a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/10243 (QA-JID-532)

@borisstoyanov borisstoyanov self-assigned this Jan 27, 2025
Copy link
Contributor

@borisstoyanov borisstoyanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can also add:
Images:

  • ISOs - register/upload iso
  • Kubernetes - Add kub version
    Network:
  • VNF Appliance - add VNF appliance
  • s2s VPN - Add VPN GW
  • VPN Users - Add User
  • VPN Cust Gateway - Add
    Storage:
  • Buckets - create
    Compute
  • Add instance
  • Kubernetes - create kub cluster
  • autoscale IG - New autoscale IG
  • Instance group - new IG

@abh1sar
Copy link
Collaborator Author

abh1sar commented Jan 31, 2025

@blueorangutan ui

@blueorangutan
Copy link

@abh1sar a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@abh1sar
Copy link
Collaborator Author

abh1sar commented Jan 31, 2025

@borisstoyanov @DaanHoogland
I have made the suggested changes with the exception of create bucket. I was able to configure object storage and create bucket without creating a zone. Please check.

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/10243 (QA-JID-540)

Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code looks good, but a bit boilerplate @abh1sar . Would it be possible to create an isAZoneCreated() method and call that for clarity?

@abh1sar
Copy link
Collaborator Author

abh1sar commented Feb 2, 2025

@blueorangutan ui

@blueorangutan
Copy link

@abh1sar a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/10243 (QA-JID-541)

Copy link
Contributor

@borisstoyanov borisstoyanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about these remaining @abh1sar:

  • Images:
    ISOs - register/upload iso
    Kubernetes - Add kub version

  • Network:
    VNF Appliance - add VNF appliance
    s2s VPN - Add VPN GW
    VPN Users - Add User
    VPN Cust Gateway - Add

  • Compute
    Add instance
    Kubernetes - create kub cluster
    autoscale IG - New autoscale IG
    Instance group - new IG

@borisstoyanov
Copy link
Contributor

@blueorangutan package

@blueorangutan
Copy link

@borisstoyanov a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@borisstoyanov
Copy link
Contributor

just noticed it hasn't been built in a while.

@blueorangutan
Copy link

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12325

@DaanHoogland
Copy link
Contributor

How about these remaining @abh1sar:

* Images:
  ISOs - register/upload iso
  Kubernetes - Add kub version

* Network:
  VNF Appliance - add VNF appliance
  s2s VPN - Add VPN GW
  VPN Users - Add User
  VPN Cust Gateway - Add

* Compute
  Add instance
  Kubernetes - create kub cluster
  autoscale IG - New autoscale IG
  Instance group - new IG

according to the code, these have been addressed, @borisstoyanov .

Copy link
Contributor

@borisstoyanov borisstoyanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK LGTM, manually checked

@DaanHoogland DaanHoogland merged commit 1b2f6c9 into apache:4.19 Feb 4, 2025
26 checks passed
@DaanHoogland DaanHoogland deleted the no-zone branch February 4, 2025 11:33
@vishesh92 vishesh92 mentioned this pull request Feb 10, 2025
14 tasks
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

As a user I can start registring templates before a zone is created

4 participants