Exemplo n.º 1
0
 def run(self):
     try:
         CloudHost.deregister_instance_dns()
     except:
         CloudHost.log_info("No prior dns registration found for the instance")
     CloudHost.register_instance_dns()
     JBoxContainer.publish_container_stats()
     JBox.do_update_user_home_image()
     JBoxContainer.async_refresh_disks()
     self.ct.start()
     self.ioloop.start()
Exemplo n.º 2
0
 def run(self):
     try:
         CloudHost.deregister_instance_dns()
     except:
         CloudHost.log_info(
             "No prior dns registration found for the instance")
     CloudHost.register_instance_dns()
     JBoxContainer.publish_container_stats()
     JBox.do_update_user_home_image()
     JBoxContainer.async_refresh_disks()
     self.ct.start()
     self.ioloop.start()
Exemplo n.º 3
0
 def run(self):
     if CloudHost.ENABLED['route53']:
         try:
             CloudHost.deregister_instance_dns()
             CloudHost.log_warn("Prior dns registration was found for the instance")
         except:
             CloudHost.log_debug("No prior dns registration found for the instance")
         CloudHost.register_instance_dns()
     JBoxContainer.publish_container_stats()
     JBox.do_update_user_home_image()
     JBoxContainer.async_refresh_disks()
     self.ct.start()
     self.ioloop.start()
Exemplo n.º 4
0
 def run(self):
     if CloudHost.ENABLED['route53']:
         try:
             CloudHost.deregister_instance_dns()
             CloudHost.log_warn(
                 "Prior dns registration was found for the instance")
         except:
             CloudHost.log_debug(
                 "No prior dns registration found for the instance")
         CloudHost.register_instance_dns()
     JBoxContainer.publish_container_stats()
     JBox.do_update_user_home_image()
     JBoxContainer.async_refresh_disks()
     self.ct.start()
     self.ioloop.start()