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

提议管理页面-用户无法投票 #17

Closed
Tracked by #8
bjwswang opened this issue Feb 14, 2023 · 6 comments
Closed
Tracked by #8

提议管理页面-用户无法投票 #17

bjwswang opened this issue Feb 14, 2023 · 6 comments
Assignees
Labels
bug Something isn't working high High Priority
Milestone

Comments

@bjwswang
Copy link
Member

image

期望

用户org3admi可以完成投票

实际

按钮不可点击

@bjwswang bjwswang added the high High Priority label Feb 14, 2023
@bjwswang bjwswang added this to the v0.1.0 milestone Feb 14, 2023
@bjwswang bjwswang mentioned this issue Feb 14, 2023
17 tasks
@bjwswang bjwswang added the bug Something isn't working label Feb 14, 2023
@Jandiasnow
Copy link
Member

Jandiasnow commented Feb 14, 2023

getProposal 提议截止时间 endAt 返回是 null 导致的 @dayuy

@dayuy
Copy link

dayuy commented Feb 15, 2023

proposal 没有 spec.endAt,是否正常 @bjwswang

@bjwswang
Copy link
Member Author

@Abirdcfly

@Abirdcfly
Copy link
Member

默认值是webhook自动补上的。

代码见:
https://github.com/bestchains/fabric-operator/blob/811ef0773cd76b92c1358bb16daa04da51e377bf/api/v1beta1/proposal_webhook.go#L54

看起来这里的问题是这个环境的webhook都没有安装上去,或者被删了。😳

$ kubectl get mutatingwebhookconfigurations.admissionregistration.k8s.io                                                                               
E0215 14:47:06.398309   84447 memcache.go:255] couldn't get resource list for custom.metrics.k8s.io/v1beta1: Got empty response for: custom.metrics.k8s.io/v1beta1
E0215 14:47:06.501591   84447 memcache.go:255] couldn't get resource list for custom.metrics.k8s.io/v1beta1: Got empty response for: custom.metrics.k8s.io/v1beta1
NAME                                                    WEBHOOKS   AGE
cert-manager-webhook                                    1          6d21h
defaulting.webhook.kafka.messaging.knative.dev          1          57d
defaulting.webhook.kafka.sources.knative.dev            1          57d
inmemorychannel.eventing.knative.dev                    1          57d
istio-sidecar-injector                                  4          60d
kafkabindings.webhook.kafka.sources.knative.dev         1          57d
olm-image-replacement-webhook                           1          322d
opentelemetry-operator-mutating-webhook-configuration   3          49d
region-mutating-webhook-cfg                             1          467d
sidecar-injector-webhook-cfg                            1          425d
sinkbindings.webhook.sources.knative.dev                1          57d
tmf-env-injector                                        1          455d
tmf-operator                                            3          459d
volcano-admission-service-jobs-mutate                   1          235d
volcano-admission-service-podgroups-mutate              1          235d
volcano-admission-service-pods-mutate                   1          235d
volcano-admission-service-queues-mutate                 1          235d
vpa-webhook-config                                      1          309d
webhook.domainmapping.serving.knative.dev               1          57d
webhook.eventing.knative.dev                            1          57d
webhook.istio.networking.internal.knative.dev           1          57d
webhook.pipeline.tekton.dev                             1          56d
webhook.serving.knative.dev                             1          57d

缺 fabric 对应的 webhook,比如 proposal 的 webhook 是 proposal.mutate.webhook 和 proposal.validate.webhook

@bjwswang
Copy link
Member Author

spec.endAt有了,目前是看不到proposal list

@dayuy
Copy link

dayuy commented Feb 15, 2023

可以看到提议列表了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high High Priority
Projects
None yet
Development

No branches or pull requests

4 participants