Bug 2229168 - [17.1] OpenStackConfigGenerator fails to clone from Azure DevOps with empty git-upload-pack given
Summary: [17.1] OpenStackConfigGenerator fails to clone from Azure DevOps with empty ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: osp-director-operator-container
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Martin Schuppert
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2229173
TreeView+ depends on / blocked
 
Reported: 2023-08-04 14:03 UTC by Martin Schuppert
Modified: 2024-01-16 16:25 UTC (History)
2 users (show)

Fixed In Version: osp-director-operator-container-1.3.1-12
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2229173 (view as bug list)
Environment:
Last Closed: 2024-01-16 16:25:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openstack-k8s-operators osp-director-operator pull 891 0 None open Retry for Azure GitOps with capability.ThinPack 2023-08-04 14:05:55 UTC
Github openstack-k8s-operators osp-director-operator pull 892 0 None open [v1.3.x] Retry for Azure GitOps with capability.ThinPack 2023-08-04 14:27:25 UTC
Red Hat Issue Tracker OSP-27201 0 None None None 2023-08-04 14:06:08 UTC
Red Hat Product Errata RHBA-2024:0263 0 None None None 2024-01-16 16:25:05 UTC

Description Martin Schuppert 2023-08-04 14:03:21 UTC
Description of problem:
when using Azure DevOps as git server after successful create of the playbooks they fail to be pushed to the git repo with 

2023-08-04T13:17:36.345Z        INFO    controllers.OpenStackConfigGenerator    Get "http://heat-default.openstack.svc:8004/v1/admin/stacks/overcloud": dial tcp: lookup heat-default.openstack.svc: no such host   {
"ObjectType": "*v1beta1.OpenStackConfigGenerator", "ObjectNamespace": "openstack", "ObjectName": "default"}                                                                                                          
2023-08-04T13:17:36.345Z        ERROR   Reconciler error        {"controller": "openstackconfiggenerator", "controllerGroup": "osp-director.openstack.org", "controllerKind": "OpenStackConfigGenerator", "OpenStackC
onfigGenerator": {"name":"default","namespace":"openstack"}, "namespace": "openstack", "name": "default", "reconcileID": "51a3144c-b692-4ff4-853d-2e5a33d7a27a", "error": "empty git-upload-pack given"}  
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler                                                                                                                                
        /go/pkg/mod/sigs.k8s.io/controller-runtime.1/pkg/internal/controller/controller.go:326                                                                                                                 
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem                                                                                                                             
        /go/pkg/mod/sigs.k8s.io/controller-runtime.1/pkg/internal/controller/controller.go:273                                                                                                                 
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2                                                                                                                                   
        /go/pkg/mod/sigs.k8s.io/controller-runtime.1/pkg/internal/controller/controller.go:234

Version-Release number of selected component (if applicable):
OSPdO 16.2

How reproducible:


Steps to Reproduce:
1. create new Azure DevOps org
2. create repo
3. add SSH key
4. configure OSPdO to use this
5. create OpenStackConfigGenerator

Actual results:
fail to push playbooks to git repo

Expected results:
succeed

Additional info:
https://github.com/go-git/go-git/pull/613

Comment 11 errata-xmlrpc 2024-01-16 16:25:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Updated Red Hat OpenStack Platform 17.1.2 director Operator container images), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2024:0263


Note You need to log in before you can comment on or make changes to this bug.