Commit Graph

1401 Commits

Author SHA1 Message Date
John Mulligan
6a182389a8 docs: update README.md for v0.24.0
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-10-06 09:31:24 +00:00
John Mulligan
81dc03889d cephfs admin: remove deprecated New function
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-10-05 11:22:38 +00:00
John Mulligan
4fef2fe1b1 cephfs: promote some file apis to stable
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-10-05 11:22:38 +00:00
John Mulligan
70ddb1dbea rbd: promote lock apis to stable
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-10-05 11:22:38 +00:00
dependabot[bot]
ca6ee13435 go-ceph: bump github.com/aws/aws-sdk-go from 1.45.2 to 1.45.19
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.45.2 to 1.45.19.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.45.2...v1.45.19)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 18:46:04 +00:00
dependabot[bot]
fcef9f88f4 go-ceph: bump golang.org/x/sys from 0.11.0 to 0.12.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.11.0 to 0.12.0.
- [Commits](https://github.com/golang/sys/compare/v0.11.0...v0.12.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 17:32:09 +00:00
dependabot[bot]
b259c02493 go-ceph: bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 16:59:29 +00:00
DanWritesCode
e1731150a5 rbd: test for image GlobalID inequality
Signed-off-by: Daniel R <github@dann.me>
2023-10-02 13:48:12 +00:00
DanWritesCode
d5c981d9cb rbd: get mirror image status from correct array element
Signed-off-by: Daniel R <github@dann.me>
2023-10-02 13:48:12 +00:00
Sven Anderson
9408dd5884 rados: skip TestPingMonitor test
Related to: #921

Signed-off-by: Sven Anderson <sven@redhat.com>
2023-09-25 14:13:01 +00:00
Anoop C S
291244b76d workflows: Move actions/checkout before actions/setup-go
By placing actions/checkout before actions/setup-go[1] we could avoid
the following warning message:

Warning: Restore cache failed: Dependencies file is not found in
/home/runner/work/go-ceph/go-ceph. Supported file pattern: go.sum

[1] https://github.com/actions/setup-go/issues/281

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2023-09-06 11:48:55 +00:00
dependabot[bot]
947f937cab go-ceph: bump github.com/aws/aws-sdk-go from 1.44.314 to 1.45.2
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.314 to 1.45.2.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.314...v1.45.2)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 05:14:52 +00:00
dependabot[bot]
b6e2648c23 go-ceph: bump golang.org/x/sys from 0.10.0 to 0.11.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/sys/compare/v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-02 14:23:55 +00:00
Dmitry Kvashnin
68fa49b272 add tenant to bucket struct field 2023-08-24 10:28:16 +00:00
John Mulligan
5afbdd6299 workflows: enable stale bot for PRs
Enable stale bot to mark PRs stale and eventually close stale PRs. I had
tried to manually do this in the past with nice comments but I forget
to do it and trying to be nice was unrewarding. I find a bunch of old
PRs in the list a distraction and don't want to have to think about them
or try to follow up on them. I want to be generous to PR authors so PRs
can be inactive for 60 days and one has 3 weeks to unstale the PR.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-08-22 17:55:16 +00:00
John Mulligan
c6272ee940 github: require quincy job to pass in mergify config
After adding the reef job, it was noticed that there was no quincy job.
Apparently we (probably me) forgot to add it at the time we added quincy
to our CI matrix, so we're adding it now.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-08-16 20:34:56 +05:30
John Mulligan
f0c3f35922 github: require reef job to pass in mergify config
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-08-16 20:34:56 +05:30
John Mulligan
d4eac7d990 containers: workaround for ganesha package error on reef
Currently the tests on the released reef image fails due to an RPM
transaction error when updating nfs-ganesha. Since go-ceph doesn't
need ganesha packages to be up-to-date to ensure that
lib{cephfs,rados,rbd}-devel are installed we _temporarily_ disable
ganesha repo when running yum update.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-08-16 12:51:39 +00:00
Sven Anderson
0209e5b831 docs: update README.md for v0.23.0
Signed-off-by: Sven Anderson <sven@redhat.com>
2023-08-14 14:43:57 +00:00
Sven Anderson
5f757453ab rbd: promote preview API for release v0.23.0
Signed-off-by: Sven Anderson <sven@redhat.com>
2023-08-14 14:43:57 +00:00
Sven Anderson
f5c0b089f1 cephfs/admin: promote preview API for release v0.23.0
Signed-off-by: Sven Anderson <sven@redhat.com>
2023-08-14 14:43:57 +00:00
Sven Anderson
5875e7f74b cephfs: promote preview API for release v0.23.0
Signed-off-by: Sven Anderson <sven@redhat.com>
2023-08-14 14:43:57 +00:00
Sven Anderson
533a0db386 CI: add tests for different Go versions
Signed-off-by: Sven Anderson <sven@redhat.com>
2023-08-08 17:42:33 +00:00
John Mulligan
a495ff9d1c workflows: remove pre-pacific job from the build matrix
As reef is being added and there's very little activity going into
pacific now, it should be safe to stop testing pre-pacific.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-08-02 15:26:51 +00:00
John Mulligan
359d4a4918 workflows: add reef jobs to the CI matrix
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-08-02 15:26:51 +00:00
John Mulligan
90d142bcb1 makefile: add ceph reef versions
Add CEPH_VERSION values for reef and pre-reef. This will allow building
and testing with ceph reef images.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-08-02 15:26:51 +00:00
John Mulligan
db97336f62 cephfs admin: add version check for reef
Reef is a valid target for testing fsadmin.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-08-02 15:26:51 +00:00
Niels de Vos
1257d817db rbd: include details for parent image in the trash
When a parent image has been removed, it will linger in the trash until
all siblings are gone. The image is not accessible through it's name
anymore, only through its ID.

