Comment 10 for bug 1721580

Revision history for this message
Tytus Kurek (tkurek) wrote : Re: 'shared-db' incomplete, 'amqp' incomplete, 'identity-service' incomplete

It looks like "seeded()" function returns "False" for some reason:

def seeded():
    ''' Check whether service unit is already seeded '''
    print ("TYTUS 1")
    print (resolve_data_dir())
    print (os.path.exists(SEEDED_MARKER.format(data_dir=resolve_data_dir())))
    print ("TYTUS 2")
    return os.path.exists(SEEDED_MARKER.format(data_dir=resolve_data_dir()))

log:

2017-10-09 14:29:17 INFO update-status TYTUS 1
2017-10-09 14:29:17 INFO update-status /var/lib/mysql
2017-10-09 14:29:17 INFO update-status False
2017-10-09 14:29:17 INFO update-status TYTUS 2