Giter Site home page Giter Site logo

Comments (8)

pms1969 avatar pms1969 commented on June 11, 2024

the logs from the rook-api

2018/06/13 12:31:10 rook-rest-api is up and running! 2018-06-13 12:31:10.650612063 +0000 UTC m=+0.001835545
2018/06/13 13:03:48 Called initRook()
There was an error creating the volume:  exit status 2
10.2.5.10 - - [13/Jun/2018:13:03:48 +0000] "POST /block/replicapool/replicapool%7C%7Cpvc-0e02e8cd-4f85-11e8-aa2e-0690e07debf2%7C%7C935d41c7-b2b
7-4047-a357-6caa1a211c03/pvc-0e02e8cd-4f85-11e8-aa2e-0690e07debf2 HTTP/1.1" 500 0

the initRook() and error continue to repeat

from ark-blockstore-rook.

pms1969 avatar pms1969 commented on June 11, 2024

Actually, there is nothing that is big enough in the backup that looks like it could be the pv's. Assuming something wrong with the backup now.

from ark-blockstore-rook.

pms1969 avatar pms1969 commented on June 11, 2024

OK, Discussion on the kubernetes/ark-dr slack channel has enlightned me enough to understand that cross cluster backup/restore is not possible with this plugin. WIll investitgate the restic integration.

from ark-blockstore-rook.

stevesloka avatar stevesloka commented on June 11, 2024

Hey @pms1969 sorry for the delay in getting back to you! Yes, this repo may not have all the bits for a proper backup of rook. Last time I talked with that team, we chatted about adding better snapshot support into rook, but there were some underlying issues with how ceph could support snapshots.

I'm interested in the new Resic stuff, I may put together an update to this repo to play with those new bits.

from ark-blockstore-rook.

pms1969 avatar pms1969 commented on June 11, 2024

@stevesloka Thanks for getting back to me.

I gave Restic a go, and it's a good solution as long as the PV's are actively attached to a pod. However that's not my situation. :(

I've raised an issue on the Ark project at the request of one of the team after our discussion on slack.

The upshot is that I may have to have a fiddle with this plugin and try adding S3 persistence to it in some way. Currently plan to look at backy2 as a means of achieving this. I have no experience with it (or ceph for that matter), so it may not be suitable. Will let you know, and provide a PR if it works out.

from ark-blockstore-rook.

pms1969 avatar pms1969 commented on June 11, 2024

@stevesloka I've managed to get an off cluster backup an restore working. The code is heavily modified from master, but after I've cleaned it up, I'd like to provide a PR if you're willing?

The basis for the backup/restore was to do an rbd export/import and then copy the file to/from s3. I'm not really sure how you'd go about generalising this for other cloud providers, and it's only worked for me once so far, so I'm going to spend a bit of time testing and retesting. Are you aware of any problems with that approach?

from ark-blockstore-rook.

stevesloka avatar stevesloka commented on June 11, 2024

Yes, please! Would love a PR to make this a better implementation. Also, happy to collaborate on it to further enhance. =)

from ark-blockstore-rook.

pms1969 avatar pms1969 commented on June 11, 2024

Excellent. Will provide PR soon'ish.

from ark-blockstore-rook.

Related Issues (1)

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.