[Rdo-list] trouble using rdopkg with gerrithub

Jakub Ruzicka jruzicka at redhat.com
Thu Mar 26 12:41:57 UTC 2015


On 26.3.2015 10:58, Alan Pevec wrote:
> 2015-03-25 23:22 GMT+01:00 Steve Linabery <slinaber at redhat.com>:
>> My local username is not the same as my gerrithub user. I confirmed that 'ssh -p 29418  eggmaster at review.gerrithub.io' succeeds, so I believe my ssh keys are set up correctly.
> 
> That's what you get for using funny nicknames ;) But this can be fixed
> by adding entry to ~/.ssh/config e.g.
> Host review.gerrithub.io
>     User apevec
> 
>> However, when I do `rdopkg update`, it prompts for
>> Username for 'https://review.gerrithub.io': eggmaster
>> Password for 'https://eggmaster@review.gerrithub.io': XXXXXX
> 
> As Haikel suggested, you need to set http passwrod in gerrit,
> or, as I did, set RDO_UPDATE_REPO in ~/.rdopkg/conf.d/rdoupdate-repo.py:
> RDO_UPDATE_REPO="ssh://review.gerrithub.io:29418/redhat-openstack/rdo-update"
> 
> Questions for Jakub, why is there both cfg['RDO_UPDATE_REPO'] and
> cfg['RDO_UPDATE_GERRIT_SSH'] ?
> And why is https default?

RDO_UPDATE_REPO is used in `rdopkg update` while RDO_UPDATE_GERRIT_SSH
is used in `rdopkg list-updates` to query gerrit API. So apparently,
these work with the same string for you, so I wonder if they can/should
be merged into one. What do you think? Minimalism or flexibility?


> Cheers,
> Alan
> 
> _______________________________________________
> Rdo-list mailing list
> Rdo-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rdo-list
> 
> To unsubscribe: rdo-list-unsubscribe at redhat.com
> 




More information about the dev mailing list