Branches stacked on another project report errors

Bug #484197 reported by Gediminas Paulauskas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Unassigned

Bug Description

There is a regression in bzr running on Launchpad since a few days ago.

$ bzr push lp:~aelkner/schooltool.intervention/november_fixes
Using default stacking branch /~schooltool-owners/schooltool.intervention/trunk at lp-46125520:///~aelkner/schooltool.intervention
bzr: ERROR: Server sent an unexpected error: ('error', "An attempt to access a url outside the server jail was made: 'bzr+ssh://bazaar.launchpad.net/~schooltool-owners/schooltool/trunk/'.")

The branch was setup at the start of October so that lp:schooltool.intervention would be stacked on lp:schooltool (they share most of the history):

$ bzr push --stacked-on=bzr+ssh://bazaar.launchpad.net/~schooltool-owners/schooltool/trunk lp:~schooltool-owners/schooltool.intervention/trunk

It was working before, but broke recently. I have now unstacked lp:schooltool.intervention and we can push again.

Some OOPSes with similar error messages:
OOPS-9d0d98451de936c6963aabb1a52ae390
OOPS-d094df44d049f91806ceee6c21890139

Revision history for this message
Gediminas Paulauskas (menesis) wrote :

It is probably related to Bug #348308, but while it fixed bzr+http with shared repos, now we get the same error using bzr+ssh with stacked branches..

tags: added: launchpad stacking
Revision history for this message
Andrew Bennetts (spiv) wrote :

This appears to be a bug in Launchpad's code host, rather than bzr itself, so reassigning.

affects: bzr → launchpad-code
Revision history for this message
Andrew Bennetts (spiv) wrote :

Hmm. I think what is required is for the stacked-on branch to be a relative path of /~schooltool-owners/schooltool/, rather than a full URL. Otherwise you're expecting the server to be able to connect to bzr+ssh://bazaar.launchpad.net/... itself, which is wrong. Ideally bzr would make this Just Work, though.

Revision history for this message
Andrew Bennetts (spiv) wrote :

I meant "... a relative path of /~schooltool-owners/schooltool/trunk/", obviously.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Adding to the confusion, people who could not write to lp:~schooltool-owners/schooltool.intervention/trunk probably could push new schooltool.intervention branches fine, because in the mirrored area the stacked_on_url would have been relativized by the puller.

I guess the puller should just get over itself and modify the path in the hosted area too.

Tim Penhey (thumper)
Changed in launchpad-code:
status: New → Triaged
importance: Undecided → Low
tags: added: branch-puller
tags: added: branch-stacking
removed: launchpad stacking
description: updated
tags: added: oops
Changed in launchpad:
importance: Low → Critical
William Grant (wgrant)
Changed in launchpad:
status: Triaged → 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.