cassandra-medusa icon indicating copy to clipboard operation
cassandra-medusa copied to clipboard

No manifest blob for backup

Open smutel opened this issue 9 months ago • 2 comments

Project board link

Hello,

I have this message error:

No manifest blob for backup medusa-backup-test2-1714136400 of fqdn cassandra-dc1-rack1-sts-0

This message is from this function:

@property                                                                                       
def finished(self):                                                                             
    # if we got the finished timestamp straight from the constructor                            
    if self._finished is not None:                                                              
        return self._finished                                                                   
                                                                                                
    # otherwise set it from the manifest blob                                                   
    if self.cached_manifest_blob is None:                                                       
        self.cached_manifest_blob = self._blob(self._manifest_path)                             
                                                                                                
    if self.cached_manifest_blob is not None:                                                   
        dt = self._storage.storage_driver.get_object_datetime(self.cached_manifest_blob)        
        self._finished = int(dt.timestamp())                                                    
        return self._finished                                                                   
                                                                                                
    # if we still failed to work out the timestamp of manifest blob, we are in trouble          
    logging.debug("No manifest blob for backup {} of fqdn {}".format(self._name, self._fqdn))   
    return None  

How can I troubleshoot this ? Thanks.

┆Issue is synchronized with this Jira Story by Unito ┆Issue Number: MED-11

smutel avatar Apr 26 '24 13:04 smutel

Hi @smutel !

To look into this further, please:

  • Trun the debug logging on by passing -v to medusa (so medusa -v ...)
  • There should be a log line just before the No manifest blob... telling you a path it's trying to find the manifest blob at.
  • Look into your storage at the path you've found from the line before.

In general, the manifest blob is the one Medusa uses to mark backup as finished. It is also one of the last things that medusa writes when it finishes a backup. If you have a backup that started, but did not finish, you might get a lot of these.

rzvoncek avatar May 24 '24 08:05 rzvoncek

Hi @smutel ! Did you manage to resolve this? Is there anything more we can help with?

rzvoncek avatar Jun 11 '24 10:06 rzvoncek