Skip to content

Conversation

@arjun11-malik
Copy link

Applicable spec:

Overview

Fixes #821, by relocating rawfile-storage to /mnt after Canonical Kubernetes setup.

Rationale

The default path /var/snap/k8s/common/rawfile-storage has insufficient space (~19 GiB), causing repeated PVC claim and bootstrap failures. Relocating the storage to /mnt provides sufficient space and stabilizes the integration tests.

Workflow Changes

Added a relocation step after Canonical K8s setup:

  • Copies existing data to /mnt/rawfile-storage
  • Removes old directory and symlinks back to expected path

Checklist

@arjun11-malik arjun11-malik requested a review from a team as a code owner September 25, 2025 13:38
@seb4stien
Copy link
Contributor

Hi. Our team left a comment in the related issue.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 7, 2025

Test results for commit f0936b7

Test coverage for f0936b7

Name           Stmts   Miss Branch BrPart  Cover   Missing
----------------------------------------------------------
src/charm.py       7      7      0      0     0%   8-23
----------------------------------------------------------
TOTAL              7      7      0      0     0%

Static code analysis report

Run started:2025-10-07 16:47:28.311380

Test results:
  No issues identified.

Code scanned:
  Total lines of code: 52
  Total lines skipped (#nosec): 0
  Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
  Total issues (by severity):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
  Total issues (by confidence):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
Files skipped (0):

@github-actions
Copy link
Contributor

github-actions bot commented Oct 7, 2025

Test results for commit f0936b7

Test coverage for f0936b7

Name           Stmts   Miss Branch BrPart  Cover   Missing
----------------------------------------------------------
src/charm.py       7      7      0      0     0%   8-23
----------------------------------------------------------
TOTAL              7      7      0      0     0%

Static code analysis report

Run started:2025-10-07 16:47:01.153160

Test results:
  No issues identified.

Code scanned:
  Total lines of code: 52
  Total lines skipped (#nosec): 0
  Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
  Total issues (by severity):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
  Total issues (by confidence):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
Files skipped (0):

@github-actions
Copy link
Contributor

github-actions bot commented Oct 7, 2025

Test results for commit f0936b7

Test coverage for f0936b7

Name           Stmts   Miss Branch BrPart  Cover   Missing
----------------------------------------------------------
src/charm.py       7      7      0      0     0%   8-23
----------------------------------------------------------
TOTAL              7      7      0      0     0%

Static code analysis report

Run started:2025-10-07 16:47:32.973064

Test results:
  No issues identified.

Code scanned:
  Total lines of code: 52
  Total lines skipped (#nosec): 0
  Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
  Total issues (by severity):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
  Total issues (by confidence):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
Files skipped (0):

@github-actions
Copy link
Contributor

github-actions bot commented Oct 7, 2025

Test results for commit f0936b7

Test coverage for f0936b7

Name           Stmts   Miss Branch BrPart  Cover   Missing
----------------------------------------------------------
src/charm.py       7      7      0      0     0%   8-23
----------------------------------------------------------
TOTAL              7      7      0      0     0%

Static code analysis report

Run started:2025-10-07 16:47:05.704261

Test results:
  No issues identified.

Code scanned:
  Total lines of code: 52
  Total lines skipped (#nosec): 0
  Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
  Total issues (by severity):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
  Total issues (by confidence):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
Files skipped (0):

@github-actions
Copy link
Contributor

github-actions bot commented Oct 7, 2025

Test results for commit f0936b7

Test coverage for f0936b7

Name           Stmts   Miss Branch BrPart  Cover   Missing
----------------------------------------------------------
src/charm.py       7      7      0      0     0%   8-23
----------------------------------------------------------
TOTAL              7      7      0      0     0%

Static code analysis report

Run started:2025-10-07 16:47:34.588411

Test results:
  No issues identified.

Code scanned:
  Total lines of code: 52
  Total lines skipped (#nosec): 0
  Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
  Total issues (by severity):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
  Total issues (by confidence):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
Files skipped (0):

@github-actions
Copy link
Contributor

github-actions bot commented Oct 7, 2025

Test results for commit f0936b7

Test coverage for f0936b7

Name           Stmts   Miss Branch BrPart  Cover   Missing
----------------------------------------------------------
src/charm.py       7      7      0      0     0%   8-23
----------------------------------------------------------
TOTAL              7      7      0      0     0%

Static code analysis report

Run started:2025-10-07 16:47:06.862534

Test results:
  No issues identified.

Code scanned:
  Total lines of code: 52
  Total lines skipped (#nosec): 0
  Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
  Total issues (by severity):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
  Total issues (by confidence):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
Files skipped (0):

@github-actions
Copy link
Contributor

github-actions bot commented Oct 7, 2025

Test results for commit f0936b7

Test coverage for f0936b7

Name           Stmts   Miss Branch BrPart  Cover   Missing
----------------------------------------------------------
src/charm.py       7      7      0      0     0%   8-23
----------------------------------------------------------
TOTAL              7      7      0      0     0%

Static code analysis report

Run started:2025-10-07 16:48:41.464478

Test results:
  No issues identified.

Code scanned:
  Total lines of code: 52
  Total lines skipped (#nosec): 0
  Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
  Total issues (by severity):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
  Total issues (by confidence):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
Files skipped (0):

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.

Relocate k8s rawfile-storage to /mnt

3 participants