SlapOS Home SlapOS

    Re: Looking for a free partition

    • Last Update:2016-03-28
    • Version:001
    • Language:en

    As in the documentation I experimented by replacing the  'master_url = https://slap.vifib.com' in  /etc/opt/slapos/slapos.cfg to the service-v6 value - https://[2001:67c:1254:12::83b2]:2157 and re-requested the front-end. I did this with the intent of using the slapos master on my server but seems it is a conceptual mistake as it results in this error in logs. -

    [2016-03-28 17:40:11,684] INFO     Processing software releases...
    [2016-03-28 17:40:11,689] ERROR    Couldn't connect to the server. Please double check given master-url argument, and make sure that IPv6 is enabled on your machine and that the server is available. The original error was:
    HTTPSConnectionPool(host='[2001:67c:1254:12::83b2]', port=2157): Max retries exceeded with url: /getFullComputerInformation?computer_id=COMP-2547 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',))
    Traceback (most recent call last):
      File "/opt/slapos/eggs/slapos.core-1.3.15-py2.7.egg/slapos/cli/entry.py", line 293, in run_subcommand
        result = cmd.run(parsed_args)
      File "/opt/slapos/eggs/slapos.core-1.3.15-py2.7.egg/slapos/cli/command.py", line 50, in run
        return self.take_action(parsed_args)
      File "/opt/slapos/eggs/slapos.core-1.3.15-py2.7.egg/slapos/cli/slapgrid.py", line 114, in take_action
        return getattr(slapgrid_object, self.method_name)()
      File "/opt/slapos/eggs/slapos.core-1.3.15-py2.7.egg/slapos/grid/slapgrid.py", line 524, in processSoftwareReleaseList
        for software_release in self.computer.getSoftwareReleaseList():
      File "/opt/slapos/eggs/slapos.core-1.3.15-py2.7.egg/slapos/slap/slap.py", line 304, in decorated
        computer = self._connection_helper.getFullComputerInformation(self._computer_id)
      File "/opt/slapos/eggs/slapos.core-1.3.15-py2.7.egg/slapos/slap/slap.py", line 669, in getFullComputerInformation
        xml = self.GET(path, params=params)
      File "/opt/slapos/eggs/slapos.core-1.3.15-py2.7.egg/slapos/slap/slap.py", line 749, in GET
        headers=headers)
      File "/opt/slapos/eggs/slapos.core-1.3.15-py2.7.egg/slapos/slap/slap.py", line 718, in do_request
        "original error was:\n%s" % exc)
    ConnectionError: Couldn't connect to the server. Please double check given master-url argument, and make sure that IPv6 is enabled on your machine and that the server is available. The original error was:
    HTTPSConnectionPool(host='[2001:67c:1254:12::83b2]', port=2157): Max retries exceeded with url: /getFullComputerInformation?computer_id=COMP-2547 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',))
    
    
    

    Looks like the documentation needs to be updated.

    Also I need to reconfigure the instance as there was a problem as I have explained in my previous 2 posts. Please guide how can I do that.