Hi,
I am trying to request an apache frontend for jupyter, see my request below.
After the request my frontend instance is in state "started" but the Connection
Parameter field is empty. Therfore the following questions:
- Is my request correct ?
- If it is not, how can I check if my parametes are correct or not ?
- If not, will future versions of slapos forward errors in some way so that I can debug ?
- I tried to do my request based on the documentation in
https://lab.nexedi.com/nexedi/slapos/tree/master/software/apache-frontend.
In this documentation there are two software_type defined in the same request:
"RootSoftwareInstance" and "custom-personal". If I do the request as in the documentation, it fails.
Which of the two software_types is correct for my request, RootSoftwareInstance or custom-personal ?
This is my request
instance = request(
software_release=apache_frontend,
partition_reference='my-frontend-jupyter',
shared=True,
software_type="custom-personal",
partition_parameter_kw={
"url":"https://[1:2:3:4]:8888",
"apache_custom_http":'''
SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
ProxyPreserveHost On
ProxyRequests off
ProxyPass /api/kernels/ wss://[1:2:3:4]:8888/api/kernels/
ProxyPassReverse /api/kernels/ https://[1:2:3:4]:8888/api/kernels/
ProxyPass / https://[1:2:3:4]:8888/
ProxyPassReverse / https://[1:2:3:4]:8888/
''',
}
)