iso_static_validation.py uses wrong URL from stable releases (excepted Precise)

Bug #1343881 reported by Jean-Baptiste Lallement
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UTAH
Fix Released
Critical
Para Siva

Bug Description

For stable releases (excepted Precise which is special cased in the code) UTAH uses the wrong URL to cdimage

It uses:
http://cdimage.ubuntu.com/(daily-live|daily|dvd)/

While is should be http://cdimage.ubuntu.com/$RELEASE/(daily-live|daily|dvd)/ if RELEASE != development release with $RELEASE = '' for the dev release.

Related branches

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Code that must be fixed in iso_static_validation.py

166 if self.st_release != 'precise':
167 self.url = DEFAULT_URL
168 else:
169 self.url = os.path.join(DEFAULT_URL, 'precise')
170
171 if self.st_variant == 'desktop':
172 self.url = os.path.join(self.url, 'daily-live')
173 elif self.st_variant == 'dvd':
174 self.url = os.path.join(self.url, 'dvd')
175 elif self.st_variant == 'alternate':
176 self.url = os.path.join(self.url, 'daily')
177 elif self.st_variant == 'server':
178 if self.st_release == 'precise':
179 self.url = os.path.join(DEFAULT_URL, 'ubuntu-server',
180 'precise', 'daily')
181 else: # current dev release
182 self.url = os.path.join(DEFAULT_URL, 'ubuntu-server', 'daily')
183 else:
184 self.fail("Image name be in the form of release-variant-arch.iso")

Changed in utah:
importance: Undecided → Critical
status: New → Confirmed
Para Siva (psivaa)
Changed in utah:
assignee: nobody → Parameswaran Sivatharman (psivaa)
status: Confirmed → In Progress
Revision history for this message
Para Siva (psivaa) wrote :

The fix for this landed in rev 1056

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