slipstream / SlipStreamJobEngine

SlipStream distributed job engine
Apache License 2.0
0 stars 0 forks source link

Job action collect_virtual_machines doesn't handle correctly the credentials field #29

Closed schaubl closed 6 years ago

schaubl commented 6 years ago

When looking at the credentials field of a virtual-machine document generated by the job action collect_virtual_machines (virtual_machines_collect.py) the number of credentials increase and decrease over time. It might increase just after the creation of the virtual-machine but should not decrease.

schaubl commented 6 years ago

import time
from slipstream.api import Api

api = Api()
api.login_internal('killer', 'nemesys')

while True:
    print len(api.cimi_get('virtual-machine/876b487d-d0ea-3fc3-a56f-76bd64485b9b').credentials)
    time.sleep(2)
0xbase12 commented 6 years ago

Hot patched Nuvla