Skip to content

reef: mgr/dashboard: cluster upgrade management (batch backport) - #53016

Merged
avanthakkar merged 7 commits into
ceph:reeffrom
rhcs-dashboard:wip-62451-reef
Aug 21, 2023
Merged

avanthakkar merged 7 commits into
ceph:reeffrom
rhcs-dashboard:wip-62451-reef

Conversation

@nizamial09

Copy link
Copy Markdown
Member

@nizamial09
nizamial09 requested review from a team as code owners August 16, 2023 04:33
@nizamial09
nizamial09 requested review from cloudbehl and pereman2 and removed request for a team August 16, 2023 04:33
@nizamial09 nizamial09 added this to the reef milestone Aug 16, 2023
@nizamial09 nizamial09 changed the title reef: mgr/dashboard: expose cluster upgrade API endpoints reef: mgr/dashboard: cluster upgrade management (batch backport) Aug 16, 2023

@avanthakkar avanthakkar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

avanthakkar and others added 7 commits August 17, 2023 23:01
Add Cluster Upgrade Management support from REST API endpoints.

Fixes: https://tracker.ceph.com/issues/61847
Signed-off-by: avanthakkar <[email protected]>
(cherry picked from commit aa9e004)
- Base layout for the Upgrade Component
- Shows the Upgrade available button when an upgrade is available

Fixes: https://tracker.ceph.com/issues/61927
Signed-off-by: Nizamudeen A <[email protected]>
(cherry picked from commit d95b68a)
Fixes: https://tracker.ceph.com/issues/61928
Signed-off-by: avanthakkar <[email protected]>
(cherry picked from commit 31055fa)

 Conflicts:
	src/pybind/mgr/dashboard/frontend/src/app/shared/constants/app.constants.ts
  - only kept the START_UPGRADE constant in this file
This will make the logs component easier to reuse for now in upgrade
component and later, wherever we want

Fixes: https://tracker.ceph.com/issues/62016
Signed-off-by: Nizamudeen A <[email protected]>
(cherry picked from commit 0243a95)
Shows Cluster Health
Shows the count of mgr daemons
Shows a table with all the daemon versions
Display the cluster logs

Fixes: https://tracker.ceph.com/issues/62016
Signed-off-by: Nizamudeen A <[email protected]>
(cherry picked from commit 7dcb06d)

	src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard-v3/dashboard-v3.module.ts
  - Kept the current changes
  - Removed this file
Fixes: https://tracker.ceph.com/issues/62343
Signed-off-by: avanthakkar <[email protected]>
Co-Authored-By: Nizamudeen A <[email protected]>
(cherry picked from commit 3157728)

 Conflicts:
	src/pybind/mgr/dashboard/frontend/src/app/app-routing.module.ts
  - Removed the CephfsSubvolumeComponent import
