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

UNAVAILABLE: Network closed for unknown reason #49

Open
fbalicchia opened this issue Aug 14, 2018 · 3 comments
Open

UNAVAILABLE: Network closed for unknown reason #49

fbalicchia opened this issue Aug 14, 2018 · 3 comments

Comments

@fbalicchia
Copy link

fbalicchia commented Aug 14, 2018

Hi,

Executing installation plugin return with the following error

[ERROR] Failed to execute goal org.microbean:helm-maven-plugin:2.8.2.1.1.2-SNAPSHOT:install (Install your-project chart) on project demomicrotest: io.grpc.StatusRuntimeException: UNAVAILABLE: Network closed for unknown reason -> [Help 1]

Configuration looks like :

<plugin>
           <groupId>org.microbean</groupId>
                <artifactId>helm-maven-plugin</artifactId>
                <version>2.8.2.1.1.2-SNAPSHOT</version>
                <executions>
                    <execution>
                        <id>Install your-project chart</id>
                        <phase>install</phase>
                        <goals>
                            <goal>install</goal>
                        </goals>
                        <configuration>
                            <chartUrl>file:${project.basedir}/demomicrotest-helm</chartUrl>
                            <releaseName>${project.name}</releaseName>
                            <valuesYamlUri>file:${project.basedir}/demomicrotest-helm/values.yaml</valuesYamlUri>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

Using helm client my charts has no problem. I'm testing it on minikube.

Could you please help me to understand where I mistake in configuration ?

Thanks

@ljnelson
Copy link
Member

Hello; thanks for using the helm-maven-plugin project.

Your configuration looks fine.

helm-maven-plugin uses the microBean Helm project under the covers, and that project uses the fabric8 Kubernetes client library. It is that library which governs how network connections to Tiller, Helm's back-end component, are made. Specifically, there are a lot of configuration sources that are tried by default. I suspect that this is probably the source of your problem. Good luck!

@dallasvaughan
Copy link

I'm getting the same issue. It's using the config file in ~/.kube and that configuration is correct (it works with using helm otherwise).

@ljnelson
Copy link
Member

I'm not sure what to tell you. As you can see from the exception, it is related to the Java implementation of the gRPC protocol (i.e. it's not something I have control over). Maybe after debugging you could try filing a more specific issue in the https://github.com/grpc/grpc-java project?

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

No branches or pull requests

3 participants