summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mgr/dashboard: improve the kcli bootstrap processNizamudeen A2024-11-047-4/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have a new script added for starting the kcli cluster called quick-bootstrap.sh The goal is to use that script to download the ceph image on local (rather than inside vm) and then copy them over to all the vms that is being spawned by the kcli. This way all the hosts will get the ceph image which will make the deployment loads faster. Another thing I added is to add some dnf.conf to improve parallel_downlaods and get the fastest server to install deps eg: ``` ╰─$ ./quick-bootstrap.sh -h 255 ↵ + set +x Usage: ./quick-bootstrap.sh [OPTIONS] Options: -u, --use-cached-image Uses the existing podman image in local. Only use this if there is such an image present. -dir, --ceph-dir Use this to provide the local ceph directory. eg. --ceph-dir=/path/to/ceph -e, --expanded-cluster To add all the hosts and deploy OSDs on top of it. -h, --help Display this help message. Example: ./quick-bootstrap.sh --use-cached-image ``` ``` ./quick-bootstrap.sh -u --ceph-dir=/home/nia/projects/ceph ``` Signed-off-by: Nizamudeen A <nia@redhat.com>
* mgr/dashboard: Add progress bar to rgw multisite automation wizardAashish Sharma2024-09-2518-407/+764
| | | | | | | Fixes: https://tracker.ceph.com/issues/67829 Fixes: https://tracker.ceph.com/issues/67830 Signed-off-by: Aashish Sharma <aasharma@redhat.com>
* Merge pull request #59918 from rhcs-dashboard/fix-68176-mainAashish Sharma2024-09-251-2/+3
|\ | | | | | | | | mgr/dashboard: fix setting compression type while editing rgw zone Reviewed-by: Nizamudeen A <nia@redhat.com>
| * mgr/dashboard: fix setting compression type while editing rgw zoneAashish Sharma2024-09-241-2/+3
| | | | | | | | | | | | Fixes: https://tracker.ceph.com/issues/68176 Signed-off-by: Aashish Sharma <aasharma@redhat.com>
* | Merge pull request #59820 from ↵Nizamudeen A2024-09-257-102/+247
|\ \ | | | | | | | | | | | | | | | | | | | | | rhcs-dashboard/rgw-multisite-sync-policy-improvements mgr/dashboard: multisite sync policy improvements Reviewed-by: afreen23 <NOT@FOUND> Reviewed-by: Nizamudeen A <nia@redhat.com>
| * | mgr/dashboard: multisite sync policy improvementsNaman Munet2024-09-247-102/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://tracker.ceph.com/issues/68097 Changes for this PR includes: 1) Populating the destination zones select option with a set of options to choose from, for flow and pipe so that user can't enter any invalid zone name 2) Provided zone option as 'All Zones (*)' in pipe, if user want to select all zones for source and destination zones 3) We are hiding the UniqueId column on sync policy table as we do not want to show it as this column is introduced just to uniquely identify a row in the table and should not be displayed to users as it is part of the internal logic to work. Signed-off-by: Naman Munet <nmunet@redhat.com>
* | | Merge pull request #59891 from rhcs-dashboard/fix-68162-mainAashish Sharma2024-09-241-7/+5
|\ \ \ | | | | | | | | | | | | | | | | mgr/dashboard: fix handling NaN values in dashboard charts Reviewed-by: Nizamudeen A <nia@redhat.com>
| * | | mgr/dashboard: fix handling NaN values in dashboard chartsAashish Sharma2024-09-231-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://tracker.ceph.com/issues/68162 Signed-off-by: Aashish Sharma <aasharma@redhat.com>
* | | | Merge pull request #59890 from rhcs-dashboard/fix-68161-mainAashish Sharma2024-09-241-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | mgr/dashboard: update period after migrating to multi-site Reviewed-by: Nizamudeen A <nia@redhat.com>
| * | | | mgr/dashboard: update period after migrating to multisiteAashish Sharma2024-09-201-0/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | Fixes: https://tracker.ceph.com/issues/68161 Signed-off-by: Aashish Sharma <aasharma@redhat.com>
* | | | Merge pull request #59716 from rhcs-dashboard/fix-67897-mainAashish Sharma2024-09-241-4/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | mgr/rgwam: use realm/zonegroup/zone method arguments for period update Reviewed-by: Adam King <adking@redhat.com>
| * | | | mgr/rgwam: use realm/zonegroup/zone method arguments for period updateAashish Sharma2024-09-231-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | period update method currently uses default zonegroup/zone for period update commit. This PR is to use realm/zg/zone provided in the arguments for period update. Also make the realm default that is created using realm pull if it is the only realm present Fixes: https://tracker.ceph.com/issues/67897 Signed-off-by: Aashish Sharma <aasharma@redhat.com>
* | | | | Merge pull request #59691 from rhcs-dashboard/cephadm-e2e-endless-fixNizamudeen A2024-09-243-20/+36
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | mgr/dashboard: fix indefinite loop in cephadm dashboard e2e Reviewed-by: afreen23 <NOT@FOUND>
| * | | | | mgr/dashboard: fix indefinite loop in cephadm dashboard e2eNizamudeen A2024-09-123-20/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the tests seems waiting to fetch the prometheus details incase the cephadm ran into error and it just waits there for more than an hour without any progress. fixing that and some minor improvements. an example log: https://jenkins.ceph.com/job/ceph-dashboard-cephadm-e2e/12287/consoleFull Signed-off-by: Nizamudeen A <nia@redhat.com>
* | | | | | Merge pull request #59595 from rhcs-dashboard/2269104-Clone-subgroupNizamudeen A2024-09-242-5/+11
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mgr/dashboard: Cloning subvolume not listing _nogroup if no subvolume Reviewed-by: afreen23 <NOT@FOUND> Reviewed-by: Ankush Behl <cloudbehl@gmail.com> Reviewed-by: Nizamudeen A <nia@redhat.com> Reviewed-by: nmunet <NOT@FOUND>
| * | | | | mgr/dashboard: Cloning subvolume not listing _nogroup subvolumegroup if ↵Dnyaneshwari2024-09-172-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | there are no subvols in _nogroup Fixes: https://tracker.ceph.com/issues/67891 Signed-off-by: Dnyaneshwari talwekar <dtalweka@redhat.com>
* | | | | | Merge pull request #59074 from rhcs-dashboard/NFS-export-form-fixesNizamudeen A2024-09-204-48/+68
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mgr/dashboard: NFS Export form fixes Reviewed-by: afreen23 <NOT@FOUND> Reviewed-by: Ankush Behl <cloudbehl@gmail.com> Reviewed-by: Nizamudeen A <nia@redhat.com>
| * | | | | | mgr/dashboard: NFS Export form fixesDnyaneshwari2024-09-194-48/+68
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://tracker.ceph.com/issues/67400 Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
* | | | | | Merge pull request #59763 from rhcs-dashboard/zonegroup-level-policy-syncNizamudeen A2024-09-204-21/+52
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mgr/dashboard: zonegroup level policy created at master zone did not sync to non-master zone Reviewed-by: afreen23 <NOT@FOUND> Reviewed-by: Nizamudeen A <nia@redhat.com>
| * | | | | | mgr/dashboard: zonegroup level policy created at master zone did not sync to ↵Naman Munet2024-09-184-21/+52
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | non-master zone added period update for zonegroup level changes so as to sync them Fixes: https://tracker.ceph.com/issues/68049 Signed-off-by: Naman Munet <nmunet@redhat.com>
* | | | | | Merge pull request #59849 from rhcs-dashboard/role-clone-modal-fixNizamudeen A2024-09-209-19/+21
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | mgr/dashboard: fix checkbox selection and role clone modal Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
| * | | | | mgr/dashboard: fix checkbox selection and role clone modalNizamudeen A2024-09-199-19/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fixes selectAll checkbox behavior in table - fixes form modals in osd edit and role clone - fixes single select highlight issue - fix row getting automatically collapsed when search has any value - fix nfs exports table list where bucket is not shown - fix ceph user and rgw role page show/hide col issue - fix listner addr and intiator col in nvme Fixes: https://tracker.ceph.com/issues/68126 Signed-off-by: Nizamudeen A <nia@redhat.com>
* | | | | | Merge pull request #59861 from afreen23/nvme-gateway-fixafreen232024-09-194-36/+229
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | mgr/dashboard: List gateways in a group Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
| * | | | | | mgr/dashboard: List gateways in a groupAfreen Misbah2024-09-196-37/+237
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - adds a group selection component for gateways - fetch gateway using daemons info - added tests fixes https://tracker.ceph.com/issues/68135 Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
* | | | | | | Merge pull request #59821 from rhcs-dashboard/bz-2311899afreen232024-09-1912-17/+17
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mgr/dashboard: Fix space between the text in few sections Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
| * | | | | | | mgr/dashboard: Fix space between the text in few sectionsPrachi Goel2024-09-1812-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://tracker.ceph.com/issues/68098 Signed-off-by: Prachi prgoel@redhat.com Fixes: Fix space between the text in below sections Observability/Alerts —> Active Alerts
 Observability/ Alerts —> Alerts
 Observability/Alerts —> Silences Cluster/Pools —> overall performance Cluster/Hosts/ —> overall performance

 Cluster/ OSDs —> overall performance Block/iSCSI/ —> Targets Object/Overview —> Multi-Site Sync Status cluster --> pools -->Pools list --> under each entry: Performance details section Cluster --> Hosts --> Hosts List --> under each entry: Performance details section Cluster --> OSDs --> OSD's List --> under each entry: Performance details section Signed-off-by: Prachi Goel <prachi@li-f0e8f2cc-27e0-11b2-a85c-b2772164128d.ibm.com>