@avanthakkar
avanthakkar merged commit c54bf40 into ceph:reef Aug 21, 2023
@avanthakkar
avanthakkar deleted the wip-62451-reef branch August 21, 2023 07:38
@avanthakkar
avanthakkar restored the wip-62451-reef branch August 21, 2023 09:03
@avanthakkar
avanthakkar deleted the wip-62451-reef branch August 21, 2023 09:16
BBoozmen added a commit to BBoozmen/ceph that referenced this pull request Mar 2, 2026
Objects created via multipart upload have had their tags stored as
plain URL-encoded strings (e.g. "ttl_tag=23") since the tagging
feature was introduced in 2017, because RGWInitMultipart::execute()
never called encode_obj_tags_attr() (tracker ceph#53016).

While ceph#53016 fixes the write path going forward, existing objects on
disk still carry plain-text tags. RGWObjTags::decode() throws
buffer::error on these, causing lifecycle tag matching to fail with
-EIO and GetObjectTagging to return empty results.

Fall back to set_from_string() when binary decoding fails, so both
formats are handled transparently.

Fixes: https://tracker.ceph.com/issues/74917
Signed-off-by: Oguzhan Ozmen <[email protected]>
BBoozmen added a commit to BBoozmen/ceph that referenced this pull request Mar 20, 2026
Objects created via multipart upload have had their tags stored as
plain URL-encoded strings (e.g. "ttl_tag=23") since the tagging
feature was introduced in 2017, because RGWInitMultipart::execute()
never called encode_obj_tags_attr() (tracker ceph#53016).

While ceph#53016 fixes the write path going forward, existing objects on
disk still carry plain-text tags. RGWObjTags::decode() throws
buffer::error on these, causing lifecycle tag matching to fail with
-EIO and GetObjectTagging to return empty results.

Fall back to set_from_string() when binary decoding fails, so both
formats are handled transparently.

Fixes: https://tracker.ceph.com/issues/74917
Signed-off-by: Oguzhan Ozmen <[email protected]>
(cherry picked from commit b2d9dbb)

Conflicts:
    src/test/rgw/CMakeLists.txt
- some unittests, while available in main, are not available in squid
BBoozmen added a commit to BBoozmen/ceph that referenced this pull request Mar 20, 2026
Objects created via multipart upload have had their tags stored as
plain URL-encoded strings (e.g. "ttl_tag=23") since the tagging
feature was introduced in 2017, because RGWInitMultipart::execute()
never called encode_obj_tags_attr() (tracker ceph#53016).

While ceph#53016 fixes the write path going forward, existing objects on
disk still carry plain-text tags. RGWObjTags::decode() throws
buffer::error on these, causing lifecycle tag matching to fail with
-EIO and GetObjectTagging to return empty results.

Fall back to set_from_string() when binary decoding fails, so both
formats are handled transparently.

Fixes: https://tracker.ceph.com/issues/74917
Signed-off-by: Oguzhan Ozmen <[email protected]>
(cherry picked from commit b2d9dbb)

Conflicts:
    src/test/rgw/CMakeLists.txt
- some unittests, while available in main, are not available in tentacle
mertsunacoglu pushed a commit to mertsunacoglu/ceph that referenced this pull request Aug 26, 2026
Objects created via multipart upload have had their tags stored as
plain URL-encoded strings (e.g. "ttl_tag=23") since the tagging
feature was introduced in 2017, because RGWInitMultipart::execute()
never called encode_obj_tags_attr() (tracker ceph#53016).

While ceph#53016 fixes the write path going forward, existing objects on
disk still carry plain-text tags. RGWObjTags::decode() throws
buffer::error on these, causing lifecycle tag matching to fail with
-EIO and GetObjectTagging to return empty results.

Fall back to set_from_string() when binary decoding fails, so both
formats are handled transparently.

Fixes: https://tracker.ceph.com/issues/74917
Signed-off-by: Oguzhan Ozmen <[email protected]>
(cherry picked from commit b2d9dbb)

Conflicts:
    src/test/rgw/CMakeLists.txt
- some unittests, while available in main, are not available in tentacle
jrse pushed a commit to jrse/ceph that referenced this pull request Sep 25, 2026
Objects created via multipart upload have had their tags stored as
plain URL-encoded strings (e.g. "ttl_tag=23") since the tagging
feature was introduced in 2017, because RGWInitMultipart::execute()
never called encode_obj_tags_attr() (tracker ceph#53016).

While ceph#53016 fixes the write path going forward, existing objects on
disk still carry plain-text tags. RGWObjTags::decode() throws
buffer::error on these, causing lifecycle tag matching to fail with
-EIO and GetObjectTagging to return empty results.

Fall back to set_from_string() when binary decoding fails, so both
formats are handled transparently.

Fixes: https://tracker.ceph.com/issues/74917
Signed-off-by: Oguzhan Ozmen <[email protected]>
(cherry picked from commit b2d9dbb)

Conflicts:
    src/test/rgw/CMakeLists.txt
- some unittests, while available in main, are not available in squid
AnuragRaut08 pushed a commit to AnuragRaut08/ceph that referenced this pull request Sep 30, 2026
Objects created via multipart upload have had their tags stored as
plain URL-encoded strings (e.g. "ttl_tag=23") since the tagging
feature was introduced in 2017, because RGWInitMultipart::execute()
never called encode_obj_tags_attr() (tracker ceph#53016).

While ceph#53016 fixes the write path going forward, existing objects on
disk still carry plain-text tags. RGWObjTags::decode() throws
buffer::error on these, causing lifecycle tag matching to fail with
-EIO and GetObjectTagging to return empty results.

Fall back to set_from_string() when binary decoding fails, so both
formats are handled transparently.

Fixes: https://tracker.ceph.com/issues/74917
Signed-off-by: Oguzhan Ozmen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants