Re: [CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5

2018-05-15 Thread Sandro Bonazzola
2018-05-15 15:08 GMT+02:00 Nerijus Baliunas :

> On Tue, 15 May 2018 14:48:13 +0200 Sandro Bonazzola 
> wrote:
>
> > > > Also, can you share your anaconda logs?
> > > > Maybe some package installation order issue prevents /usr/bin/uname
> -m |
> > > > grep -q 'x86_64' to properly execute.
> > >
> > > In packaging.log:
> > > 14:38:25,111 INFO packaging: centos-release-7-5.1804.el7.centos.x86_64
> > > (43/296)
> > > 14:38:25,111 INFO packaging: /var/tmp/rpm-tmp.Zk5yvn: line 1:
> > > /usr/bin/uname: No such file or directory
> >
> > So this is a requirements error in the spec file.
> >
> > centos-release should have:
> >
> > Requires(post): coreutils
>
> rpm -q --requires centos-release
> /bin/sh
> config(centos-release) = 7-5.1804.el7.centos
> coreutils
>
> I assume it is not enough?
>

Correct, that's not enough. It should have:
Requires(post): coreutils




>
> Regards,
> Nerijus
>



-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

sbona...@redhat.com


___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5

2018-05-15 Thread Nerijus Baliunas
On Tue, 15 May 2018 14:48:13 +0200 Sandro Bonazzola  wrote:

> > > Also, can you share your anaconda logs?
> > > Maybe some package installation order issue prevents /usr/bin/uname -m |
> > > grep -q 'x86_64' to properly execute.
> >
> > In packaging.log:
> > 14:38:25,111 INFO packaging: centos-release-7-5.1804.el7.centos.x86_64
> > (43/296)
> > 14:38:25,111 INFO packaging: /var/tmp/rpm-tmp.Zk5yvn: line 1:
> > /usr/bin/uname: No such file or directory
> 
> So this is a requirements error in the spec file.
> 
> centos-release should have:
> 
> Requires(post): coreutils

rpm -q --requires centos-release
/bin/sh
config(centos-release) = 7-5.1804.el7.centos
coreutils

I assume it is not enough?

Regards,
Nerijus
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5

2018-05-15 Thread Sandro Bonazzola
2018-05-15 14:39 GMT+02:00 Nerijus Baliunas :

> On Tue, 15 May 2018 14:18:08 +0200 Sandro Bonazzola 
> wrote:
>
> > >> I have freshly installed CentOS 7.5 on a Dell server, and
> > >> /etc/yum/vars/contentdir
> > >> contains 'altarch' too. CentOS 7.4->7.5 upgraded servers have
> 'centos'.
> > >
> > > I see in %post:
> > > /usr/bin/uname -m | grep -q 'x86_64' && echo 'centos'
> > > >/etc/yum/vars/contentdir || echo 'altarch' > /etc/yum/vars/contentdir
> > >
> > > can you please check
> > >
> > > /usr/bin/uname -m
> > >
> > > on your system?
>
> # /usr/bin/uname -m
> x86_64
>
> > Also, can you share your anaconda logs?
> > Maybe some package installation order issue prevents /usr/bin/uname -m |
> > grep -q 'x86_64' to properly execute.
>
> In packaging.log:
> 14:38:25,111 INFO packaging: centos-release-7-5.1804.el7.centos.x86_64
> (43/296)
> 14:38:25,111 INFO packaging: /var/tmp/rpm-tmp.Zk5yvn: line 1:
> /usr/bin/uname: No such file or directory
>

So this is a requirements error in the spec file.

centos-release should have:

Requires(post): coreutils



>
> Logs are at http://sat.lt/anaconda.tgz
>
> Regards,
> Nerijus
> ___
> CentOS-virt mailing list
> CentOS-virt@centos.org
> https://lists.centos.org/mailman/listinfo/centos-virt
>



-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

sbona...@redhat.com


___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5

2018-05-15 Thread Nerijus Baliunas
On Tue, 15 May 2018 14:18:08 +0200 Sandro Bonazzola  wrote:

> >> I have freshly installed CentOS 7.5 on a Dell server, and
> >> /etc/yum/vars/contentdir
> >> contains 'altarch' too. CentOS 7.4->7.5 upgraded servers have 'centos'.
> >
> > I see in %post:
> > /usr/bin/uname -m | grep -q 'x86_64' && echo 'centos'
> > >/etc/yum/vars/contentdir || echo 'altarch' > /etc/yum/vars/contentdir
> >
> > can you please check
> >
> > /usr/bin/uname -m
> >
> > on your system?

# /usr/bin/uname -m
x86_64

> Also, can you share your anaconda logs?
> Maybe some package installation order issue prevents /usr/bin/uname -m |
> grep -q 'x86_64' to properly execute.

In packaging.log:
14:38:25,111 INFO packaging: centos-release-7-5.1804.el7.centos.x86_64 (43/296)
14:38:25,111 INFO packaging: /var/tmp/rpm-tmp.Zk5yvn: line 1: /usr/bin/uname: 
No such file or directory

Logs are at http://sat.lt/anaconda.tgz

Regards,
Nerijus
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5

2018-05-15 Thread Sandro Bonazzola
2018-05-15 14:16 GMT+02:00 Sandro Bonazzola :

>
>
> 2018-05-15 13:53 GMT+02:00 Nerijus Baliunas  >:
>
>> On Tue, 15 May 2018 14:45:23 +0300 Gena Makhomed  wrote:
>>
>> > >> Something wrong with $contentdir variable,
>> > >> it points to altarch for x86_64 $basearch.
>> > >
>> > > can't reproduce on a fresh x86_64 installation. Adding Brian in case
>> he has
>> > > a clue for this.
>> >
>> > I use fresh installed x86_64 CentOS 7.5 via VNC
>> > with partially filled config anaconda-ks.cfg
>> >
>> > And I can see in /etc/yum/vars/contentdir:
>> >
>> > # cat /etc/yum/vars/contentdir
>> > altarch
>> >
>> > As I understand, on the fresh x86_64 installation
>> > file /etc/yum/vars/contentdir should have centos value.
>> >
>> > P.S.
>> >
>> > I will report this issue to my hoster (hetzner.com)
>> > may be this is hoster issue and not CentOS issue ?
>> >
>> > But I am not sure what this is hoster bug,
>> > it may be CentOS 7.5 anaconda installer bug.
>> >
>> > I delete after installation all anaconda configs and all anaconda
>> > log files, so now I can't debug this issue more deeply, sorry.
>>
>> I have freshly installed CentOS 7.5 on a Dell server, and
>> /etc/yum/vars/contentdir
>> contains 'altarch' too. CentOS 7.4->7.5 upgraded servers have 'centos'.
>>
>
> I see in %post:
> /usr/bin/uname -m | grep -q 'x86_64' && echo 'centos'
> >/etc/yum/vars/contentdir || echo 'altarch' > /etc/yum/vars/contentdir
>
> can you please check
>
> /usr/bin/uname -m
>
> on your system?
>

Also, can you share your anaconda logs?
Maybe some package installation order issue prevents /usr/bin/uname -m |
grep -q 'x86_64' to properly execute.



>
>
>
>
>>
>> Regards,
>> Nerijus
>> ___
>> CentOS-virt mailing list
>> CentOS-virt@centos.org
>> https://lists.centos.org/mailman/listinfo/centos-virt
>>
>
>
>
> --
>
> SANDRO BONAZZOLA
>
> ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R
>
> Red Hat EMEA 
>
> sbona...@redhat.com
> 
> 
>



-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

sbona...@redhat.com


___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5

2018-05-15 Thread Sandro Bonazzola
2018-05-15 13:53 GMT+02:00 Nerijus Baliunas :

> On Tue, 15 May 2018 14:45:23 +0300 Gena Makhomed  wrote:
>
> > >> Something wrong with $contentdir variable,
> > >> it points to altarch for x86_64 $basearch.
> > >
> > > can't reproduce on a fresh x86_64 installation. Adding Brian in case
> he has
> > > a clue for this.
> >
> > I use fresh installed x86_64 CentOS 7.5 via VNC
> > with partially filled config anaconda-ks.cfg
> >
> > And I can see in /etc/yum/vars/contentdir:
> >
> > # cat /etc/yum/vars/contentdir
> > altarch
> >
> > As I understand, on the fresh x86_64 installation
> > file /etc/yum/vars/contentdir should have centos value.
> >
> > P.S.
> >
> > I will report this issue to my hoster (hetzner.com)
> > may be this is hoster issue and not CentOS issue ?
> >
> > But I am not sure what this is hoster bug,
> > it may be CentOS 7.5 anaconda installer bug.
> >
> > I delete after installation all anaconda configs and all anaconda
> > log files, so now I can't debug this issue more deeply, sorry.
>
> I have freshly installed CentOS 7.5 on a Dell server, and
> /etc/yum/vars/contentdir
> contains 'altarch' too. CentOS 7.4->7.5 upgraded servers have 'centos'.
>

I see in %post:
/usr/bin/uname -m | grep -q 'x86_64' && echo 'centos'
>/etc/yum/vars/contentdir || echo 'altarch' > /etc/yum/vars/contentdir

can you please check

/usr/bin/uname -m

on your system?




>
> Regards,
> Nerijus
> ___
> CentOS-virt mailing list
> CentOS-virt@centos.org
> https://lists.centos.org/mailman/listinfo/centos-virt
>



-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

sbona...@redhat.com


___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5

2018-05-15 Thread Nerijus Baliunas
On Tue, 15 May 2018 14:45:23 +0300 Gena Makhomed  wrote:

> >> Something wrong with $contentdir variable,
> >> it points to altarch for x86_64 $basearch.
> > 
> > can't reproduce on a fresh x86_64 installation. Adding Brian in case he has
> > a clue for this.
> 
> I use fresh installed x86_64 CentOS 7.5 via VNC
> with partially filled config anaconda-ks.cfg
> 
> And I can see in /etc/yum/vars/contentdir:
> 
> # cat /etc/yum/vars/contentdir
> altarch
> 
> As I understand, on the fresh x86_64 installation
> file /etc/yum/vars/contentdir should have centos value.
> 
> P.S.
> 
> I will report this issue to my hoster (hetzner.com)
> may be this is hoster issue and not CentOS issue ?
> 
> But I am not sure what this is hoster bug,
> it may be CentOS 7.5 anaconda installer bug.
> 
> I delete after installation all anaconda configs and all anaconda
> log files, so now I can't debug this issue more deeply, sorry.

I have freshly installed CentOS 7.5 on a Dell server, and 
/etc/yum/vars/contentdir
contains 'altarch' too. CentOS 7.4->7.5 upgraded servers have 'centos'.

Regards,
Nerijus
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5

2018-05-15 Thread Gena Makhomed

On 15.05.2018 13:52, Sandro Bonazzola wrote:


failure: repodata/repomd.xml from centos-qemu-ev: [Errno 256] No more

mirrors to try.
http://mirror.centos.org/altarch/7/virt/x86_64/kvm-common/
repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found



Something wrong with $contentdir variable,
it points to altarch for x86_64 $basearch.


can't reproduce on a fresh x86_64 installation. Adding Brian in case he has
a clue for this.


I use fresh installed x86_64 CentOS 7.5 via VNC
with partially filled config anaconda-ks.cfg

And I can see in /etc/yum/vars/contentdir:

# cat /etc/yum/vars/contentdir
altarch

As I understand, on the fresh x86_64 installation
file /etc/yum/vars/contentdir should have centos value.

P.S.

I will report this issue to my hoster (hetzner.com)
may be this is hoster issue and not CentOS issue ?

But I am not sure what this is hoster bug,
it may be CentOS 7.5 anaconda installer bug.

I delete after installation all anaconda configs and all anaconda
log files, so now I can't debug this issue more deeply, sorry.

--
Best regards,
 Gena
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5

2018-05-15 Thread Phill Bandelow
Yep. We are seeing the same thing.

http://mirror.centos.org/altarch/7/virt/x86_64/kvm-
common/repodata/repomd.xml:

[Errno 14] HTTP Error 404 - Not Found

On 15 May 2018 at 11:52, Sandro Bonazzola  wrote:

>
>
> 2018-05-15 12:38 GMT+02:00 Gena Makhomed :
>
>> Hello, Sandro!
>>
>> On 15.05.2018 13:24, Gena Makhomed wrote:
>>
>> failure: repodata/repomd.xml from centos-qemu-ev: [Errno 256] No more
>>> mirrors to try.
>>> http://mirror.centos.org/altarch/7/virt/x86_64/kvm-common/re
>>> podata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
>>>
>>
>> I found workaround:
>>
>> # diff -u CentOS-QEMU-EV.repo.old CentOS-QEMU-EV.repo
>> --- CentOS-QEMU-EV.repo.old 2018-05-15 13:30:27.500156416 +0300
>> +++ CentOS-QEMU-EV.repo 2018-05-15 13:30:38.980208715 +0300
>> @@ -5,7 +5,7 @@
>>
>>  [centos-qemu-ev]
>>  name=CentOS-$releasever - QEMU EV
>> -baseurl=http://mirror.centos.org/$contentdir/$releasever/vi
>> rt/$basearch/kvm-common/
>> +baseurl=http://mirror.centos.org/centos/$releasever/virt/$b
>> asearch/kvm-common/
>>  gpgcheck=1
>>  enabled=1
>>  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization
>>
>> 
>> =
>>
>> now all works fine.
>>
>> But as I understand, this is bug and it should be fixed.
>>
>> Something wrong with $contentdir variable,
>> it points to altarch for x86_64 $basearch.
>
>
>
> can't reproduce on a fresh x86_64 installation. Adding Brian in case he
> has a clue for this.
>
>
>
>
>
>>
>>
>> --
>> Best regards,
>>  Gena
>> ___
>> CentOS-virt mailing list
>> CentOS-virt@centos.org
>> https://lists.centos.org/mailman/listinfo/centos-virt
>>
>
>
>
> --
>
> SANDRO BONAZZOLA
>
> ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R
>
> Red Hat EMEA 
>
> sbona...@redhat.com
> 
> 
>
> ___
> CentOS-virt mailing list
> CentOS-virt@centos.org
> https://lists.centos.org/mailman/listinfo/centos-virt
>
>


-- 
Regards,
Phill Bandelow
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5

2018-05-15 Thread Sandro Bonazzola
2018-05-15 12:38 GMT+02:00 Gena Makhomed :

> Hello, Sandro!
>
> On 15.05.2018 13:24, Gena Makhomed wrote:
>
> failure: repodata/repomd.xml from centos-qemu-ev: [Errno 256] No more
>> mirrors to try.
>> http://mirror.centos.org/altarch/7/virt/x86_64/kvm-common/
>> repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
>>
>
> I found workaround:
>
> # diff -u CentOS-QEMU-EV.repo.old CentOS-QEMU-EV.repo
> --- CentOS-QEMU-EV.repo.old 2018-05-15 13:30:27.500156416 +0300
> +++ CentOS-QEMU-EV.repo 2018-05-15 13:30:38.980208715 +0300
> @@ -5,7 +5,7 @@
>
>  [centos-qemu-ev]
>  name=CentOS-$releasever - QEMU EV
> -baseurl=http://mirror.centos.org/$contentdir/$releasever/vi
> rt/$basearch/kvm-common/
> +baseurl=http://mirror.centos.org/centos/$releasever/virt/$b
> asearch/kvm-common/
>  gpgcheck=1
>  enabled=1
>  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization
>
> 
> =
>
> now all works fine.
>
> But as I understand, this is bug and it should be fixed.
>
> Something wrong with $contentdir variable,
> it points to altarch for x86_64 $basearch.



can't reproduce on a fresh x86_64 installation. Adding Brian in case he has
a clue for this.





>
>
> --
> Best regards,
>  Gena
> ___
> CentOS-virt mailing list
> CentOS-virt@centos.org
> https://lists.centos.org/mailman/listinfo/centos-virt
>



-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

sbona...@redhat.com


___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] centos-qemu-ev repository not work for x86_64 arch on CentOS 7.5

