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

Unable to clone Azure DevOps repo: status code: 400 #3936

Closed
1 task done
somtochiama opened this issue May 31, 2023 · 1 comment · Fixed by fluxcd/source-controller#1111 or fluxcd/image-automation-controller#530
Labels
area/bootstrap Bootstrap related issues and pull requests bug Something isn't working

Comments

@somtochiama
Copy link
Member

Describe the bug

Bootstrapping Flux or creating a GitRepository with an Azure DevOps repository fails with 400 status code error:

 flux bootstrap git --url=https://[email protected]/somtochi0669/e2e/_git/fleet-infra-e2e-growing-grub --password=$AZURE_DEVOPS_PAT --path=clusters/my-cluster
► cloning branch "main" from Git repository "https://[email protected]/somtochi0669/e2e/_git/fleet-infra-e2e-growing-grub"
⚠️  clone failure: unable to clone 'https://[email protected]/somtochi0669/e2e/_git/fleet-infra-e2e-growing-grub': unexpected client error: unexpected requesting "https://[email protected]/somtochi0669/e2e/_git/fleet-infra-e2e-growing-grub/git-upload-pack" status code: 400

Steps to reproduce

  1. Bootstrap Flux with an Azure DevOps Repo

Expected behavior

Flux bootstraps successfully

Screenshots and recordings

No response

OS / Distro

N/A

Flux version

flux: v2.0.0-rc.4

Flux check

► checking prerequisites
✔ Kubernetes 1.26.3 >=1.20.6-0
► checking controllers
✔ helm-controller: deployment ready
► ghcr.io/fluxcd/helm-controller:v0.34.0
✔ kustomize-controller: deployment ready
► ghcr.io/fluxcd/kustomize-controller:v1.0.0-rc.4
✔ notification-controller: deployment ready
► ghcr.io/fluxcd/notification-controller:v1.0.0-rc.4
✔ source-controller: deployment ready
► ghcr.io/fluxcd/source-controller:v1.0.0-rc.4
► checking crds
✔ alerts.notification.toolkit.fluxcd.io/v1beta2
✔ buckets.source.toolkit.fluxcd.io/v1beta2
✔ gitrepositories.source.toolkit.fluxcd.io/v1
✔ helmcharts.source.toolkit.fluxcd.io/v1beta2
✔ helmreleases.helm.toolkit.fluxcd.io/v2beta1
✔ helmrepositories.source.toolkit.fluxcd.io/v1beta2
✔ kustomizations.kustomize.toolkit.fluxcd.io/v1
✔ ocirepositories.source.toolkit.fluxcd.io/v1beta2
✔ providers.notification.toolkit.fluxcd.io/v1beta2
✔ receivers.notification.toolkit.fluxcd.io/v1
✔ all checks passed

Git provider

Azure DevOps

Container Registry provider

No response

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@hiddeco
Copy link
Member

hiddeco commented Jun 1, 2023

Fixed via #3943

@hiddeco hiddeco closed this as completed Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bootstrap Bootstrap related issues and pull requests bug Something isn't working
Projects
None yet
4 participants