Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installer demo profile does not work #21495

Closed
sdake opened this issue Feb 25, 2020 · 0 comments · Fixed by #21499
Closed

installer demo profile does not work #21495

sdake opened this issue Feb 25, 2020 · 0 comments · Fixed by #21499

Comments

@sdake
Copy link
Member

sdake commented Feb 25, 2020

Bug description
With in-cluster operator used for installation, the demo profile does not work.

There is a syntax error in the kustomize file.

Additionally, the controller doesn't work properly and seems to prune anything that is not istiod.

This problem only exists in the release-1.5 branch.

Master works well.

Logs of interest:

sdake@beast-01:~/istio-1.5.0-beta.3/install/kubernetes/operator/deploy/crds$ kubectl logs -n istio-operator istio-operator-6879c55979-6rgfb | grep "as cached"
2020-02-25T22:45:13.242736Z	info	Generated manifest objects are the same as cached for component Telemetry.
2020-02-25T22:45:13.242686Z	info	Generated manifest objects are the same as cached for component NodeAgent.
2020-02-25T22:45:13.242877Z	info	Generated manifest objects are the same as cached for component Citadel.
2020-02-25T22:45:13.242945Z	info	Generated manifest objects are the same as cached for component SidecarInjector.
2020-02-25T22:45:13.243032Z	info	Generated manifest objects are the same as cached for component Cni.
2020-02-25T22:45:13.243070Z	info	Generated manifest objects are the same as cached for component Policy.
2020-02-25T22:45:13.243109Z	info	Generated manifest objects are the same as cached for component Galley.
2020-02-25T22:45:47.737339Z	info	Generated manifest objects are the same as cached for component SidecarInjector.
2020-02-25T22:45:47.737236Z	info	Generated manifest objects are the same as cached for component Galley.
2020-02-25T22:45:47.737243Z	info	Generated manifest objects are the same as cached for component NodeAgent.
2020-02-25T22:45:47.737344Z	info	Generated manifest objects are the same as cached for component Citadel.
2020-02-25T22:45:47.737558Z	info	Generated manifest objects are the same as cached for component Telemetry.
2020-02-25T22:45:47.737594Z	info	Generated manifest objects are the same as cached for component Cni.
2020-02-25T22:45:47.737652Z	info	Generated manifest objects are the same as cached for component Policy.
2020-02-25T22:45:48.132286Z	info	Generated manifest objects are the same as cached for component EgressGateways.
2020-02-25T22:45:48.133982Z	info	Generated manifest objects are the same as cached for component IngressGateways.
2020-02-25T22:45:49.530617Z	info	Generated manifest objects are the same as cached for component Pilot.
2020-02-25T22:45:54.141518Z	info	Generated manifest objects are the same as cached for component AddonComponents.
2020-02-25T22:46:21.642312Z	info	Generated manifest objects are the same as cached for component Telemetry.
2020-02-25T22:46:21.642318Z	info	Generated manifest objects are the same as cached for component Cni.
2020-02-25T22:46:21.642331Z	info	Generated manifest objects are the same as cached for component Policy.
2020-02-25T22:46:21.642203Z	info	Generated manifest objects are the same as cached for component SidecarInjector.
2020-02-25T22:46:21.642745Z	info	Generated manifest objects are the same as cached for component NodeAgent.
2020-02-25T22:46:21.642754Z	info	Generated manifest objects are the same as cached for component Galley.
2020-02-25T22:46:21.642877Z	info	Generated manifest objects are the same as cached for component Citadel.
2020-02-25T22:46:22.331561Z	info	Generated manifest objects are the same as cached for component EgressGateways.
2020-02-25T22:46:22.433899Z	info	Generated manifest objects are the same as cached for component IngressGateways.
2020-02-25T22:46:23.440452Z	info	Generated manifest objects are the same as cached for component Pilot.
2020-02-25T22:46:28.338339Z	info	Generated manifest objects are the same as cached for component AddonComponents.

And the pruning logs:

2020-02-25T22:45:22.000277Z	info	creating resource: istio-system/tracing
2020-02-25T22:45:28.469859Z	info	Pruned object Endpoints:istio-system:grafana.
2020-02-25T22:45:28.476904Z	info	Pruned object Endpoints:istio-system:istio-egressgateway.
2020-02-25T22:45:28.481202Z	info	Pruned object Endpoints:istio-system:istio-ingressgateway.
2020-02-25T22:45:28.530574Z	info	Pruned object Endpoints:istio-system:istio-pilot.
2020-02-25T22:45:28.534986Z	info	Pruned object Endpoints:istio-system:istiod.
2020-02-25T22:45:28.538089Z	info	Pruned object Endpoints:istio-system:jaeger-agent.
2020-02-25T22:45:28.541467Z	info	Pruned object Endpoints:istio-system:jaeger-collector.
2020-02-25T22:45:28.545779Z	info	Pruned object Endpoints:istio-system:jaeger-collector-headless.
2020-02-25T22:45:28.549701Z	info	Pruned object Endpoints:istio-system:jaeger-query.
2020-02-25T22:45:28.570038Z	info	Pruned object Endpoints:istio-system:kiali.
2020-02-25T22:45:28.573987Z	info	Pruned object Endpoints:istio-system:prometheus.
2020-02-25T22:45:28.581197Z	info	Pruned object Endpoints:istio-system:tracing.
2020-02-25T22:45:28.584869Z	info	Pruned object Endpoints:istio-system:zipkin.
2020-02-25T22:45:30.334064Z	info	Pruned object ValidatingWebhookConfiguration::istio-galley.
2020-02-25T22:45:30.346494Z	info	Pruned object ValidatingWebhookConfiguration::istiod-istio-system.
2020-02-25T22:45:31.039374Z	warn	retrieving resources to prune type certmanager.k8s.io/v1beta1, Kind=ClusterIssuer: no matches for kind "ClusterIssuer" in version "certmanager.k8s.io/v1beta1" not found
2020-02-25T22:45:31.060971Z	info	end reconciling resources

Expected behavior
Operator installs the software.

Steps to reproduce the bug
Start with fresh K8s cluster.
NB Note it may be necessary to change the namesapce in the CR file to istio-operator.
deploy Istio as follows:

 
kubectl apply -f deploy/crd/istio_v1alpha1_istiooperator_crd.yaml 
kubectl apply -f deploy/crd/istio_v1alpha1_istiooperator_cr.yaml
kubectl apply -k deploy/

Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
1.5 beta 3 download

How was Istio installed?
Via the operator mechanism

Environment where bug was observed (cloud vendor, OS, etc)
bare metal + K8s v1.17 + metall v0.83 + calico 3.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants