• Jérome Perrin's avatar
    standalone: don't use --all in waitForSoftware / waitForInstance · e6a0c09e
    Jérome Perrin authored
    Until now, standalone was running slapos node software/instance with --all flag
    which force installing software or processing software, unlike "normal" slapos
    node which no longer install on software once they are completed and only process
    instances when they are requested with different parameters or when they have
    failing promises.
    
    We stop using the --all flag, to behave like a normal slapos node.
    
    This reveal missing promises in some softwares, after this change, waitForInstance
    can return faster. This reveal test failures with some softwares where the
    instanciation step request other instances, but without having a promise to wait
    for their requests to have been sucessfully processed; in this case waitForInstance
    return too early.
    
    We keep an "install_all" API to force reinstalling software, this can be useful
    for scenarios like erp5testnode, or software release development.
    e6a0c09e
standalone.py 30.8 KB