Comments (9)
Need to test the regular restore volume after the corresponding PR gets merged. Here is one manual test QAs can check besides the regression test:
- Create a Launch a volume in the 1st cluster
- Create a large backup for the volume.
- Continue writing more data to the volume.
- Create a regular restore volume in the 2nd cluster.
- During the restoration in-progress, Ask the original volume to create the 2nd backup
- In the 2nd cluster, manually update
backupVolume.Spec.SyncRequestedAt
so that the 2nd backup will be shown in the 2nd cluster. - See if the restoring volume can finish the restore and get detached automatically ==> This should be YES.
from longhorn.
@roger-ryao let's keep this open until longhorn/longhorn-manager#2621 gets merged.
@shuo-wu Please describe what side effect @longhorn/qa needs to verify for the above PR.
from longhorn.
backupVolume.Spec.SyncRequestedAt
should be later thanbackupVolume.Status.LastSyncedAt
- The UI improvement ticket is #7982
from longhorn.
cc @roger-ryao
Verified on v1.5.4-rc4 20240226
Installed with Kubectl.
kubectl apply -f https://raw.githubusercontent.com/longhorn/longhorn/v1.5.4-rc4/deploy/longhorn.yaml
The test steps: #7945 (comment)
- Launch 2 clusters and both have Longhorn installed
- Set up a backup target.
- Create two volumes and write data in the 1st cluster. Then create volumes' backups.
- Restore two backup files as DR volumes in the 2nd cluster.
- Modify the backup poll interval to a large value.
- Write more data for the volumes in the 1st cluster, and create the 2nd backup.
- Activate one of the DR volumes in the 2nd cluster. Then verify the data
Only the activating DR volume will trigger the last backup synchronizing mechanism.
from longhorn.
Pre Ready-For-Testing Checklist
- Have the backend code been merged (Manager, Engine, Instance Manager, BackupStore etc) (including
backport-needed/*
)?
The PR is at longhorn/longhorn-manager#2616
longhorn/longhorn-manager#2623
from longhorn.
Verified on v1.5.x-head 20240221
- longhorn
v1.5.x-head
d82f951 - longhorn-manager
v1.5.x-head
longhorn/longhorn-manager@103a15f
The test steps
Result Passed
- 1. The activated DR volume contains the latest data.
- 2. require/manual-test-plan : longhorn/longhorn-tests#1732
from longhorn.
In the 2nd cluster, manually update backupVolume.Spec.SyncRequestedAt so that the 2nd backup will be shown in the 2nd cluster.
Hi @shuo-wu,
I have two questions about item 6. Manually updating backupVolume.Spec.SyncRequestedAt
has any limitations?
For example, must it be later than the current time, or if we update the backupVolume.Spec.SyncRequestedAt
at any time, will it trigger the creation of the second backup on the second cluster?
Do we have plans to add this functionality to the UI? If yes, perhaps we need to create a related ticket for that.
from longhorn.
Verified on v1.5.4-rc3 20240222
- longhorn
v1.5.4-rc3
70a962e - longhorn-manager
v1.5.4-rc3
longhorn/longhorn-manager@7250ac3
The test steps
Test Method 1 : #7945 (comment)
- Launch
2 clusters
and both have Longhorn installed - Set up a backup target.
- Create two volumes and write data in the
1st cluster
. Then create volumes' backups. - Restore two backup files as DR volumes in the
2nd cluster
. - Modify the backup poll interval to a large value.
- Write more data for the volumes in the
1st cluster
, and create the2nd backup
. - Activate one of the DR volumes in the
2nd cluster
. Then verify the data
Test Method 2 refer:#7947 (comment)
Result Passed
- 1. Test Method 1.
- 2. Test Method 2
- 3. require/manual-test-plan : longhorn/longhorn-tests#1732
Hi @shuo-wu and @mantissahz:
When I activate one of the DR volumes in the 2nd cluster, I notice that another DR volume also starts to pull the latest backup. Is this expected? Because in v1.4
& v1.3
, DR volumes syncing up are independent and won't trigger each other.
from longhorn.
Hi @shuo-wu and @mantissahz:
When I activate one of the DR volumes in the 2nd cluster, I notice that another DR volume also starts to pull the latest backup. Is this expected? Because inv1.4
&v1.3
, DR volumes syncing up are independent and won't trigger each other.
Hi @shuo-wu & @mantissahz
It seems like my environment issue. I built up a new cluster, and DR volumes syncing up are independent and won't trigger each other on v1.5.4-rc3
.
from longhorn.
Related Issues (20)
- [TASK] Fix errors when upgrading K8s lib to 0.29
- [BUG] [v1.5.4 GA] Enable V2 data engine make instance-manager restarting HOT 7
- [BUG] [Backup>S3] Backup creating and cleanup process is way to slow if a lot of backups are in S3 HOT 6
- [QUESTION] Active Maintenance for Longhorn 1.4 HOT 1
- [IMPROVEMENT] Docker build of instance-manager should error out if the execution of SPDK pkgdep.sh fails
- [IMPROVEMENT] Add volume metric that tracks actual filesystem usage? HOT 6
- add new node pool HOT 29
- [BUG] automatically updating Rancher image mirror list is not working
- [DOC] Steps to perform when removing longhorn and the Namespace `longhorn-system` is stuck at `Terminating`
- [TASK] Generate BackupBackingImage Backend API HOT 4
- [UI][TASK] Generate BackupBackingImage Backend API HOT 1
- [IMPROVEMENT] Improve the UX of updating danger zone settings HOT 4
- [UI][IMPROVEMENT] Improve the UX of updating danger zone settings
- [BUG] no Pending workload pods for volume xxx to be mounted HOT 11
- [TASK] SPDK raid merge with upstream HOT 1
- [IMPROVEMENT] Update sizes in Engine and Volume resources less frequently HOT 2
- [DOC] Add layouts and descriptions for files in replica directory and backupstores HOT 1
- [BACKPORT][v1.6.1][BUG] no Pending workload pods for volume xxx to be mounted
- [BACKPORT][v1.5.5][BUG] no Pending workload pods for volume xxx to be mounted
- [IMPROVEMENT] Cannot read/write to block volume when the container is run as non-root
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from longhorn.