Skip to content

Conversation

@rohityadavcloud
Copy link
Member

The valid states are poweron and poweroff.

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?

The valid states are poweron and poweroff.

Signed-off-by: Rohit Yadav <[email protected]>
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

Copy link
Collaborator

@abh1sar abh1sar left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov
Copy link

codecov bot commented Aug 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 17.36%. Comparing base (1272b13) to head (2a67ea3).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #11504      +/-   ##
============================================
- Coverage     17.36%   17.36%   -0.01%     
- Complexity    15232    15233       +1     
============================================
  Files          5886     5886              
  Lines        525680   525680              
  Branches      64159    64159              
============================================
- Hits          91261    91260       -1     
  Misses       424120   424120              
- Partials      10299    10300       +1     
Flag Coverage Δ
uitests 3.63% <ø> (ø)
unittests 18.40% <ø> (-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.

🚀 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.

@boring-cyborg boring-cyborg bot added the Python Warning... Python code Ahead! label Aug 25, 2025
@rohityadavcloud
Copy link
Member Author

I could also manage to fix the hyperv powerstate not syncing. cc @abh1sar @shwstppr @harikrishna-patnala

Manually tested in a HyperV WS 2019, Proxmox VE9 and sample/test extension.

@rohityadavcloud rohityadavcloud changed the title scripts: fix external provision to use correct power state scripts: fix external provision to use correct power state & hyperv powersync Aug 25, 2025
Copy link
Contributor

@harikrishna-patnala harikrishna-patnala left a comment

Choose a reason for hiding this comment

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

LGTM

@harikrishna-patnala harikrishna-patnala merged commit 5da7d2d into apache:main Aug 29, 2025
25 of 26 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Apache CloudStack 4.22.0 Aug 29, 2025
@harikrishna-patnala harikrishna-patnala deleted the exten-scaffold-powersync-fix branch August 29, 2025 06:39
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Sep 4, 2025
…owersync (apache#11504)

* scripts: fix external provision to use correct power state

The valid states are poweron and poweroff.

Signed-off-by: Rohit Yadav <[email protected]>

* strip string while processing powerstate for HyperV

Signed-off-by: Rohit Yadav <[email protected]>

* ignore warning that spills over to exten output string

Signed-off-by: Rohit Yadav <[email protected]>

---------

Signed-off-by: Rohit Yadav <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Python Warning... Python code Ahead!

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants