Ask Your Question
1

Gerrit workflow in sandbox shows errors

asked 2015-08-19 23:06:06 -0500

sanjana gravatar image

updated 2015-08-20 03:19:14 -0500

I have installed sandbox. I am accessing Gerrit over https. But within the sandbox folder, when i try the command "git review -s" , i get the following error: Problems encountered in installing commit-msg hook ssh: Could not resolve hostname review.openstack.org:Name or service not known.

My git config file has the following paramaters:

user.name=user_name
user.email=user_email
gitreview.scheme=https
gitreview.port=443
gitreview.username=user_name
credential.helper=cache --timeout=3600
http.proxy=is set appropriately
https.proxy=is set appropriately
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
remote.origin.url=https://git.openstack.org/openstack-dev/sandbox.git
branch.master.remote=origin
branch.master.merge=refs/heads/master
remote.gerrit.url=https://user_name@review.openstack.org/openstack-dev/sandbox.git
remote.gerrit.fetch=+refs/heads/*:refs/remotes/gerrit/*

What changes should i make to get git review -s working?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-08-20 17:24:18 -0500

smaffulli gravatar image

Make sure your shell can resolve host names and if you're behind a proxy configure your internet access properly.

edit flag offensive delete link more

Comments

wget www.google.com works fine through the terminal.

sanjana gravatar imagesanjana ( 2015-08-20 22:28:36 -0500 )edit

that doesn't say much. Can you resolve review.openstack.org? My gerrit remote uses ssh, not sure if https works.

smaffulli gravatar imagesmaffulli ( 2015-08-21 00:42:59 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-08-19 23:06:06 -0500

Seen: 250 times

Last updated: Aug 20 '15