Shashank Dixit
Shashank Dixit

Reputation: 61

Could not install Istio demo profile. Error: Could not configure logs

I have installed Minikube on my laptop. I am trying to run the Istio. I have followed the instructions given here. https://istio.io/docs/setup/getting-started/

My setup is as below.

When I run the command as given in the documentation

  istioctl manifest apply --set profile=demo

It fails immediately giving below error.

Could not configure logs: couldn't open sink "/dev/null": open /dev/null: The system cannot find the path specified.

Anybody has faced the issue? Thanks in advance for any pointers.

Upvotes: 0

Views: 1536

Answers (2)

Jakub
Jakub

Reputation: 8830

I checked istio github and there is same issue reported 3 days ago.

As i could read there

The issue is windows specific,should be fixed in 1.4.1 release in about 2 weeks

For now i would suggest to use helm instead of istioctl, like @lain mentioned in his answer.

EDIT

There is workaround for istio 1.4.0 provided in github link above

Finally got my hands on a windows machine. Workaround for 1.4.0(folder from the Istio release archive):

istioctl manifest apply --set profile=demo --logtostderr --set installPackagePath=install/kubernetes/operator/charts 

Upvotes: 0

Iain
Iain

Reputation: 11

Try adding flag --logtostderr.

istioctl manifest apply --set profile=demo --logtostderr

Upvotes: 1

Related Questions