SlapOS Home SlapOS

    Re: Howto debug failing Apache Frontend request ?

    • Last Update:2016-04-08
    • Version:001
    • Language:en

    Hi, thanks for your quick help! Following your advice, I did 2 requests like this:

    instance = request(
      software_release=apache_frontend,
      partition_reference='frontend-api',
      shared=True,
      software_type="RootSoftwareInstance",
      partition_parameter_kw={
        "url":"wss://[1:2:3:4]:8888/api/kernels/",
        "path":"/api/kernels/"
      }
    )
    
    instance = request(
      software_release=apache_frontend,
      partition_reference='frontend-root',
      shared=True,
      software_type="RootSoftwareInstance",
      partition_parameter_kw={
        "url":"https://[1:2:3:4]:8888/",
        "path":"/"
      }
    )
    
    This created 2 frontends with no connection parameter. Is there a document which explains how to "request several slaves for the same thing" ?