Re: [ovirt-users] yum update command is failed

2014-12-09 Thread Dan Kenigsberg
On Tue, Dec 09, 2014 at 05:06:54PM +0100, Sven Kieske wrote:
> On 09/12/14 14:30, Ilan Hirsfeld wrote:
> > [root@localhost Desktop]# yum update
> > Loaded plugins: fastestmirror, langpacks
> > Could not retrieve mirrorlist
> > http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os error was
> > 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
> 
> This is a network connectivity error, or a yum problem.

Yeah, "Could not resolve host: mirrorlist.centos.org" suggests that
there's no DNS (and no networking at all) inside your VM.

I'm no expert in vmplayer, but have you defined a VM with networking
there?

What is the output of `ifconfig -a` within your VM?

Does a simple `ping 8.8.8.8` work?

Dan.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] yum update command is failed

2014-12-09 Thread Sven Kieske
On 09/12/14 14:30, Ilan Hirsfeld wrote:
> [root@localhost Desktop]# yum update
> Loaded plugins: fastestmirror, langpacks
> Could not retrieve mirrorlist
> http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os error was
> 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"

This is a network connectivity error, or a yum problem.

Please make sure your network works (you can access the internet).
This error has nothing to do with ovirt.

Furthermore, why do you want to install vdsm inside a vm?
For most purposes it won't work anyway or you get bad performance
because nested virtualization (virtualization in virtualization)
is very slow.

It is just sufficient for demo purposes (in this case you
would want ovirt all in one installation).

HTH

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] yum update command is failed

2014-12-09 Thread Ilan Hirsfeld
Hi,

I forgot to indicate I would like to install oVrit Vdsm but I can't do it
because the problems have been reported in previous mail.

Regards,
Ilan.

On Tue, Dec 9, 2014 at 3:30 PM, Ilan Hirsfeld 
wrote:

