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

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

Open
dove-young opened this issue May 31, 2022 · 0 comments
Open

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

dove-young opened this issue May 31, 2022 · 0 comments
Labels

Comments

@dove-young
Copy link

dove-young commented May 31, 2022

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:
@dove-young dove-young changed the title Failed to install first-operator example to OpenShift 4.10.13 Failed to install first-operator example to OpenShift 4.7.45 Jun 2, 2022
@dove-young dove-young changed the title Failed to install first-operator example to OpenShift 4.7.45 Failed to install first-operator example to OpenShift 4.10.13 Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant