-
Notifications
You must be signed in to change notification settings - Fork 828
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
partial-audit: prow-boskos-* batch (1/4) update as of 2021-02-24 #1714
partial-audit: prow-boskos-* batch (1/4) update as of 2021-02-24 #1714
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Hi @cncf-ci. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
Same comments as #1710 (review)
An additional comment on something I don't quite understand
@@ -0,0 +1 @@ | |||
gs://kubernetes-staging-485128143e-asia/ has no CORS configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will admit, I am not used to seeing -asia
and -eu
buckets get created by kube-up. It supports it, but I'm not used to seeing it. Has something changed?
Looks like RELEASE_REGION_FALLBACK
needs to be true
for this to happen
- it defaults to false in kube-up...
- nothing currently sets it to true... https://cs.k8s.io/?q=RELEASE_REGION_FALLBACK&i=nope&files=&excludeFiles=&repos=
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I think we should consider dumping bucket metadata as part of audit
$ gsutil ls -L -b gs://kubernetes-staging-485128143e-asia
gs://kubernetes-staging-485128143e-asia/ :
Storage class: STANDARD
Location type: multi-region
Location constraint: ASIA
Versioning enabled: None
Logging configuration: None
Website configuration: None
CORS configuration: None
Lifecycle configuration: None
Requester Pays enabled: None
Labels: None
Default KMS key: None
Time created: Sun, 09 Aug 2020 17:57:04 GMT
Time updated: Sun, 09 Aug 2020 17:57:04 GMT
Metageneration: 1
Bucket Policy Only enabled: False
# ... snip ...
So the "time created" tells me whatever this was, it happened long ago. Well past our log retention on prow.k8s.io, gs://kubernetes-jenkins, or k8s-infra-prow-build.
Maybe consider deleting these and revisiting if they start popping up again
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No wait, I lied... still definitely in use.
$ gcloud logging read \
--project=k8s-infra-e2e-boskos-001 \
--freshness=7d \
'
logName="projects/k8s-infra-e2e-boskos-001/logs/cloudaudit.googleapis.com%2Factivity"
protoPayload.serviceName="storage.googleapis.com"
protoPayload.resourceName=~"-asia|-eu"
' \
--format="value(timestamp,protoPayload.methodName,protoPayload.resourceName)"
2021-02-23T08:25:21.531295917Z storage.objects.update projects/_/buckets/kubernetes-staging-485128143e-eu/objects/bootstrap-e2e-devel/kubernetes-manifests.tar.gz.sha512
2021-02-23T08:25:21.523849115Z storage.objects.update projects/_/buckets/kubernetes-staging-485128143e-eu/objects/bootstrap-e2e-devel/kubernetes-manifests.tar.gz
2021-02-23T08:25:13.015559872Z storage.objects.update projects/_/buckets/kubernetes-staging-485128143e-eu/objects/bootstrap-e2e-devel/kubernetes-server-linux-amd64.tar.gz.sha512
2021-02-23T08:25:12.924159228Z storage.objects.update projects/_/buckets/kubernetes-staging-485128143e-eu/objects/bootstrap-e2e-devel/kubernetes-server-linux-amd64.tar.gz
2021-02-22T09:07:12.735014165Z storage.objects.update projects/_/buckets/kubernetes-staging-485128143e-asia/objects/bootstrap-e2e-devel/kubernetes-manifests.tar.gz.sha512
2021-02-22T09:07:12.657397014Z storage.objects.update projects/_/buckets/kubernetes-staging-485128143e-asia/objects/bootstrap-e2e-devel/kubernetes-manifests.tar.gz
# ...
It has to do with where the cluster is created.
spiffxp@spiffxp-macbookpro:test-infra (master)$ ag '(asia|europe)-'
config/jobs/kubernetes/sig-network/sig-network-misc.yaml
335: - --gcp-zone=asia-southeast1-a
372: - --gcp-zone=asia-southeast1-a
config/jobs/kubernetes/sig-network/ingress-gce-e2e.yaml
158: - --gcp-zone=asia-southeast1-a
189: - --gcp-zone=asia-southeast1-a
config/jobs/kubernetes/sig-cloud-provider/gcp/gcp-gce.yaml
849: - --gcp-zone=europe-west1-c
config/jobs/kubernetes/sig-node/containerd.yaml
600: - --gcp-zone=asia-southeast1-a
OK! carry on then
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cncf-ci, spiffxp The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/check-cla |
Audit Updates wg-k8s-infra