Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate_num_of_pgs() func failing on 4.18, Unable to find the pool_dict #10944

Open
Shrivaibavi opened this issue Nov 28, 2024 · 0 comments
Open
Assignees

Comments

@Shrivaibavi
Copy link
Contributor

18:07:35 - MainThread - ocs_ci.ocs.cluster - WARNING  - Expected 18 columns, got 17
18:07:35 - MainThread - ocs_ci.ocs.cluster - WARNING  - Mismatch in column count for line: .mgr                                                   12   32  577 KiB  577 KiB     0 B        2  1.7 MiB  1.7 MiB     0 B      0     74 GiB            N/A          N/A    N/A         0 B          0 B
18:07:35 - MainThread - ocs_ci.ocs.cluster - WARNING  - Expected 18 columns, got 17
18:07:35 - MainThread - ocs_ci.ocs.cluster - WARNING  - Mismatch in column count for line: rbd-pool-test-a1b8701413a74c0ea56e14804d               18   32     19 B     19 B     0 B        5   12 KiB   12 KiB     0 B      0     74 GiB            N/A          N/A    N/A         0 B          0 B
18:07:35 - MainThread - ocs_ci.ocs.cluster - WARNING  - Expected 18 columns, got 17
18:07:35 - MainThread - ocs_ci.ocs.cluster - WARNING  - Mismatch in column count for line: rbd-pool-test-6eca3104ed274864bfc856da6a               22   32  4.5 MiB  4.5 MiB     0 B       42  9.0 MiB  9.0 MiB     0 B      0    110 GiB            N/A          N/A    N/A         0 B          0 B
18:07:35 - MainThread - ocs_ci.ocs.cluster - WARNING  - Expected 18 columns, got 17 


E       AssertionError: pg_num is not equal to the osd pool default pg num
E       assert False
E        +  where False = validate_num_of_pgs({'rbd-pool-test-6eca3104ed274864bfc856da6a': 32})

tests/cross_functional/ui/test_create_pool_block_pool.py:170: AssertionError

After some debugging found this

-> if pool_name not in pools_dict:
(Pdb) pools_dict
{}
(Pdb) pool_name
'rbd-pool-test-b5700c605c494c74a58a125a12'
(Pdb) pools_df
Empty DataFrame
Columns: [POOL, ID, PGS, STORED, (DATA), (OMAP), OBJECTS, USED, (DATA), (OMAP), %USED, MAX AVAIL, QUOTA OBJECTS, QUOTA OBJECTS, QUOTA BYTES, DIRTY, USED COMPR, UNDER COMPR]
Index: []
(Pdb) pools_dict
{}
(Pdb) pools_dict = ceph_details_df_to_dict(pools_df)
(Pdb) pools_dict
{}

Job to refer https://ocs4-jenkins-csb-odf-qe.apps.ocp-c1.prod.psi.redhat.com/job/qe-trigger-test-pr/7868/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants