io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://kubernetes.default.svc/oapi/v1/namespaces/default/buildconfigs. Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked..

GitHub | stephanosbacon | 3 months ago
  1. 0

    Error trying to run new build forge command

    GitHub | 3 months ago | stephanosbacon
    io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://kubernetes.default.svc/oapi/v1/namespaces/default/buildconfigs. Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked..
  2. 0

    Unable to create project in CI/CD pipeline

    GitHub | 10 months ago | rhopp
    io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://kubernetes.default.svc/oapi/v1/namespaces/default/buildconfigs. Message: BuildConfig "testNodeJSProject" is invalid: metadata.name: invalid value 'testNodeJSProject', Details: must be a DNS subdomain (at most 253 characters, matching regex [a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*): e.g. "example.com". Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=metadata.name, message=invalid value 'testNodeJSProject', Details: must be a DNS subdomain (at most 253 characters, matching regex [a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*): e.g. "example.com", reason=FieldValueInvalid, additionalProperties={})], kind=BuildConfig, name=testNodeJSProject, retryAfterSeconds=null, additionalProperties={}), kind=Status, message=BuildConfig "testNodeJSProject" is invalid: metadata.name: invalid value 'testNodeJSProject', Details: must be a DNS subdomain (at most 253 characters, matching regex [a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*): e.g. "example.com", metadata=ListMeta(resourceVersion=null, selfLink=null, additionalProperties={}), reason=Invalid, status=Failure, additionalProperties={}).
  3. 0

    kubernetes-api: default values not supported

    GitHub | 10 months ago | WinstonSureChill
    io.fabric8.kubernetes.client.KubernetesClientException: Namespace not specified. But operation requires namespace.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 53#218853355

    GitHub | 7 months ago | alberttwong
    io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://kubernetes.default.svc/api/v1/namespaces/sample-project/configmaps. Message: the server could not find the requested resource. Received status: Status(apiVersion=v1, code=404, details=StatusDetails(causes=[], group=null, kind=null, name=null, retryAfterSeconds=null, additionalProperties={}), kind=Status, message=the server could not find the requested resource, metadata=ListMeta(resourceVersion=null, selfLink=null, additionalProperties={}), reason=NotFound, status=Failure, additionalProperties={}).
  6. 0

    create project silently fails if configmaps arent available

    GitHub | 7 months ago | rawlingsj
    io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://kubernetes.default.svc/api/v1/namespaces/lab4/configmaps. Message: the server could not find the requested resource. Received status: Status(apiVersion=v1, code=404, details=StatusDetails(causes=[], group=null, kind=null, name=null, retryAfterSeconds=null, additionalProperties={}), kind=Status, message=the server could not find the requested resource, metadata=ListMeta(resourceVersion=null, selfLink=null, additionalProperties={}), reason=NotFound, status=Failure, additionalProperties={}).

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. io.fabric8.kubernetes.client.KubernetesClientException

      Failure executing: POST at: https://kubernetes.default.svc/oapi/v1/namespaces/default/buildconfigs. Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked..

      at io.fabric8.kubernetes.client.dsl.base.OperationSupport.requestFailure()
    2. io.fabric8.kubernetes
      BaseOperation.create
      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:547)
      7. io.fabric8.kubernetes.client.dsl.base.BaseOperation.create(BaseOperation.java:243)
      7 frames
    3. Fabric8 :: Kubernetes Client API
      Controller.applyBuildConfig
      1. io.fabric8.kubernetes.api.Controller.doCreateBuildConfig(Controller.java:832)
      2. io.fabric8.kubernetes.api.Controller.applyBuildConfig(Controller.java:822)
      2 frames
    4. io.fabric8.forge
      NewBuildCommand.execute
      1. io.fabric8.forge.devops.NewBuildCommand.execute(NewBuildCommand.java:132)
      1 frame
    5. 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
    6. Furnace - Proxy Utilities
      ClassLoaderInterceptor$1.call
      1. org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
      1 frame
    7. Furnace - Runtime API
      ClassLoaders.executeIn
      1. org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
      1 frame
    8. Furnace - Proxy Utilities
      ClassLoaderInterceptor.invoke
      1. org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
      1 frame