2018-05-15 Thread Gena Makhomed

Hello, Sandro!

On 15.05.2018 13:24, Gena Makhomed wrote:

failure: repodata/repomd.xml from centos-qemu-ev: [Errno 256] No more 
mirrors to try.
http://mirror.centos.org/altarch/7/virt/x86_64/kvm-common/repodata/repomd.xml: 
[Errno 14] HTTP Error 404 - Not Found


I found workaround:

# diff -u CentOS-QEMU-EV.repo.old CentOS-QEMU-EV.repo
--- CentOS-QEMU-EV.repo.old 2018-05-15 13:30:27.500156416 +0300
+++ CentOS-QEMU-EV.repo 2018-05-15 13:30:38.980208715 +0300
@@ -5,7 +5,7 @@

 [centos-qemu-ev]
 name=CentOS-$releasever - QEMU EV
-baseurl=http://mirror.centos.org/$contentdir/$releasever/virt/$basearch/kvm-common/
+baseurl=http://mirror.centos.org/centos/$releasever/virt/$basearch/kvm-common/
 gpgcheck=1
 enabled=1
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization

=

now all works fine.

But as I understand, this is bug and it should be fixed.

Something wrong with $contentdir variable,
it points to altarch for x86_64 $basearch.

--
Best regards,
 Gena
___
CentOS-virt mailing list
CentOS-virt@centos.org
https://lists.centos.org/mailman/listinfo/centos-virt