> Hi,
>
> My name's Ilan and I'm a new user.
> I installed CentOS 7 64 bit with VMware Player as guest and try 'yum
> update' to get newest application and get error as mentioned below. It
> seem me the installation determines the IP address as loopback and I don't
> know how enable it as real/virtual.
> I copy & paste the findings from Linux and Windows.
> Any help will be blessed.
>
> Regards,
> Ilan.
>
> [root@localhost Desktop]# yum update
> Loaded plugins: fastestmirror, langpacks
> Could not retrieve mirrorlist
> http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os error was
> 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown
> error"
>
>  One of the configured repositories failed (Unknown),
>  and yum doesn't have enough cached data to continue. At this point the
> only
>  safe thing yum can do is fail. There are a few ways to work "fix" this:
>
>
>
>  1. Contact the upstream for the repository and get them to fix the
> problem.
>
>  2. Reconfigure the baseurl/etc. for the repository, to point to a
> working
> upstream. This is most often useful if you are using a newer
> distribution release than is supported by the repository (and the
> packages for the previous distribution release still work).
>
>  3. Disable the repository, so yum won't use it by default. Yum will
> then
> just ignore the repository until you permanently enable it again
> or use
> --enablerepo for temporary usage:
>
> yum-config-manager --disable 
>
>  4. Configure the failing repository to be skipped, if it is
> unavailable.
> Note that yum will try to contact the repo. when it runs most
> commands,
> so will have to try and fail each time (and thus. yum will be be
> much
> slower). If it is a very temporary problem though, this is often a
> nice
> compromise:
>
> yum-config-manager --save
> --setopt=.skip_if_unavailable=true
> Cannot find a valid baseurl for repo: base/7/x86_64
>
>
> [root@localhost Desktop]# exit
> exit
>
> [bih016@localhost Desktop]$ ping google.com
> ping: unknown host google.com
>
>
> [bih016@localhost Desktop]$ ifconfig -a
> eno1636: flags=4163  mtu 1500
> ether 00:0c:29:d9:2b:57  txqueuelen 1000  (Ethernet)
> RX packets 18  bytes 1080 (1.0 KiB)
> RX errors 0  dropped 0  overruns 0  frame 0
> TX packets 0  bytes 0 (0.0 B)
> TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> lo: flags=73  mtu 65536
> inet 127.0.0.1  netmask 255.0.0.0
> inet6 ::1  prefixlen 128  scopeid 0x10
> loop  txqueuelen 0  (Local Loopback)
> RX packets 386  bytes 33548 (32.7 KiB)
> RX errors 0  dropped 0  overruns 0  frame 0
> TX packets 386  bytes 33548 (32.7 KiB)
> TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>
>
> [bih016@localhost Desktop]$ netstat -rn
> Kernel IP routing table
> Destination Gateway Genmask Flags   MSS Window  irtt
> Iface
>
>  cat  /etc/sysconfig/network-scripts/ifcfg-lo
> DEVICE=lo
> IPADDR=127.0.0.1
> NETMASK=255.0.0.0
> NETWORK=127.0.0.0
> # If you're having problems with gated making 127.0.0.0/8 a martian,
> # you can change this to something else (255.255.255.255, for example)
> BROADCAST=127.255.255.255
> ONBOOT=yes
> NAME=loopback
>
>
> route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric RefUse
> Iface
>
>
> cat /etc/*-release
> CentOS Linux release 7.0.1406 (Core)
> NAME="CentOS Linux"
> VERSION="7 (Core)"
> ID="centos"
> ID_LIKE="rhel fedora"
> VERSION_ID="7"
> PRETTY_NAME="CentOS Linux 7 (Core)"
> ANSI_COLOR="0;31"
> CPE_NAME="cpe:/o:centos:centos:7"
> HOME_URL="https://www.centos.org/";
> BUG_REPORT_URL="https://bugs.centos.org/";
> CentOS Linux release 7.0.1406 (Core)
> CentOS Linux release 7.0.1406 (Core)
>
>
> uname -a
> Linux localhost.localdomain 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30
> 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>
>
> cat /proc/version
> Linux version 3.10.0-123.el7.x86_64 (buil...@kbuilder.dev.centos.org)
> (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Mon Jun 30
> 12:09:22 UTC 2014
>
>
> C:\Users\PC User>ipconfig /all
> Windows IP Configuration
>Host Name . . . . . . . . . . . . : PCUser-PC
>Primary Dns Suffix  . . . . . . . :
>Node Type . . . . . . . . . . . . : Hybrid
>IP Routing Enabled. . . . . . . . : No
>WINS Proxy Enabled. . . . . . . . : No
>DNS Suffix Search List. . . . . . : localdomain
>
> Ethernet adapter Local Area Connection:
>Connection-specific DNS Suffix  . :
>Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
>Physical Address. . . . . . . . . : EC-A8

[ovirt-users] yum update command is failed

2014-12-09 Thread Ilan Hirsfeld
Hi,

My name's Ilan and I'm a new user.
I installed CentOS 7 64 bit with VMware Player as guest and try 'yum
update' to get newest application and get error as mentioned below. It seem
me the installation determines the IP address as loopback and I don't know
how enable it as real/virtual.
I copy & paste the findings from Linux and Windows.
Any help will be blessed.

Regards,
Ilan.

[root@localhost Desktop]# yum update
Loaded plugins: fastestmirror, langpacks
Could not retrieve mirrorlist
http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"

 One of the configured repositories failed (Unknown),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:



 1. Contact the upstream for the repository and get them to fix the
problem.

 2. Reconfigure the baseurl/etc. for the repository, to point to a
working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).

 3. Disable the repository, so yum won't use it by default. Yum will
then
just ignore the repository until you permanently enable it again or
use
--enablerepo for temporary usage:

yum-config-manager --disable 

 4. Configure the failing repository to be skipped, if it is
unavailable.
Note that yum will try to contact the repo. when it runs most
commands,
so will have to try and fail each time (and thus. yum will be be
much
slower). If it is a very temporary problem though, this is often a
nice
compromise:

yum-config-manager --save
--setopt=.skip_if_unavailable=true
Cannot find a valid baseurl for repo: base/7/x86_64


[root@localhost Desktop]# exit
exit

[bih016@localhost Desktop]$ ping google.com
ping: unknown host google.com


[bih016@localhost Desktop]$ ifconfig -a
eno1636: flags=4163  mtu 1500
ether 00:0c:29:d9:2b:57  txqueuelen 1000  (Ethernet)
RX packets 18  bytes 1080 (1.0 KiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
lo: flags=73  mtu 65536
inet 127.0.0.1  netmask 255.0.0.0
inet6 ::1  prefixlen 128  scopeid 0x10
loop  txqueuelen 0  (Local Loopback)
RX packets 386  bytes 33548 (32.7 KiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 386  bytes 33548 (32.7 KiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


[bih016@localhost Desktop]$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt
Iface

 cat  /etc/sysconfig/network-scripts/ifcfg-lo
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback


route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface


cat /etc/*-release
CentOS Linux release 7.0.1406 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/";
BUG_REPORT_URL="https://bugs.centos.org/";
CentOS Linux release 7.0.1406 (Core)
CentOS Linux release 7.0.1406 (Core)


uname -a
Linux localhost.localdomain 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30
12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux


cat /proc/version
Linux version 3.10.0-123.el7.x86_64 (buil...@kbuilder.dev.centos.org) (gcc
version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Mon Jun 30
12:09:22 UTC 2014


C:\Users\PC User>ipconfig /all
Windows IP Configuration
   Host Name . . . . . . . . . . . . : PCUser-PC
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : localdomain

Ethernet adapter Local Area Connection:
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
   Physical Address. . . . . . . . . : EC-A8-6B-FA-3D-15
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . :
fe80::91aa:14b3:7d79:9b8b%11(Preferred)
   IPv4 Address. . . . . . . . . . . : 10.0.0.3(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : יום שלישי 09 דצמבר 2014 14:15:01
   Lease Expires . . . . . . . . . . : יום שלישי 09 דצמבר 2014 15:15:01
   Default Gateway . . . . . . . . .