Skip to content

tentacle: mgr/dashboard: Fix display of IP address in host page#67146

Merged
afreen23 merged 1 commit intoceph:tentaclefrom
afreen23:wip-74628-tentacle
Feb 2, 2026
Merged

tentacle: mgr/dashboard: Fix display of IP address in host page#67146
afreen23 merged 1 commit intoceph:tentaclefrom
afreen23:wip-74628-tentacle

Conversation

@afreen23
Copy link
Copy Markdown
Contributor

backport tracker: https://tracker.ceph.com/issues/74628


backport of #66638
parent tracker: https://tracker.ceph.com/issues/74222

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

@afreen23
Copy link
Copy Markdown
Contributor Author

afreen23 commented Feb 1, 2026

jenkins test make check

@dnyanee1997
Copy link
Copy Markdown
Contributor

dnyanee1997 commented Feb 2, 2026

Please check - this PR shows 61 file changes, while the original PR had only 4.

- Hosts data is getting merged with hosts' facts which is not sending address hence not getting displayed in UI
- The value is empty hence in the API
- Caused by ceph#65102

Fixes https://tracker.ceph.com/issues/74222

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit 36307be)

 Conflicts:
	src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/hosts.component.html
@afreen23
Copy link
Copy Markdown
Contributor Author

afreen23 commented Feb 2, 2026

Please check - this PR shows 61 file changes, while the original PR had only 4.

Thanks, fixed now.

Copy link
Copy Markdown
Contributor

@dnyanee1997 dnyanee1997 left a comment

Choose a reason for hiding this comment

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

Why [ngClass] added here. Not seen in original PR

let-row="data.row">
<span [ngClass]="row">
<span data-testid="hostname"
[ngClass]="row">
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.

Why [ngClass] added here. Not seen in original PR

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Its from the existing :) file !

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.

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.

Diff because this was never backported: #66103

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think its a non useful discussion, I am not adding this css class, its diff because I have data test-id added.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

image

@afreen23
Copy link
Copy Markdown
Contributor Author

afreen23 commented Feb 2, 2026

Why [ngClass] added here. Not seen in original PR

Why [ngClass] added here. Not seen in original PR

Its is in the existing file , we should not remove that

@dnyanee1997
Copy link
Copy Markdown
Contributor

dnyanee1997 commented Feb 2, 2026

Why [ngClass] added here. Not seen in original PR

Why [ngClass] added here. Not seen in original PR

Its is in the existing file , we should not remove that

Should we add ngClass in upstream PR- https://github.com/ceph/ceph/pull/66638/changes ?

@afreen23
Copy link
Copy Markdown
Contributor Author

afreen23 commented Feb 2, 2026

Why [ngClass] added here. Not seen in original PR

Why [ngClass] added here. Not seen in original PR

Its is in the existing file , we should not remove that

Should we add ngClass in upstream PR- https://github.com/ceph/ceph/pull/66638/changes ?

I am not understanding here whats the issue ? This is not something I am adding its already there.
I have only added data test id. You are watching the diff incorrectly @dnyanee1997 @Pegonzal

@github-project-automation github-project-automation bot moved this from New to Reviewer approved in Ceph-Dashboard Feb 2, 2026
@afreen23 afreen23 merged commit c2c1534 into ceph:tentacle Feb 2, 2026
14 of 15 checks passed
@github-project-automation github-project-automation bot moved this from Reviewer approved to Done in Ceph-Dashboard Feb 2, 2026
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.

3 participants