Failing reposync for OST

Yaniv Kaul ykaul at redhat.com
Thu May 3 20:19:51 UTC 2018


Issue solved:

[ykaul at ykaul ovirt-system-tests]$ git diff
diff --git a/common/deploy-scripts/add_local_repo.sh
b/common/deploy-scripts/add_local_repo.sh
index 251fcaf..78f2eec 100644
--- a/common/deploy-scripts/add_local_repo.sh
+++ b/common/deploy-scripts/add_local_repo.sh
@@ -5,7 +5,7 @@ ADDR=$(ip -4 addr show scope global up |grep -m1 inet | awk
'{split($4,a,"."); p
 cat > /etc/yum.repos.d/local-ovirt.repo <<EOF
 [alocalsync]
 name=Latest oVirt nightly
-baseurl=http://$ADDR:8585/$DIST/
+baseurl=http://$ADDR:8585/default/$DIST/
 enabled=1
 skip_if_unavailable=1
 gpgcheck=0
diff --git a/common/deploy-scripts/add_local_repo_no_ext_access.sh
b/common/deploy-scripts/add_local_repo_no_ext_access.sh
index aa40797..984b7f1 100644
--- a/common/deploy-scripts/add_local_repo_no_ext_access.sh
+++ b/common/deploy-scripts/add_local_repo_no_ext_access.sh
@@ -5,7 +5,7 @@ ADDR=$(ip -4 addr show scope global up |grep -m1 inet | awk
'{split($4,a,"."); p
 cat > /etc/yum.repos.d/local-ovirt.repo <<EOF
 [alocalsync]
 name=Latest oVirt nightly
-baseurl=http://$ADDR:8585/$DIST/
+baseurl=http://$ADDR:8585/default/$DIST/
 enabled=1
 skip_if_unavailable=1
 gpgcheck=0



Gail - can you check if it's due to:
commit 1dd1f3c238806cf0195868a16e753677abc57f30
Author: gbenhaim <galbh2 at gmail.com>
Date:   Tue Apr 10 15:18:16 2018 +0300

    reposetup: Allow to create multiple internal repos

    This change introduce a new flag (--repo-name) to the reposetup command.
    The flag indicates the name of the internal repo to create.
    Multiple internal repos can be created, all of them will be available
    with "lago ovirt serve".

    The following illustrates the directory structure of multiple internal
    repos:

    .lago/default/internal_repo/
    ├── default
    │   └── el7
    │       └── repodata
    └── my-custom-repo
        └── el7
            └── repodata

    Signed-off-by: gbenhaim <galbh2 at gmail.com>



On Thu, May 3, 2018 at 9:41 PM, Yaniv Kaul <ykaul at redhat.com> wrote:

> I've been failing to sync oVirt stuff running oVirt today.
> Specifically, the ovirt-appliance-master-el7, though others have failed to.
> On another laptop (from the same network though), I'm failing later, when
> trying to install 'yum-utils':
> + yum install '--disablerepo=*' --enablerepo=alocalsync -y yum-utils
> http://192.168.204.1:8585/el7/repodata/repomd.xml: [Errno 14] HTTP Error
> 404 - Not Found
> Trying other mirror.
> To address this issue please refer to the below wiki article
>
> https://wiki.centos.org/yum-errors
>
> If above article doesn't help to resolve this issue please use
> https://bugs.centos.org/.
>
> Error: Nothing to do
>
>
> Any ideas?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20180503/203437e0/attachment.html>


More information about the Infra mailing list