The ImageSpec that is returned by Image.GetParent() now contains the
Trash boolean and the ImageID to identify if the image is in the trash,
and use OpenImageById() to access the removed parent image.

Related-to: ceph/ceph-csi#4013
Signed-off-by: Niels de Vos <ndevos@ibm.com>
2023-08-02 13:56:45 +00:00
dependabot[bot]
85524f6c39 go-ceph: bump golang.org/x/sys from 0.9.0 to 0.10.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/sys/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-02 07:11:07 +00:00
dependabot[bot]
ba8a57cfd7 go-ceph: bump github.com/aws/aws-sdk-go from 1.44.294 to 1.44.314
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.294 to 1.44.314.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.294...v1.44.314)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-02 06:31:54 +00:00
guoguangwu
ce4031e218 rgw: remove refs to deprecated io/ioutil
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-07-08 14:26:48 +00:00
guoguangwu
8638693136 rados: remove refs to deprecated io/ioutil
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-07-08 14:26:48 +00:00
guoguangwu
0d7e4e6347 contrib: remove refs to deprecated io/ioutil
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-07-08 14:26:48 +00:00
guoguangwu
448e4b7f5c cephfs: remove refs to deprecated io/ioutil
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-07-08 14:26:48 +00:00
dependabot[bot]
a8be907f02 go-ceph: bump golang.org/x/sys from 0.8.0 to 0.9.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.8.0 to 0.9.0.
- [Commits](https://github.com/golang/sys/compare/v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-08 09:48:55 +00:00
dependabot[bot]
d9f2673f7d go-ceph: bump github.com/aws/aws-sdk-go from 1.44.275 to 1.44.294
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.275 to 1.44.294.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.275...v1.44.294)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-08 06:20:22 +00:00
Jiffin Tony Thottan
3051f22a4e rgw/admin: fix getbucketpolicy api
The request header in GetBucketPolicy(), was not passing policy in its
header, so the response received Bucket than the actual policy.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2023-06-15 13:47:44 +00:00
Anoop C S
e486e4e653 Update README.md for v0.22.0 release
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2023-06-12 13:50:22 +00:00
Anoop C S
e2d6524cf4 rgw/admin: Make API.ListBucketsWithStat stable
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2023-06-08 17:35:55 +00:00
Anoop C S
aefa1dc858 rbd: Make migration APIs stable
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2023-06-08 17:35:55 +00:00
Anoop C S
37b9a31fd0 cephfs/admin: Make subvolume snapshot metadata APIs stable
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2023-06-08 17:35:55 +00:00
Anoop C S
c2e03fe3bb cephfs/admin: Make subvolume metadata APIs stable
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2023-06-08 17:35:55 +00:00
Anoop C S
9eb24e9f67 cephfs: Make MountInfo.SelectFilesystem stable
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2023-06-08 17:35:55 +00:00
Anoop C S
4787861e9d docs: Fix versions for newest API additions
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2023-06-08 15:25:35 +00:00
dependabot[bot]
203acfaa98 go-ceph: bump github.com/aws/aws-sdk-go from 1.44.254 to 1.44.275
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.254 to 1.44.275.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.254...v1.44.275)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 16:57:16 +00:00
dependabot[bot]
043abf10bb go-ceph: bump github.com/stretchr/testify from 1.8.2 to 1.8.4
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.2 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.4)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 15:46:46 +00:00
dependabot[bot]
779b205c79 go-ceph: bump golang.org/x/sys from 0.7.0 to 0.8.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.7.0 to 0.8.0.
- [Commits](https://github.com/golang/sys/compare/v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 13:58:05 +00:00
John Mulligan
66fe3724d2 docs: add some docs on how to find apis
Add some prose to the hints doc on how to use our docs convention to
map a C/command line api to a go-ceph api.
Note how to make use of a {Mon,Mgr}Command API JSON-command without
go-ceph code.
Note how apis start as preview before becoming stable.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-05-18 13:56:22 +00:00
Nikhil-Ladha
15ede44c2f cephfs: Add futimes cephfs API
Added a new cephfs API named `ceph_futimes`

Fixes: #254

Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
2023-05-18 07:18:07 +00:00
Anoop C S
009a3fa2c1 Remove useless test file package_test.go
package_test.go merely tested whether package import at the start of
source files worked or not which got added in the early days of the
project. With the progress made so far this import check is no longer
relevant or useful these days. Therefore remove it from the repository.

Signed-off-by: Anoop C S <anoopcs@samba.org>
2023-05-15 14:10:41 +00:00