[Starlingx-discuss] config_controller fails because of kubernetes
Rowsell, Brent
Brent.Rowsell at windriver.com
Thu Mar 21 16:37:05 UTC 2019
Hi,
Some further clarification.
StarlingX is now a kubernetes platform. Openstack is a containerized application that runs on top of this platform. There is no bare metal installation option for openstack anymore.
As Curtis points out below if you do not have internet access you will need to use a proxy or an alternative registry(s) that is accessible from your deployment. This is configured through config_controller. The alterative registry would need to be populated with the required images.
Brent
From: Curtis [mailto:serverascode at gmail.com]
Sent: Thursday, March 21, 2019 12:15 PM
To: Marcel Schaible <marcel at schaible-consulting.de>
Cc: starlingx-discuss at lists.starlingx.io
Subject: Re: [Starlingx-discuss] config_controller fails because of kubernetes
On Thu, Mar 21, 2019 at 11:53 AM Marcel Schaible <marcel at schaible-consulting.de<mailto:marcel at schaible-consulting.de>> wrote:
Hi,
I have tried the image from yesterday 20190320 and the config_controller bails out with the
following error in the puppet.log:
[ERROR ImagePull]: failed to pull image k8s.gcr.io/kube-apiserver:v1.12.3<http://k8s.gcr.io/kube-apiserver:v1.12.3>: output: Error response from daemon: Get https://k8s.gcr.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
When I try to access the url with another computer ith proper internet access I'll et the response:
{"errors":[{"code":"UNAUTHORIZED","message":"Unauthorized access."}]}
Is this expected?
So does that mean, that I have a working internet connection for installation?
This is how I understand it, and hopefully someone else will correct me or better explain if needed, but basically the ISO does not contain any Docker images. But when running config_controller, it needs to have Docker images to deploy Kubernetes. So those Docker images have to come from somewhere. So to answer your question, yes, you do need an internet connection at some point to get the Docker images.
There is the option to 1) use a Docker proxy or 2) use a local Docker registry as an "alternative registry", ie. offline or "air gapped." Though I'm there may be a bug in option #2, and option #1 still requires that the proxy has access to the images somehow (generally the proxy is used as a cache, and the proxy itself still has access to the internet).
Since I don't want to use kubernetes/docker at the moment, how can I disable this behavior?
Basically, I don't think it's possible to have StarlingX without Kubernetes...it's not an option any more. That's a major design decision the project has made and in many ways is a key feature of StarlingX. I don't think you would want to avoid it even if it were possible. :)
Thanks,
Curtis
Thanks
Marcel
_______________________________________________
Starlingx-discuss mailing list
Starlingx-discuss at lists.starlingx.io<mailto:Starlingx-discuss at lists.starlingx.io>
http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
--
Blog: serverascode.com<http://serverascode.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20190321/a728259b/attachment-0001.html>
More information about the Starlingx-discuss
mailing list