java.lang.RuntimeException: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://192.168.64.17:8443/api/v1/namespaces/itest-8c7a3ac9-4607-44ea-98fc-ee19d0bc9ff9/services. Message: Forbidden! User admin/192-168-64-17:8443 doesn't have permission..

GitHub | cmoulliard | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Message: Forbidden! User admin/192-168-64-17:8443 doesn't have permission..

    GitHub | 5 months ago | cmoulliard
    java.lang.RuntimeException: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://192.168.64.17:8443/api/v1/namespaces/itest-8c7a3ac9-4607-44ea-98fc-ee19d0bc9ff9/services. Message: Forbidden! User admin/192-168-64-17:8443 doesn't have permission..

    Root Cause Analysis

    1. io.fabric8.kubernetes.client.KubernetesClientException

      Failure executing: POST at: https://192.168.64.17:8443/api/v1/namespaces/itest-8c7a3ac9-4607-44ea-98fc-ee19d0bc9ff9/services. Message: Forbidden! User admin/192-168-64-17:8443 doesn't have permission..

      at io.fabric8.kubernetes.client.dsl.base.OperationSupport.requestFailure()
    2. io.fabric8.kubernetes
      NamespaceVisitFromServerGetDeleteRecreateApplicableImpl.apply
      1. io.fabric8.kubernetes.client.dsl.base.OperationSupport.requestFailure(OperationSupport.java:314)
      2. io.fabric8.kubernetes.client.dsl.base.OperationSupport.assertResponseCode(OperationSupport.java:265)
      3. io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:236)
      4. io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:229)
      5. io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleCreate(OperationSupport.java:207)
      6. io.fabric8.kubernetes.client.dsl.base.BaseOperation.handleCreate(BaseOperation.java:564)
      7. io.fabric8.kubernetes.client.dsl.base.BaseOperation.create(BaseOperation.java:264)
      8. io.fabric8.kubernetes.client.handlers.ServiceHandler.create(ServiceHandler.java:38)
      9. io.fabric8.kubernetes.client.handlers.ServiceHandler.create(ServiceHandler.java:28)
      10. io.fabric8.kubernetes.client.dsl.internal.NamespaceVisitFromServerGetDeleteRecreateApplicableImpl.apply(NamespaceVisitFromServerGetDeleteRecreateApplicableImpl.java:123)
      11. io.fabric8.kubernetes.client.dsl.internal.NamespaceVisitFromServerGetDeleteRecreateApplicableImpl.apply(NamespaceVisitFromServerGetDeleteRecreateApplicableImpl.java:51)
      11 frames
    3. org.arquillian.cube
      SessionListener.start
      1. org.arquillian.cube.kubernetes.impl.SessionListener.start(SessionListener.java:116)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    5. Arquillian Core Implementation Base
      EventImpl.fire
      1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
      2. org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
      3. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
      4. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
      5. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
      6. org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
      6 frames
    6. org.arquillian.cube
      SuiteListener.start
      1. org.arquillian.cube.kubernetes.impl.SuiteListener.start(SuiteListener.java:45)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    8. Arquillian Core Implementation Base
      EventContextImpl.proceed
      1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
      2. org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
      3. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
      3 frames
    9. Arquillian Test Implementation Base
      TestContextHandler.createSuiteContext
      1. org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73)
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    11. Arquillian Core Implementation Base
      ManagerImpl.fire
      1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
      2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
      3. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
      4. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
      4 frames
    12. Arquillian Test Implementation Base
      EventTestRunnerAdaptor.beforeSuite
      1. org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeSuite(EventTestRunnerAdaptor.java:75)
      1 frame
    13. Arquillian TestRunner JUnit Core
      Arquillian.run
      1. org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:115)
      1 frame
    14. JUnit4 Provider
      JUnit4Provider.invoke
      1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
      2. org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
      3. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
      4. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
      4 frames
    15. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
      2. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
      3. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      3 frames