Comment 2 for bug 1596981

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/335094
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=ab98c79af06e483952e9d4dbc38f51972fc5bf66
Submitter: Jenkins
Branch: master

commit ab98c79af06e483952e9d4dbc38f51972fc5bf66
Author: Alexandru Avadanii <email address hidden>
Date: Tue Jun 28 17:32:03 2016 +0200

    bootstrap_admin_node: Fix connectivity check.

    After Fuel Master builds the bootstrap image at first boot,
    internet connectivity is tested using the URL for the CentOS
    updates repository.

    bootstrap_admin_node.sh script parses the output of `yum repolist`,
    looking for entries like 'Repo-baseurl: http://...'.

    However, in Fuel 9.0, <updates> points to a mirrorlist file (a text
    file containing a list of possible mirror URLs) instead of being
    a single, direct link to the repository.

    For now, we only test that we can access the mirrorlist file,
    while the check should be performed against the mirror(s).

    Old (Fuel 8) repo entry format:
    Repo-baseurl: http://mirror.fuel-infra.org/.../updates/x86_64/

    New (Fuel 9) mirrorlist format:
    Repo-mirrors: http://mirror.fuel-infra.org/.../mos-mirrors-updates.txt

    Closes-Bug: #1596981

    Change-Id: I21268dd8aa8cd633f09f921b4a9e1c057a4b8ed3
    Signed-off-by: Alexandru Avadanii <email address hidden>