Ask Your Question

Running delorean fails: Git won't fetch sources [closed]

asked 2016-04-27 10:17:47 -0600

arecknag gravatar image

Up to about one week ago I could run delorean [1] just fine. But since a couple of days, downloading the sources fails with

dlrn --config-file projects.ini --order

INFO:dlrn:Params: Namespace(build_env=None, config_file='projects.ini', dev=False, head_only=False, info_repo=None, local=False, log_commands=False, order=True, package_name=None, recheck=False, run=None, status=False, stop=False, use_public=False)
INFO:dlrn:Getting to ./data/puppet-aodh_distro
Traceback (most recent call last):
  File "/usr/bin/dlrn", line 10, in <module>
  File "/root/delorean/DLRN/dlrn/", line 213, in main
    options.local,, package)
  File "/root/delorean/DLRN/dlrn/", line 550, in getinfo
    distro, distro_dir, distro_branch, local=local)
  File "/root/delorean/DLRN/dlrn/", line 494, in refreshrepo
    sh.git.clone(url, path)
  File "/usr/lib/python2.7/site-packages/", line 1021, in __call__
    return RunningCommand(cmd, call_args, stdin, stdout, stderr)
  File "/usr/lib/python2.7/site-packages/", line 486, in __init__
  File "/usr/lib/python2.7/site-packages/", line 500, in wait
  File "/usr/lib/python2.7/site-packages/", line 516, in handle_command_exit_code
    raise exc(self.ran, self.process.stdout, self.process.stderr)

  RAN: '/usr/bin/git clone ./data/puppet-aodh_distro'

Cloning into './data/puppet-aodh_distro'...

fatal: unable to access '': Encountered end of file

puppet-aodh is just the first item in the list of sources that get cloned/synchronized, the others (around ~200) also don't work. I have not made any functional changes to the project.

Running the faulty command by hand nets the exact same result:

git clone

Cloning into 'puppet-aodh'...
fatal: unable to access '': Encountered end of file

The url format is dictated by the rdoinfo package [2] that gets downloaded since no info_repo is supplied, and is identical to the url given in (for example) the pupped-aodh repository [3]. Note, that the alternatively offered ssh-based git link does download the source correctly:

git clone ssh://<username>

Cloning into 'puppet-aodh'...
remote: Counting objects: 507, done
remote: Finding sources: 100% (507/507)
remote: Total 507 (delta 295), reused 507 (delta 295)
Receiving objects: 100% (507/507), 91.21 KiB | 0 bytes/s, done.
Resolving deltas: 100% (295/295), done.
Checking connectivity... done.

While I could hack around the problem using this approach, I would prefer not to.

After trying to fix the problem by hand for a while, I wiped the VM I ran delorean in and rebuild it from scratch. Sure enough, the error persisted. This struck me as really strange -- there obviously is no format error in the url, and I am fairly certain that the setup ... (more)

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by rbowen
close date 2016-08-18 13:59:25.475055


You were right, I can't tell which resource it was (it wasn't libc), but updating the system solved the issue. Thank you!

arecknag gravatar imagearecknag ( 2016-07-14 08:42:06 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-07-14 07:40:11 -0600

Alan Pevec gravatar image

updated 2016-07-14 07:42:27 -0600

http is 302 redirected to https, and then the git clone may fail if the system is not up to date (e.g. old libc)

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-04-27 10:17:47 -0600

Seen: 345 times

Last updated: Apr 27 '16