Commit 5a7c6ee0 authored by Ivan Tyagov's avatar Ivan Tyagov

Not only frontend must be generated but proper initial username /

password pair generated (in some cases this might happen after frontend
generation leading to 403 HTTP error codes in bootstrap code.)
parent 1ecbe065
......@@ -467,6 +467,8 @@ Require valid-user
instance_information_time = time.time()
instance_information = self.slapos_communicator.getInstanceUrlDict()
while not instance_information['frontend-url-list'] and \
not instance_information['user'] and \
not instance_information['password'] and \
time.time() - instance_information_time < MAX_FRONTEND_TIME:
time.sleep(5*60)
instance_information = self.slapos_communicator.getInstanceUrlDict()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment