Bug 23980 - MGA7-B1 CI : No connection to mirrorlist
Summary: MGA7-B1 CI : No connection to mirrorlist
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Martin Whitaker
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-09 16:46 CET by psyca
Modified: 2019-02-23 19:00 CET (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
report.bug.xz (41.07 KB, application/x-xz)
2018-12-09 19:04 CET, psyca
Details

Description psyca 2018-12-09 16:46:52 CET
Description of problem:
With the classical installer (x86 and x86_64).

Tested:
* Select language
* Make (new) install
* Choose drive (here empty/format)

Then you get asked if you want to add online media.
If you press Yes, then it installs the needed pakages for the connection.
After that you can setup your connection (i choose network (via cable).
It shows after that, that connection was established (ok) and i select HTTP.
Now it tries to load the Mageia Mirrorlist. After some seconds it shows an error, that the installer was not able to connect to the Mageia Webpage to load the mirrorlist.
psyca 2018-12-09 16:47:10 CET

Component: RPM Packages => Installer

Comment 1 Manuel Hiebel 2018-12-09 18:52:08 CET
Thanks for the bug report.
Could you provide the file /root/drakx/report.bug.xz as an attachment ?
If you don't have the file, you can switch to console 2 (by pressing 'Ctrl-Alt-F2') during installation, put a floppy in floppy drive or plug a USB key/stick and type: 'bug' then press Enter. It will put report.bug on the floppy/key.

Keywords: (none) => NEEDINFO

Comment 2 psyca 2018-12-09 19:04:41 CET
Created attachment 10540 [details]
report.bug.xz

Add the report.bug file
Comment 3 psyca 2018-12-09 19:20:01 CET
If i switch to Ctrl-Alt-F1 there is (but maybe

GLib-CRITICAL **: Source ID 6330 was not found when attempting to remove it at /usr/lib/libDrakX/interactive/gtk.pm line 924
GLib-CRITICAL **: Source ID 7461 was not found when attempting to remove it at /usr/lib/libDrakX/interactive/gtk.pm line 924
Comment 4 Manuel Hiebel 2018-12-09 19:34:48 CET
Thanks

The api url doesn't exist  :
* trying mirror list from http://mirrors.mageia.org/api/classic.7-beta1.i586.list?product=Installer

in mga6 it was 
http://mirrors.mageia.org/api/Basic.6.i586.list?product=Free

regarding code it looks in the product_id http://gitweb.mageia.org/software/drakx/tree/perl-install/mirror.pm#n119

the product_id in the iso looks wrong (if it use this one):
vendor=Mageia,distribution=Mageia,type=classic,version=7-beta1,branch=Devel,release=1,arch=i586,product=Installer

Assignee: bugsquad => isobuild
Keywords: NEEDINFO => (none)

Comment 5 Manuel Hiebel 2018-12-09 19:40:10 CET
stage1 also use http://mirrors.mageia.org/api/Basic.7.i586.list?product=Free
Comment 6 Thomas Backlund 2018-12-09 19:51:24 CET
Yeah, product.id on mirror should not be rewritten during iso build

on mirrors its correct:
http://mirrors.kernel.org/mageia/distrib/7/x86_64/product.id

So apparently its something that gets changed by drakiso

CC: (none) => mageia, tmb

Comment 7 Martin Whitaker 2018-12-09 19:57:22 CET
Like bcd, drakiso generates the product.id from scratch. Seems I copied something wrong. I hadn't found what the file was used for.
Comment 8 Martin Whitaker 2018-12-09 20:13:30 CET
And indeed, on Mageia 6 CI ISO, product.id contains

vendor=Mageia,distribution=Mageia,type=basic,version=6,branch=Official,release=1.1,arch=x86_64,product=Free

which isn't quite the same as what's on the mirrors

vendor=Mageia.Org,distribution=Mageia,type=Basic,version=6,branch=Official,release=6,arch=x86_64,product=Default

If what's on the mirrors will work, I'll just copy that when building the ISOs.

Assignee: isobuild => mageia
Status: NEW => ASSIGNED

Comment 9 Martin Whitaker 2018-12-09 21:59:51 CET
@tmb, does the branch get changed from Devel to Official before we do the final build, or do we have to fix that up manually?
Comment 10 Thomas Backlund 2018-12-09 22:11:09 CET
(In reply to Martin Whitaker from comment #9)
> @tmb, does the branch get changed from Devel to Official before we do the
> final build, or do we have to fix that up manually?


Yep.

when we decide we are close enough to release,  we switch to official release by flipping "am_i_cauldron" in mageia-release:
http://svnweb.mageia.org/packages/cauldron/mageia-release/current/SPECS/mageia-release.spec?revision=1334776&view=markup

and rebuild the whole drakx-installer-* stack to pick it up...

That gets unpacked on the mirrors too
Comment 11 Martin Whitaker 2018-12-20 15:45:46 CET
Fixed in drakiso >= 1.5. Please retest when beta2 ISOs are built.
papoteur 2019-01-02 13:55:22 CET

CC: (none) => yves.brungard_mageia

Comment 12 Martin Whitaker 2019-02-23 19:00:12 CET
Fixed on the beta2 ISOs.

Resolution: (none) => FIXED
Status: ASSIGNED => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.