Gerrit fails to receive tree object from puppetlabs-apt repo - need manual push to backend store

Bug #1479017 reported by Yuriy Taraday
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Igor Shishkin

Bug Description

While setting up synchronization of puppetlabs-apt repo [0] we ran into issue [1]:

    #puppetlabs-apt! error: unpack failed: error Invalid tree 36264c41f5: mode starts with '0'

(full log of git push is at [2]).

So we need someone to implement a workaround described in comments to bug [1]: push master from repo [0] directly to backend store of our Gerrit instance (one behind review.fuel-infra.org) to project puppet-modules/puppetlabs-apt.

[0] https://github.com/puppetlabs/puppetlabs-apt
[1] http://code.google.com/p/gerrit/issues/detail?id=944
[2] http://paste.openstack.org/show/9swXtDKLCt9OdyjUYYkD/

Tags: devops
Andrey Nikitin (heos)
Changed in fuel:
importance: Undecided → Medium
assignee: nobody → Andrey Nikitin (heos)
description: updated
Andrey Nikitin (heos)
Changed in fuel:
status: New → Triaged
tags: added: devops
Andrey Nikitin (heos)
Changed in fuel:
milestone: none → 7.0
Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

This bug blocks merge of the following commit:
https://review.openstack.org/203389

Since it blocks development process I'm upgrading this bug to Critical.

Changed in fuel:
importance: Medium → Critical
Revision history for this message
Andrey Nikitin (heos) wrote :

To solve the bug we should stop our Fuel Gerrit and add that project manually to the git-storage of the gerrit.

It needs downtime of Fuel Gerrit for 30 minutes.

Workaround from [1] tested on the testing. It works.

Revision history for this message
Yuriy Taraday (yorik-sar) wrote :

Did you check if downtime is required for this? It seems it shouldn't be.

Andrey Nikitin (heos)
Changed in fuel:
status: Triaged → In Progress
Revision history for this message
Igor Shishkin (teran) wrote :

Done.

Please feel free to use.

Changed in fuel:
status: In Progress → Fix Released
assignee: Andrey Nikitin (heos) → Igor Shishkin (teran)
Revision history for this message
Alex Schultz (alex-schultz) wrote :
Changed in fuel:
status: Fix Released → Confirmed
Revision history for this message
Igor Shishkin (teran) wrote :

@Andrey, please take a look.

Priority decreased due to main issue is fixed.

Changed in fuel:
assignee: Igor Shishkin (teran) → Andrey Nikitin (heos)
importance: Critical → High
assignee: Andrey Nikitin (heos) → Igor Shishkin (teran)
Revision history for this message
Igor Shishkin (teran) wrote :

Should work now. @Alex, please check.

Changed in fuel:
status: Confirmed → Fix Committed
Revision history for this message
Andrey Nikitin (heos) wrote :

The repository is opened to public access, as you can see in the output:

heos$ git clone https://review.fuel-infra.org/puppet-modules/puppetlabs-apt
Cloning into 'puppetlabs-apt'...
remote: Counting objects: 4164, done
remote: Finding sources: 100% (4164/4164)
remote: Total 4164 (delta 2319), reused 4164 (delta 2319)
Receiving objects: 100% (4164/4164), 930.15 KiB | 325.00 KiB/s, done.
Resolving deltas: 100% (2319/2319), done.
Checking connectivity... done.

As I can see in the logs of the failed job, you have error with Username, could you check it?

Cloning into 'apt'...
fatal: could not read Username for 'https://review.fuel-infra.org': No such device or address

Revision history for this message
Alex Schultz (alex-schultz) wrote :

Yes, that fixed it.

https://ci.fuel-infra.org/job/fuellib_noop_tests/3725/

Andrey, it was complaining about a username because the repo was private.

Igor Shishkin (teran)
Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.