* | | | | | | | Merge pull request #59807 from afreen23/wip-group-switcherafreen232024-09-1912-46/+206
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mgr/dashboard: Add group selector in subsystems views Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
| * | | | | | | | mgr/dashboard: Add group selector in subsystems viewsAfreen Misbah2024-09-1912-46/+206
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows listing the subsystems per gateway group. Using carbon combobox component for the selector. Adds unit tests for switcher and updates existing. Fixes https://tracker.ceph.com/issues/68129 Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
* | | | | | | | Merge pull request #59824 from rhcs-dashboard/wizard-carbonNizamudeen A2024-09-1919-406/+501
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mgr/dashboard: carbonize the wizard component Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
| * | | | | | | | mgr/dashboard: carbonize the wizard componentNizamudeen A2024-09-1819-406/+501
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://tracker.ceph.com/issues/68103 Signed-off-by: Nizamudeen A <nia@redhat.com>
* | | | | | | | | Merge pull request #59859 from afreen23/wip-nvme-service-fixesNizamudeen A2024-09-193-12/+12
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mgr/dashboard: Service form fixes for mTLS Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com> Reviewed-by: Nizamudeen A <nia@redhat.com>
| * | | | | | | | mgr/dashboard: Service form fixes for mTLSAfreen Misbah2024-09-183-12/+12
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to conflicts with SSO PR, mTLS fields are not updated properly in code. This is not happening only in main as noted: https://github.com/ceph/ceph/pull/59819#issuecomment-2356523491 The effect of this issue is mtls based fields not showing in service form Fixes https://tracker.ceph.com/issues/68133 Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
* | | | | | | | Merge pull request #59823 from rhcs-dashboard/remove-orch-required-decoratorNizamudeen A2024-09-181-2/+0
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mgr/dashboard: remove orch required decorator from host UI router (list) Reviewed-by: afreen23 <NOT@FOUND> Reviewed-by: dnyanee1997 <NOT@FOUND>
| * | | | | | | mgr/dashboard: remove orch required decorator from host UI router (list)Naman Munet2024-09-171-2/+0
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://tracker.ceph.com/issues/68101 Signed-off-by: Naman Munet <nmunet@redhat.com>
* | | | | | | Merge pull request #59765 from rhcs-dashboard/carbon-ui-cleanupsNizamudeen A2024-09-1811-44/+57
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | mgr/dashboard: fix minor issues in carbon tables Reviewed-by: Ankush Behl <cloudbehl@gmail.com> Reviewed-by: ivoalmeida <NOT@FOUND>
| * | | | | | mgr/dashboard: fix minor issues in carbon tablesNizamudeen A2024-09-1711-44/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fixes table in table structure's unusual padding - fixes the ceph fs details page where table was getting hidden - improving the subvolume list page by changing the spacings there - hide the refresh button where it shouldn't be shown. Fixes: https://tracker.ceph.com/issues/68050 Signed-off-by: Nizamudeen A <nia@redhat.com>
* | | | | | | Merge pull request #59777 from ivoalmeida/table-column-pipe-transform-fixafreen232024-09-171-2/+5
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | mgr/dashboard: fix table column pipe transform Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
| * | | | | | mgr/dashboard: fix table column pipe transformIvo Almeida2024-09-131-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://tracker.ceph.com/issues/68062 Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
* | | | | | | Merge pull request #59727 from ivoalmeida/snap-schedule-start-time-fixafreen232024-09-171-17/+15
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | mgr/dashboard: fix start time format Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
| * | | | | | mgr/dashboard: fix start time formatIvo Almeida2024-09-131-17/+15
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://tracker.ceph.com/issues/68024 Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
* | | | | | Merge pull request #59805 from afreen23/wip-nvme-mtlsafreen232024-09-176-38/+369
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | mgr/dashboard: Nvme mTLS support and service name changes Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
| * | | | | | mgr/dashboard: Add mTLS supportAfreen Misbah2024-09-165-36/+280
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - enables mTLS support from dashboard - adds unit tests related to mTLS support - can enable mTLS - can disable mTLS - inlcuded refactoring from prev commit Fixes https://tracker.ceph.com/issues/66416 Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
| * | | | | | mgr/dashboard: Adding group and pool name to service nameAfreen Misbah2024-09-164-29/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Pre-populating the service name field with the format `nvmeof.<pool_name>.<group_name>`. - This can be changed by user but by default this value will be there. - This will help user to quickly fill form and proceed hence improving usability. - cephadm also uses this format as of now this convention so it will make UI aligned with CLI experience - updates unit tests to improve coverage - hides`count` values as that is not needed for 'nvmeof' only hosts and labels required. Fixes https://tracker.ceph.com/issues/68065 Signed-off-by: Afreen Misbah <afreen23.git@gmail.com>
* | | | | | | Merge pull request #59781 from ivoalmeida/table-filter-fixafreen232024-09-161-4/+22
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mgr/dashboard: fix table filter Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
| * | | | | | | mgr/dashboard: fix table filterIvo Almeida2024-09-131-4/+22
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://tracker.ceph.com/issues/68063 Signed-off-by: Ivo Almeida <ialmeida@redhat.com>
* | | | | | | Merge pull request #59668 from rhcs-dashboard/fix-modal-hidden-in-navafreen232024-09-169-18/+44
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | mgr/dashboard: fix UI modal issues Reviewed-by: Afreen Misbah <afreen23.git@gmail.com>
| * | | | | | mgr/dashboard: fix UI modal issuesNizamudeen A2024-09-169-18/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix bs-modal getting hidden behind navbar - Reuse the project name for tab title - Readonly user shows an empty space in the administration dropdown - Physical Disks Identify modal not opening up - add e2e in cephadm to make sure the modal always comes up - Primary action doesn't need to be displayed for the read-only user Fixes: https://tracker.ceph.com/issues/67547 Signed-off-by: Nizamudeen A <nia@redhat.com>
* | | | | | | Merge pull request #58618 from rhcs-dashboard/mgmt-gateway-uiPedro Gonzalez Gomez2024-09-166-19/+284
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mgr/dashboard: add service management for mgmt-gateway Reviewed-by: afreen23 <NOT@FOUND> Reviewed-by: Ankush Behl <cloudbehl@gmail.com> Reviewed-by: Redouane Kachach <rkachach@redhat.com>
| * | | | | | | mgr/dashboard: add service management for mgmt-gatewayPedro Gonzalez Gomez2024-09-166-19/+284
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://tracker.ceph.com/issues/66963 Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
* | | | | | | Merge pull request #58456 from rhcs-dashboard/auth2-ssoPedro Gonzalez Gomez2024-09-1613-84/+427
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mgr/dashboard: Add SSO through oauth2 protocol Reviewed-by: afreen23 <NOT@FOUND> Reviewed-by: Ernesto Puerta <epuertat@redhat.com> Reviewed-by: Nizamudeen A <nia@redhat.com> Reviewed-by: Redouane Kachach <rkachach@redhat.com>