Hi,
> On 20. Mar 2018, at 11:47,
linux.tod...@gmail.com wrote:
>
> Hi All,
>
> I am not able to integrate my PE code manager with Bit Bucket server.
>
> Following are error:
>
> [root@aexxxpv007 ~]# puppet-code status
> {
> "alerts": [],
> "detail_level": "info",
> "state": "running",
> "status": {
> "file_sync": "enabled",
> "services": {
> "file-sync-storage": "running"
> }
> }
> }
> [root@aexxxpv007 ~]# r10k deploy display --fetch
> ERROR -> Unable to determine current branches for Git source 'puppet' (/etc/puppetlabs/code/environments)
> Original exception:
> Authentication failed for Git remote "
http://aexxxpv007.corp.acxiom.net:7990/scm/dem/entr.git".
Are you able to git clone the control repo as pe-puppet user?
You are using http to access the repo.
Is there really no authentication required?
> [root@aexxxpv007 ~]# curl -k -X POST -H 'Content-Type: application/json' -H "X-Authentication: `cat ~/.puppetlabs/token`"
https://aexxxpv007.corp.acxiom.net:8170/code-manager/v1/deploys -d '{"dry_run": true}'
> {"kind":"puppetlabs.code-manager/collect-failed","msg":"Errors while collecting a list of environments to deploy (exit code: 1).","details":"ERROR\t -> Unable to determine current branches for Git source 'puppet' (/etc/puppetlabs/code-staging/environments)\nOriginal exception:\nAuthentication failed for Git remote \"
http://aexxxpv007.corp.acxiom.net:7990/scm/dem/entr.git\".\n"}[root@aexxxpv007 ~]#
>
>
> --
> You received this message because you are subscribed to the Google Groups "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
puppet-users...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/9c398eb4-4e00-4f87-9b26-e8d3311e7605%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.