openwhisk-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [openwhisk] mcdan opened a new issue #4711: Namespace errors from k8s client when namespace not set
Date Mon, 04 Nov 2019 18:27:05 GMT
mcdan opened a new issue #4711: Namespace errors from k8s client when namespace not set
   We use the issue tracker for bugs and feature requests. For general questions and discussion
please use or instead.
   Do NOT share passwords, credentials or other confidential information.
   Before creating a new issue, please check if there is one already open that
   fits the defect you are reporting.
   If you open an issue and realize later it is a duplicate of a pre-existing
   open issue, please close yours and add a comment to the other.
   Issues can be created for either defects or enhancement requests. If you are a committer
than please add the labels "bug" or "feature". If you are not a committer please make clear
in the comments which one it is, so that committers can add these labels later.
   If you are reporting a defect, please edit the issue description to include the
   information shown below.
   If you are reporting an enhancement request, please include information on what you are
trying to achieve and why that enhancement would help you.
   For more information about reporting issues, see
   Use the commands below to provide key information from your environment:
   You do not have to include this information if this is a feature request.
   ## Environment details:
   * local deployment - standalone jar
   * kubernetes versions:
   {Major:"1", Minor:"15", GitVersion:"v1.15.3", GitCommit:"2d3c76f9091b6bec110a5e63777c332469e0cba2",
GitTreeState:"clean", BuildDate:"2019-08-19T11:05:50Z", GoVersion:"go1.12.9", Compiler:"gc",
   ## Steps to reproduce the issue:
   1.   Configure the invoker to use KCF
   1.   Create a service user without access to the `--all-namespaces` / `default` namespace
via RBAC
   1.   Use a kubeconfig that doesn't have a namespace set and uses the service user token
   ## Provide the expected results and outputs:
   Prewarm Containers should start.
   ## Provide the actual results and outputs:
   Prewarm containers don't start and the invoker isn't even listed in: `http://<controller_host_port>/invokers`.
   [2019-11-04T12:33:26.826Z] [ERROR] Namespace not specified. But operation requires namespace.
   io.fabric8.kubernetes.client.KubernetesClientException: Namespace not specified. But operation
requires namespace.
   	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.checkNamespace(
   	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleCreate(
   	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.handleCreate(
   	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.create(
   	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.create(
   	at org.apache.openwhisk.core.containerpool.kubernetes.KubernetesContainer$.create(KubernetesContainer.scala:72)
   	at org.apache.openwhisk.core.containerpool.kubernetes.KubernetesContainerFactory.createContainer(KubernetesContainerFactory.scala:80)
   	at org.apache.openwhisk.core.containerpool.ContainerFactory.createContainer(ContainerFactory.scala:100)
   	at org.apache.openwhisk.core.containerpool.ContainerFactory.createContainer$(ContainerFactory.scala:92)
   	at org.apache.openwhisk.core.containerpool.kubernetes.KubernetesContainerFactory.createContainer(KubernetesContainerFactory.scala:41)
   	at org.apache.openwhisk.core.invoker.InvokerReactive.$anonfun$childFactory$2(InvokerReactive.scala:198)
   	at org.apache.openwhisk.core.invoker.InvokerReactive.$anonfun$childFactory$2$adapted(InvokerReactive.scala:198)
   	at org.apache.openwhisk.core.containerpool.ContainerProxy$$anonfun$1.applyOrElse(ContainerProxy.scala:277)
   	at org.apache.openwhisk.core.containerpool.ContainerProxy$$anonfun$1.applyOrElse(ContainerProxy.scala:249)
   	at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:38)
   	at org.apache.openwhisk.core.containerpool.ContainerProxy.processEvent(ContainerProxy.scala:224)
   	at org.apache.openwhisk.core.containerpool.ContainerProxy.aroundReceive(ContainerProxy.scala:224)
   	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:268)
   	at akka.dispatch.Mailbox.exec(Mailbox.scala:241)
   	at akka.dispatch.forkjoin.ForkJoinTask.doExec(
   	at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(
   	at akka.dispatch.forkjoin.ForkJoinPool.runWorker(

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

View raw message