Comment 4 for bug 1851424

Revision history for this message
Ovidiu Poncea (ovidiuponcea) wrote :

One precondition is most likely missing:

2019-11-05 06:43:14.069 109677 WARNING sysinv.common.ceph [req-327dde66-b7fb-48a6-9de3-3eb12a9938bb None None] Failed to create flag file: /opt/platform/sysinv/19.09/.crushmap_applied. Reason: [Errno 2] No such file or directory: '/opt/platform/sysinv/19.09/.crushmap_applied'

Problem is sysinv/19.09 does not exist in /opt/platform

This is caused by https://review.opendev.org/#/c/692439 and is intermittent as sometimes this subfolder is created in the right order.

Solution is to partially revert the commit or make sure that we always create the necessary structure when creating files in this subfolder. The 2nd solution is tricky as there are other parts in the code that assumes this folder exists.