Skip to content

Minor fixes for references to Pure Storage FlashArray - #10271

Open
sdodsley wants to merge 6 commits into
apache:mainfrom
sdodsley:pure_syntax
Open

sdodsley wants to merge 6 commits into
apache:mainfrom
sdodsley:pure_syntax

Conversation

@sdodsley

Copy link
Copy Markdown

Description

This PR changes incorrect references to the Pure Storage FlashArray in both the actual code and in code comments.

Just wanting to make sure that the array is referenced by it correct, trademarked, name.

No functional changes.

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

None

How Has This Been Tested?

N/A

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

N/A

@boring-cyborg

boring-cyborg Bot commented Jan 24, 2025

Copy link
Copy Markdown

Congratulations on your first Pull Request and welcome to the Apache CloudStack community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md)
Here are some useful points:

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland 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.

@codecov

codecov Bot commented Jan 27, 2025 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 20.78%. Comparing base (b9b5436) to head (52efa55).
⚠️ Report is 20 commits behind head on main.

Files with missing lines Patch % Lines
...e/adapter/flasharray/FlashArrayAdapterFactory.java 0.00% 1 Missing ⚠️
...ovider/FlashArrayPrimaryDatastoreProviderImpl.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #10271      +/-   ##
============================================
+ Coverage     20.75%   20.78%   +0.02%     
- Complexity    21901    21932      +31     
============================================
  Files          6496     6496              
  Lines        591602   591657      +55     
  Branches      72583    72592       +9     
============================================
+ Hits         122814   122968     +154     
+ Misses       455456   455344     -112     
- Partials      13332    13345      +13     
Flag Coverage Δ
uitests 3.88% <ø> (ø)
unittests 22.09% <0.00%> (+0.02%) ⬆️

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

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@blueorangutan

Copy link
Copy Markdown

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

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

[SF] Trillian test result (tid-12192)
Environment: kvm-ol8 (x2), Advanced Networking with Mgmt server ol8
Total time taken: 49399 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr10271-t12192-kvm-ol8.zip
Smoke tests completed. 140 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_11_isolated_network_with_dynamic_routed_mode Error 2.25 test_ipv4_routing.py
test_12_vpc_and_tier_with_dynamic_routed_mode Error 2.35 test_ipv4_routing.py
test_12_vpc_and_tier_with_dynamic_routed_mode Error 2.35 test_ipv4_routing.py

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland 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
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

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

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

@DaanHoogland

Copy link
Copy Markdown
Contributor

@sdodsley did you test this in anyway? We have no access to do a 3rd party test.

@github-actions

Copy link
Copy Markdown

This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.

@DaanHoogland

Copy link
Copy Markdown
Contributor

@sdodsley @sureshanaparti I marked this for 24 as the conflicts to 22 where too big. Please have a look.

@@ -59,3 +59,6 @@ UPDATE `cloud`.`configuration`
SET value = CONCAT_WS('\n', 'Hello {{username}}!', 'You have requested to reset your password. Please click the following link to reset your password:', '{{{resetLink}}}', 'If you did not request a password reset, please ignore this email.', '', 'Regards,', 'The CloudStack Team')
WHERE name = 'user.password.reset.mail.template'
AND value IN (CONCAT_WS('\n', 'Hello {{username}}!', 'You have requested to reset your password. Please click the following link to reset your password:', 'http://{{{resetLink}}}', 'If you did not request a password reset, please ignore this email.', '', 'Regards,', 'The CloudStack Team'), CONCAT_WS('\n', 'Hello {{username}}!', 'You have requested to reset your password. Please click the following link to reset your password:', '{{{domainUrl}}}{{{resetLink}}}', 'If you did not request a password reset, please ignore this email.', '', 'Regards,', 'The CloudStack Team'));

-- Update storage_provider_name to FlashArray
UPDATE cloud.storage_pool SET storage_provider_name = 'FlashArray' WHERE storage_provider_name = 'Flash Array';

@sureshanaparti sureshanaparti Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@sdodsley this change would now go in the latest schema file, that upgrades to 4.24 (as the PR is target-ed for main/4.24). otherwise, rebase and re-target with 4.22 and keep this change in schema file that upgrade to 4.22.2.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

4.24 is fine

@github-actions

Copy link
Copy Markdown

This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.

@nvazquez

nvazquez commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Hi @sdodsley can you please address the conflicts?

@nvazquez

nvazquez commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@nvazquez a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result [SF]: ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 19894

@nvazquez

nvazquez commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Hi @sdodsley there are some build failures after rebasing to main branch, can you please address?

[ERROR] Apache CloudStack Plugin - Storage Volume - Pure Storage FlashArray FAILURE [  9.473 s]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  22:51 min (Wall Clock)
[INFO] Finished at: 2026-10-30T11:59:23Z
[INFO] ------------------------------------------------------------------------
[INFO] 1677 goals, 1677 executed
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project cloud-plugin-storage-volume-flasharray: Compilation failure
[ERROR] /home/runner/work/cloudstack/cloudstack/plugins/storage/volume/flasharray/src/main/java/org/apache/cloudstack/storage/datastore/adapter/flasharray/FlashArrayAdapter.java:[375,15] error: variable serial is already defined in method getVolumeByAddress(ProviderAdapterContext,AddressType,String)
[ERROR] -> [Help 1]
[ERROR] 

Merging main (apache#13061, NVMe-TCP transport) left both the old and the new
"serial" declaration in FlashArrayAdapter.getVolumeByAddress, which
fails to compile, and dropped the FlashArray rename in the protocol
selection branch of AddPrimaryStorage.vue. Keep only main's declaration
and restore the rename.

Assisted-By: Claude Code claude-fable-5-1
schema-42200to42210.sql was frozen when 4.22.1.0 shipped, so upgrades
from any released 4.22.1 or 4.23 would never run the UPDATE and existing
'Flash Array' pools would fail provider lookup. Put it in
schema-42300to2400.sql instead. Also revert the unrelated Adobe Flash
comment in the vendored jQuery and rename the pt_BR tooltip.

Assisted-By: Claude Code claude-fable-5-1
@nvazquez

nvazquez commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@nvazquez a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress.

@nvazquez nvazquez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code LGTM

@blueorangutan

Copy link
Copy Markdown

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

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Ready

Development

Successfully merging this pull request may close these issues.

10 participants