specifying a symlink for the preseed does not work

Bug #1089584 reported by Paul Larson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UTAH
Fix Released
High
Max Brustkern

Bug Description

In this job log: http://10.98.0.1:8080/view/Raring/view/Smoke%20Testing/job/raring-server-i386-smoke-floodlight/27/console

We see that the job specifies a bzr path to the location of the preseed. The file in bzr at that location is a symlink, and utah doesn't seem to be able to dereference it.

Here's the failing section and errors:
+ sudo -u utah -i run_utah_tests.py -p lp:~ubuntu-server-dev/utah/server-tests-quantal/preseeds/floodlight.preseed -i /var/cache/utah/iso/raring-server-i386.iso lp:~ubuntu-server-dev/utah/server-tests-quantal/runlists/floodlight.run -x /etc/utah/bridged-network-vm.xml
usage: run_utah_tests.py [-h] [-m MACHINETYPE] [-e EMULATOR] [-i IMAGE]
                         [-k KERNEL] [-r INITRD] [-p PRESEED] [-b BOOT]
                         [-x XML] [-g GIGABYTES] [-s SERIES] [-t TYPE]
                         [-a ARCH] [-v VARIANT] [-n] [-d] [-j] [-f FILES]
                         [-o OUTDIR] [--diskbus DISKBUS] [--name NAME]
                         [--rewrite {all,minimal,casperonly,none}]
                         [--dumplogs]
                         runlist [runlist ...]
run_utah_tests.py: error: argument -p/--preseed: URL doesn't point to a file in a bazaar branch: lp:~ubuntu-server-dev/utah/server-tests-quantal/preseeds/floodlight.preseed
+ RETCODE=2

Related branches

Revision history for this message
Max Brustkern (nuclearbob) wrote :

Our bzr url support currently fails on symlinks. I'll work on a fix.

Changed in utah:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Max Brustkern (nuclearbob)
Revision history for this message
Max Brustkern (nuclearbob) wrote :

I've tested a fix that we can work on getting into a new package. As a further note, floodlight.preseed is currently symlinked to default.preseed. If floodlight.pressed does not exist, but default.preseed does, we'll use default.preseed, so in the future, you can just leave out preseeds that are the same as the default one.

Changed in utah:
status: In Progress → Fix Committed
Changed in utah:
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.