ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Rosavitskiy Valintin <valintinr@tangramltd.com>
To: ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Незапускается libvirtd
Date: Thu, 14 May 2015 11:57:39 +0300
Message-ID: <55546383.3060500@tangramltd.com> (raw)
In-Reply-To: <20150514082431.GA21529@lks.home>

On 14.05.2015 11:24, Konstantin Lepikhov wrote:
> Hi!
>
> On 05/14/15, at 01:30:21 PM you wrote:
>
>> Привет всем!
>> Система установлена из стартер китс
>> # uname -r
>> 2.6.32-ovz-el-alt130
>> Система обновлена до t7
>>
> Не уверен, что kvm вообще работает в OpenVZ ядрах. Расскажите, зачем вам
> такая конфигурация?
>
KVM прерасно работает в OpenVZ ядрах. У нас практически все хардноды с 
такой конфигурацией (KVM + OpenVZ), t7 или p7.

Одна из них

[root@ua120 valintinr]# lsmod | grep kvm
kvm_intel              54426  9
kvm                   322687  1 kvm_intel
[root@ua120 valintinr]#

[root@ua120 valintinr]# service libvirtd status
libvirtd is running
[root@ua120 valintinr]#

[root@ua120 syslog]# service vz status
OpenVZ is running.
[root@ua120 syslog]#

[root@ua120 syslog]# vzlist -a
       CTID      NPROC STATUS    IP_ADDR         HOSTNAME
       1002      34         running   *                      ns3.*

[root@ua120 syslog]# virsh list --all
  ID    Имя                         Статус
----------------------------------------------------
  7     test_windows                   работает


[root@ua120 valintinr]# rpm -qa | grep libvirt
python-module-libvirt-1.0.4-alt2
libvirt-daemon-driver-network-1.0.4-alt2
libvirt-daemon-driver-nodedev-1.0.4-alt2
libvirt-daemon-config-nwfilter-1.0.4-alt2
libvirt-client-1.0.4-alt2
libvirt-daemon-1.0.4-alt2
libvirt-daemon-driver-storage-1.0.4-alt2
libvirt-daemon-driver-qemu-1.0.4-alt2
libvirt-daemon-driver-secret-1.0.4-alt2
libvirt-daemon-driver-nwfilter-1.0.4-alt2
libvirt-qemu-common-1.0.4-alt2
libvirt-daemon-config-network-1.0.4-alt2
libvirt-1.0.4-alt2
[root@ua120 valintinr]#

[root@ua120 valintinr]# rpm -qa | grep vz
vzquota-3.1-alt1
vzvalidate-0.1-alt1
vzdump-1.0-alt2.1
kernel-headers-modules-ovz-el-2.6.32-alt118
kernel-image-ovz-el-2.6.32-alt108
vzctl-4.1.2-alt1
kernel-modules-kvm-ovz-el-2.6.32-alt108
[root@ua120 valintinr]#

[root@ua120 syslog]# rpm -qa | grep kvm
kernel-modules-kvm-ovz-el-2.6.32-alt108
[root@ua120 syslog]#

В логах тоже самое при старте (другая харднода)

Apr 16 18:15:11 ua98 libvirtd: libvirtd startup succeeded
Apr 16 18:15:11 ua98 kernel: [   63.045872] virbr0: starting userspace 
STP failed, starting kernel STP
Apr 16 18:15:12 ua98 kernel: [   64.662656] device vnet0 entered 
promiscuous mode
Apr 16 18:15:12 ua98 kernel: [   64.663602] breth0: port 2(vnet0) 
entering learning state
Apr 16 18:15:13 ua98 kernel: [   65.441485] device vnet1 entered 
promiscuous mode
Apr 16 18:15:13 ua98 kernel: [   65.442407] breth0: port 3(vnet1) 
entering learning state

-- 
С уважением,
Валентин Росавицкий



  reply	other threads:[~2015-05-14  8:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-14  7:30 Васюк Максим Анатольевич
2015-05-14  8:24 ` Konstantin Lepikhov
2015-05-14  8:57   ` Rosavitskiy Valintin [this message]
2015-05-14 10:03     ` Viacheslav Dubrovskyi
2015-05-14 10:11     ` Anton Gorlov
2015-05-14 10:40       ` Rosavitskiy Valintin
2015-05-14 10:51     ` Konstantin Lepikhov
2015-05-14 11:19       ` Rosavitskiy Valintin
2015-06-01  5:52     ` Васюк Максим Анатольевич

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55546383.3060500@tangramltd.com \
    --to=valintinr@tangramltd.com \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git