mayadata-io / mayadata-io/oep-e2e

verify hostname renaming of the node hosting a cstor pool does not result in data loss

Open
#661 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backlog user story
Dominant language
Python
Stars
6
Forks
10
PR merge metrics
No merged PRs in 30d

Description

e2e Test: User wants to delete a node by moving the cStor pool (disks) to a new node. ( Same as rename the hostname of the Node on which a cStor Pool is created).
Process do to this with SPC.
=> cStor Pool (using SPC) is created with Block Devices
=> If Block Devices are virtual devices, block device uuid is dependendent on the hostname. After rename, NDM creates a new BD.
=> CSP will be in pending state = because of node selector and also the older BD name.
=> Manual intervention is required by the user to fix this issue.
Issues with Manual Process:
=> Editing the SPC, and replacing old BD with new BD - will trigger delete of old CSP and creation of new CSP (data loss)
=> (This has been avoided for SPC by putting a check to not delete a CSP if data/volumes exists on it)
=> (With CSPC, blanket list of devices is not available to make mistakes)
=> (With NDM (currently in alpha), there is a check to create unique uuid for virtual devices as well, that removes the dependency on hostname)
=> The user seemed to requested for support and followed the steps outlined in:

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the SPC disk-management steps in the linked cstor_add_disks_to_spc.md and cStor scaling documentation, then inspect the repository's existing e2e test entry points. Define a test for renaming the host node of a cStor pool and verify that the pool and its data remain available without manual replacement of block devices.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
infrastructure, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.