Skip to content

PCP-6716: Cherry pick storage and subnet fix#341

Merged
Kun483 merged 4 commits into
spectro-release-4.8from
cherry-pick/storage-subnet-fix
May 19, 2026
Merged

PCP-6716: Cherry pick storage and subnet fix#341
Kun483 merged 4 commits into
spectro-release-4.8from
cherry-pick/storage-subnet-fix

Conversation

@Kun483

@Kun483 Kun483 commented May 15, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

AmitSahastra and others added 3 commits May 15, 2026 15:25
…nk_subnet (#318)

* Fix wrong subnet in use existing VM flow

* feat: add AUTO link mode and LinkSubnetWithMode for MAAS link_subnet

* fix unit tests

* change to use new maas client go

* fix pkg/maas/lxd/host_maas_client_test.go

* add unit test for resolveLinkMode

---------

Co-authored-by: kun zhou <kun.zhou@spectrocloud.com>
Co-authored-by: Kun Zhou <156021375+Kun483@users.noreply.github.com>
@Kun483 Kun483 requested a review from AmitSahastra May 15, 2026 22:57

@bulwark-spectrocloud bulwark-spectrocloud Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ GoVulnCheck scan found vulnerabilities:

  1. GO-2026-4918
    • Module: golang.org/x/net
    • Found in: v0.38.0
    • Fixed in: v0.53.0
    • Example Traces:
      1. pkg/maas/dns/dns.go:52:10: dns.ReconcileDNS calls maasclient.Create, which eventually calls http2.run
      2. pkg/maas/dns/dns.go:52:10: dns.ReconcileDNS calls maasclient.Create, which eventually calls http.roundTrip
      3. pkg/maas/dns/dns.go:52:10: dns.ReconcileDNS calls maasclient.Create, which eventually calls http.roundTrip
      4. pkg/maas/dns/dns.go:52:10: dns.ReconcileDNS calls maasclient.Create, which eventually calls http.roundTrip

Please review these findings and fix the issues before merging.

@bulwark-spectrocloud bulwark-spectrocloud Bot dismissed their stale review May 15, 2026 23:01

Changes have been made to address the security findings.

@tiwarisumit3 tiwarisumit3 changed the title Cherry pick storage and subnet fix PCP-6716: Cherry pick storage and subnet fix May 16, 2026
@Kun483 Kun483 merged commit 2db6289 into spectro-release-4.8 May 19, 2026
4 checks passed
@Kun483 Kun483 deleted the cherry-pick/storage-subnet-fix branch May 19, 2026 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants