Project

General

Profile

Bug #63640

Updated by Matan Breizman 6 months ago

See "Error getting attr on" after creating creatin an empty pool: 

 <pre><code class="text"> 
 $ ceph-objectstore-tool --data-path ./dev/osd0 --op list        
 Error getting attr on : 2.0_head,#2:00000000::::head#, (61) No data available                                                                                                                                                                                                                                                          
 ["2.0",{"oid":"","key":"","snapid":-2,"hash":0,"max":0,"pool":2,"namespace":"","max":0}] 
 </code></pre> 

 _action_on_all_objects_in_pg() should skip getting the (non-existing) attributes of pgmeta hobjects. 

 Note: pgmeta_oid is created at the PG's constructor and is written temp hobjects() to disk in init_pg_ondisk() 
       without ant OI_ATTR. 
 avoid listing them and raise errors. 


Back