Skip to content

Failed to install first-operator example to OpenShift 4.10.13 #1808

Description

@dove-young

What happened:

[root@st2 ~]#  kubectl kudo install ./first-operator -v 11
repo configs: { name:community, url:https://kudo-repository.storage.googleapis.com/v1 }

repository used { name:community, url:https://kudo-repository.storage.googleapis.com/v1 }
I0531 01:57:57.335378 1066260 request.go:645] Throttling request took 1.143914662s, request: GET:https://api.b-10.example.com:6443/apis/autoscaling/v2beta1?timeout=32s
acquiring kudo client
getting operator package
determining package type of /root/first-operator
local operator discovered: /root/first-operator
folder walking through directory first-operator
folder walking through directory templates
Preparing kudo/first-operator:0.1.0 for installation
parameters in use: map[]
operator.kudo.dev kudo/first-operator does not exist

operator kudo/first-operator created
operatorversion kudo/first-operator-1.7.9-0.1.0 created
Error: failed to install instance kudo/first-operator-instance: installing Instance: Internal error occurred: failed calling webhook "instance-admission.kudo.dev": received invalid webhook response: expected response.uid="0556b79b-e871-453b-b8d5-733f586376ad", got ""
[root@st2 ~]#

What you expected to happen:
It should be installed.

How to reproduce it (as minimally and precisely as possible):

[root@st2 ~]#  kubectl kudo install ./first-operator -v 11
repo configs: { name:community, url:https://kudo-repository.storage.googleapis.com/v1 }

repository used { name:community, url:https://kudo-repository.storage.googleapis.com/v1 }
I0531 01:57:57.335378 1066260 request.go:645] Throttling request took 1.143914662s, request: GET:https://api.b-10.example.com:6443/apis/autoscaling/v2beta1?timeout=32s
acquiring kudo client
getting operator package
determining package type of /root/first-operator
local operator discovered: /root/first-operator
folder walking through directory first-operator
folder walking through directory templates
Preparing kudo/first-operator:0.1.0 for installation
parameters in use: map[]
operator.kudo.dev kudo/first-operator does not exist

operator kudo/first-operator created
operatorversion kudo/first-operator-1.7.9-0.1.0 created
Error: failed to install instance kudo/first-operator-instance: installing Instance: Internal error occurred: failed calling webhook "instance-admission.kudo.dev": received invalid webhook response: expected response.uid="0556b79b-e871-453b-b8d5-733f586376ad", got ""
[root@st2 ~]#

Anything else we need to know?:

 oc get operatorversion
NAME                         AGE
first-operator-1.7.9-0.1.0   9m38s

 oc get operator.kudo.dev
NAME             AGE
first-operator   9m56s

kubectl kudo get instance
Error: expecting one of "instances, operators, operatorversions or all" and not "instance"

kubectl kudo get instances
List of current installed instances in namespace "kudo":
.

Environment:

you can find env info from this issue #1807

  • Kubernetes version (use kubectl version):
  • Kudo version (use kubectl kudo version):
  • Operator:
  • operatorVersion:
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions