Skip to content

[DNM] luminous: mgr/dashboard_v2: #4 - backport to master feature parity - #24183

Closed
epuertat wants to merge 656 commits into
ceph:luminousfrom
rhcs-dashboard:luminous-dashboard
Closed

epuertat wants to merge 656 commits into
ceph:luminousfrom
rhcs-dashboard:luminous-dashboard

Conversation

@epuertat

Copy link
Copy Markdown
Member

mgr/dashboard_v2: backport to master feature parity (end of Sep)

Backport focused on including latest features, especially:

NOTE: This is not meant to be merged. Further discussion is expected to happen on where to merge this PR: either keeping it in rhcs-dashboard/ceph repo, or in main Ceph repo under a luminous-dashboard_v2 kind of branch.

Fixes: pending
Signed-off-by: Ernesto Puerta [email protected]

@epuertat

Copy link
Copy Markdown
Member Author

retest this please

@epuertat
epuertat force-pushed the luminous-dashboard branch 5 times, most recently from bd5f4dd to 6f344ca Compare September 26, 2018 10:54
@epuertat
epuertat changed the base branch from luminous to argonaut September 26, 2018 10:54
@epuertat
epuertat changed the base branch from argonaut to luminous September 26, 2018 10:55
@epuertat
epuertat force-pushed the luminous-dashboard branch 3 times, most recently from e8b4c1b to 8f13de7 Compare October 1, 2018 08:14
@epuertat

epuertat commented Oct 1, 2018

Copy link
Copy Markdown
Member Author

retest this please

pcuzner and others added 23 commits October 26, 2018 13:14
These new dashboard definitions provide the high
level views for the hosts in the cluster and the
OSDs.

Signed-off-by: Paul Cuzner <[email protected]>
(cherry picked from commit 0e655f8)
Signed-off-by: Ernesto Puerta <[email protected]>
Signed-off-by: Paul Cuzner <[email protected]>
(cherry picked from commit 7d97bb2)
Signed-off-by: Ernesto Puerta <[email protected]>
Fixes some minor anomalies and tested against
node_exporter 0.15 and 0.16

Signed-off-by: Paul Cuzner <[email protected]>
(cherry picked from commit b84f0ce)
Signed-off-by: Ernesto Puerta <[email protected]>
Linewidth was set to two, but the idea is that
a linewidth of >1 is reserved for eye-catcher
plot lines like maximums

Signed-off-by: Paul Cuzner <[email protected]>
(cherry picked from commit 2c346ef)
Signed-off-by: Ernesto Puerta <[email protected]>
Grafana dashboard updated to use a templating
variable for the datasource

Signed-off-by: Paul Cuzner <[email protected]>
(cherry picked from commit 7c04098)
Signed-off-by: Ernesto Puerta <[email protected]>
Grafana dashboard updated to use a templating
variable for the datasource

Signed-off-by: Paul Cuzner <[email protected]>
(cherry picked from commit 02b5414)
Signed-off-by: Ernesto Puerta <[email protected]>
Grafana dashboard updated to use a templating
variable for the datasource

Signed-off-by: Paul Cuzner <[email protected]>
(cherry picked from commit f97fee3)
Signed-off-by: Ernesto Puerta <[email protected]>
Grafana dashboard updated to use a templating
variable for the datasource

Signed-off-by: Paul Cuzner <[email protected]>
(cherry picked from commit ba1a3b3)
Signed-off-by: Ernesto Puerta <[email protected]>
Grafana dashboard updated to use a templating
variable for the datasource

Signed-off-by: Paul Cuzner <[email protected]>
(cherry picked from commit bc5eea0)
Signed-off-by: Ernesto Puerta <[email protected]>
Grafana dashboard updated to use a templating
variable for the datasource

Signed-off-by: Paul Cuzner <[email protected]>
(cherry picked from commit 5432470)
Signed-off-by: Ernesto Puerta <[email protected]>
Grafana dashboard updated to use a templating
variable for the datasource

