Code Monkey home page Code Monkey logo

Comments (6)

c3y1huang avatar c3y1huang commented on July 4, 2024 1

https://github.com/longhorn/longhorn-manager/blob/v1.6.2/controller/system_rollout_controller.go#L591

It looks like the rollout created the EngineImage but it isn't reaching the deployed state. Have you tried checking the EngineImage custom resource or Longhorn manager logs?

BTW, what is the Longhorn version in the system backup?

from longhorn.

bkkoli avatar bkkoli commented on July 4, 2024 1

@c3y1huang

Sorry,
As the version has changed, it seems that I accidentally left out the '--version 1.6.2' option and installed it as helm after looking at the master branch at the first installation.

from longhorn.

c3y1huang avatar c3y1huang commented on July 4, 2024 1

Sorry, As the version has changed, it seems that I accidentally left out the '--version 1.6.2' option and installed it as helm after looking at the master branch at the first installation.

Got it. I will close this. Feel free to re-open if needed.

from longhorn.

bkkoli avatar bkkoli commented on July 4, 2024 1

@c3y1huang
The version of Helm Chart that created System Backup was Github's Master Branch. As I reinstalled Longhorn with Master Branch and proceeded with System Restore, it was restored successfully.
Thank you for kindness.

from longhorn.

bkkoli avatar bkkoli commented on July 4, 2024

@c3y1huang
what is the Longhorn version in the system backup?

The Longhorn version of the system backup is v1.7.0-dev.
image

I create the system backup with Longhorn UI

from longhorn.

bkkoli avatar bkkoli commented on July 4, 2024

@c3y1huang

EngineImage Custom Resource is as follows.
image

image

As you advised, I looked at the Longhorn Manager's log, but I didn't find any errors.

time="2024-06-21T04:32:16Z" level=info msg="Creating SystemRestore" func="manager.(*VolumeManager).CreateSystemRestore" file="systemrestore.go:19" systemBackup=test-system-backup systemResto
re=system-restore-20240621
10.42.2.120 - - [21/Jun/2024:04:32:16 +0000] "POST /v1/systemrestores HTTP/1.1" 200 270 "http://xxx.xxx.xxx.xxx:yyyyy/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/121.0.0.0 Safari/537.36"
10.42.2.120 - - [21/Jun/2024:04:32:16 +0000] "GET /v1/systembackups HTTP/1.1" 200 475 "http://xxx.xxx.xxx.xxx:yyyyy/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ch
rome/121.0.0.0 Safari/537.36"
time="2024-06-21T04:33:09Z" level=info msg="Request (user: system:serviceaccount:longhorn-system:longhorn-service-account, longhorn.io/v1beta2, Kind=BackupVolume, namespace: longhorn-system,
 name: pvc-0611aaf2-e1d5-4165-93ea-4a213877f6d4, operation: UPDATE) patchOps: [{\"op\": \"replace\", \"path\": \"/metadata/finalizers\", \"value\": [\"longhorn.io\"]}]" func="admission.(*Han
dler).admit" file="admission.go:115" service=admissionWebhook
time="2024-06-21T04:33:10Z" level=info msg="Request (user: system:serviceaccount:longhorn-system:longhorn-service-account, longhorn.io/v1beta2, Kind=BackupVolume, namespace: longhorn-system,
 name: pvc-2e659992-281b-4145-8e43-8b51208b49c9, operation: UPDATE) patchOps: [{\"op\": \"replace\", \"path\": \"/metadata/finalizers\", \"value\": [\"longhorn.io\"]}]" func="admission.(*Han
dler).admit" file="admission.go:115" service=admissionWebhook
time="2024-06-21T04:33:10Z" level=info msg="Request (user: system:serviceaccount:longhorn-system:longhorn-service-account, longhorn.io/v1beta2, Kind=BackupVolume, namespace: longhorn-system,
 name: pvc-7fd43829-0810-410b-b708-1df940c92786, operation: UPDATE) patchOps: [{\"op\": \"replace\", \"path\": \"/metadata/finalizers\", \"value\": [\"longhorn.io\"]}]" func="admission.(*Han
dler).admit" file="admission.go:115" service=admissionWebhook
time="2024-06-21T04:33:10Z" level=info msg="Request (user: system:serviceaccount:longhorn-system:longhorn-service-account, longhorn.io/v1beta2, Kind=BackupVolume, namespace: longhorn-system,
 name: pvc-ccd6a8f7-67c6-4d1e-9a94-d6f0c61c3983, operation: UPDATE) patchOps: [{\"op\": \"replace\", \"path\": \"/metadata/finalizers\", \"value\": [\"longhorn.io\"]}]" func="admission.(*Han
dler).admit" file="admission.go:115" service=admissionWebhook
time="2024-06-21T04:44:24Z" level=warning msg="websocket: close 1000 (normal)" func=api.NewRouter.NewStreamHandlerFunc.func129.1 file="stream.go:52" id=7645874364612658453 type=settings
10.42.2.120 - - [21/Jun/2024:04:44:08 +0000] "GET /v1/ws/1s/settings HTTP/1.1" 200 0 "" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
"
time="2024-06-21T04:48:09Z" level=info msg="Request (user: system:serviceaccount:longhorn-system:longhorn-service-account, longhorn.io/v1beta2, Kind=BackupVolume, namespace: longhorn-system,
 name: pvc-7fd43829-0810-410b-b708-1df940c92786, operation: UPDATE) patchOps: [{\"op\": \"replace\", \"path\": \"/metadata/finalizers\", \"value\": [\"longhorn.io\"]}]" func="admission.(*Han
dler).admit" file="admission.go:115" service=admissionWebhook
time="2024-06-21T04:48:10Z" level=info msg="Request (user: system:serviceaccount:longhorn-system:longhorn-service-account, longhorn.io/v1beta2, Kind=BackupVolume, namespace: longhorn-system,
 name: pvc-ccd6a8f7-67c6-4d1e-9a94-d6f0c61c3983, operation: UPDATE) patchOps: [{\"op\": \"replace\", \"path\": \"/metadata/finalizers\", \"value\": [\"longhorn.io\"]}]" func="admission.(*Han
dler).admit" file="admission.go:115" service=admissionWebhook
time="2024-06-21T04:48:10Z" level=info msg="Request (user: system:serviceaccount:longhorn-system:longhorn-service-account, longhorn.io/v1beta2, Kind=BackupVolume, namespace: longhorn-system,
 name: pvc-0611aaf2-e1d5-4165-93ea-4a213877f6d4, operation: UPDATE) patchOps: [{\"op\": \"replace\", \"path\": \"/metadata/finalizers\", \"value\": [\"longhorn.io\"]}]" func="admission.(*Han
dler).admit" file="admission.go:115" service=admissionWebhook
time="2024-06-21T04:48:10Z" level=info msg="Request (user: system:serviceaccount:longhorn-system:longhorn-service-account, longhorn.io/v1beta2, Kind=BackupVolume, namespace: longhorn-system,
 name: pvc-2e659992-281b-4145-8e43-8b51208b49c9, operation: UPDATE) patchOps: [{\"op\": \"replace\", \"path\": \"/metadata/finalizers\", \"value\": [\"longhorn.io\"]}]" func="admission.(*Han
dler).admit" file="admission.go:115" service=admissionWebhook
time="2024-06-21T04:53:52Z" level=warning msg="websocket: close 1000 (normal)" func=api.NewRouter.NewStreamHandlerFunc.func162.1 file="stream.go:52" id=1986324038566933869 type=events
10.42.2.120 - - [21/Jun/2024:04:53:50 +0000] "GET /v1/ws/1s/events HTTP/1.1" 200 0 "" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"
10.42.2.120 - - [21/Jun/2024:04:53:53 +0000] "GET /v1/systembackups HTTP/1.1" 200 475 "http://xxx.xxx.xxx.xxx:yyyyy/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ch
rome/121.0.0.0 Safari/537.36"
10.42.2.120 - - [21/Jun/2024:04:53:53 +0000] "GET /v1/systemrestores HTTP/1.1" 200 414 "http://xxx.xxx.xxx.xxx:yyyyy/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) C
hrome/121.0.0.0 Safari/537.36"
time="2024-06-21T05:03:09Z" level=info msg="Request (user: system:serviceaccount:longhorn-system:longhorn-service-account, longhorn.io/v1beta2, Kind=BackupVolume, namespace: longhorn-system,
 name: pvc-2e659992-281b-4145-8e43-8b51208b49c9, operation: UPDATE) patchOps: [{\"op\": \"replace\", \"path\": \"/metadata/finalizers\", \"value\": [\"longhorn.io\"]}]" func="admission.(*Han
dler).admit" file="admission.go:115" service=admissionWebhook
time="2024-06-21T05:03:10Z" level=info msg="Request (user: system:serviceaccount:longhorn-system:longhorn-service-account, longhorn.io/v1beta2, Kind=BackupVolume, namespace: longhorn-system,
 name: pvc-7fd43829-0810-410b-b708-1df940c92786, operation: UPDATE) patchOps: [{\"op\": \"replace\", \"path\": \"/metadata/finalizers\", \"value\": [\"longhorn.io\"]}]" func="admission.(*Han
dler).admit" file="admission.go:115" service=admissionWebhook

from longhorn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.