Signed-off-by: Paul Cuzner <[email protected]>
(cherry picked from commit b64289c)
Signed-off-by: Ernesto Puerta <[email protected]>
Grafana dashboard updated to use a templating
variable for the datasource

Signed-off-by: Paul Cuzner <[email protected]>
(cherry picked from commit a99618c)
Signed-off-by: Ernesto Puerta <[email protected]>
Grafana dashboard updated to use a templating
variable for the datasource

Signed-off-by: Paul Cuzner <[email protected]>
(cherry picked from commit a848411)
Signed-off-by: Ernesto Puerta <[email protected]>
Signed-off-by: Tiago Melo <[email protected]>
(cherry picked from commit 650f7f6)
Signed-off-by: Ernesto Puerta <[email protected]>
This element is not necessary and removes the need to import FormModule in the
test file.

Signed-off-by: Tiago Melo <[email protected]>
(cherry picked from commit ae20a7a)
Signed-off-by: Ernesto Puerta <[email protected]>
Now all imports are using the recommended submodule.
This will remove unit test errors caused by using different imports in the
component and tests files.
It also reduces the run time of unit tests.

Signed-off-by: Tiago Melo <[email protected]>
(cherry picked from commit 054c926)
Signed-off-by: Ernesto Puerta <[email protected]>

 Conflicts:
	src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-details/configuration-details.component.spec.ts

        Keep deleted component
Signed-off-by: Tiago Melo <[email protected]>
(cherry picked from commit eb86ecd)
Signed-off-by: Ernesto Puerta <[email protected]>

Conflicts:
      src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration.component.spec.ts

      Remove details component reference

Signed-off-by: Ernesto Puerta <[email protected]>
ErasureCodeProfileService was being provided twice and that was causing
problems in production mode.

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

Signed-off-by: Tiago Melo <[email protected]>
(cherry picked from commit f775e98)
Signed-off-by: Ernesto Puerta <[email protected]>
- TSlint no-unused-variable rule added.
- Cleanup: unused imports and variables.

Signed-off-by: Alfonso Martínez <[email protected]>
(cherry picked from commit 8557063)
Signed-off-by: Ernesto Puerta <[email protected]>

Conflicts:
      src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-form/configuration-form.component.spec.ts

      Keep config details/form components deleted
@epuertat

epuertat commented Oct 26, 2018 •

Copy link
Copy Markdown
Member Author

cd3894d:

zmc and others added 4 commits October 26, 2018 19:01
This is related to http://tracker.ceph.com/issues/36453. It is far from
a complete solution, but seems like a positive move.

I tested this change by first disabling my browser cache, and then used
the /docs endpoint to query /api/dashboard/health. Before compression:
  Content-Length: 60748
  Time: 615ms
After:
  Content-Length: 7505
  Time: 92ms

Then, I logged into the dashboard as normal and reloaded the page once I
was in. Some values for the reload operation before compression:
  Total page load time: 58.48s
  vendor.js Content-Length: 6486025
  vendor.js time: 48.09s
After:
  Total page load time: 14.55s
  vendor.js Content-Length: 1143178
  vendor.js time: 4.50s

Signed-off-by: Zack Cerza <[email protected]>
(cherry picked from commit 03de8f9)
Signed-off-by: Ernesto Puerta <[email protected]>
This fixes "TypeError: admin_socket() got an unexpected keyword argument
'timeout'". The value is never used.

Signed-off-by: Zack Cerza <[email protected]>
(cherry picked from commit b134972)
Signed-off-by: Ernesto Puerta <[email protected]>
Signed-off-by: Zack Cerza <[email protected]>
(cherry picked from commit bd09bc0)
Signed-off-by: Ernesto Puerta <[email protected]>
This allows the mgr daemons to register state with the active mgr just
like the rest of the cluster, including perfcounters and current config.

Signed-off-by: Sage Weil <[email protected]>
(cherry picked from commit cf68ce5)

Conflicts:
	src/mgr/MgrStandby.cc: Merge with f04190e, it was already
	back-ported
@epuertat epuertat closed this Jan 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.