View Issue Details

IDProjectCategoryView StatusLast Update
0007507CentOS-7virt-managerpublic2014-09-19 19:32
Reportercodebauss Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status newResolutionopen 
Platformx86_64OSCentOSOS Version7
Product Version7.0-1406 
Summary0007507: Unable to create VMs
DescriptionUnable to complete install: 'internal error: process exited while connecting to monitor: qemu-kvm: -
chardev pty,id=charserial0: Failed to create chardev
'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 100, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1925, in do_install
    guest.start_install(False, meter=meter)
  File "/usr/share/virt-manager/virtinst/Guest.py", line 1143, in start_install
    noboot)
  File "/usr/share/virt-manager/virtinst/Guest.py", line 1121, in _create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2892, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error: process exited while connecting to monitor: qemu-kvm: -chardev
pty, id=charserial0: Failed to create chardev
Steps To Reproduce[root@lotap ~]# history
    1 ps faux
    2 yum update -y
...
   26 vim /etc/yum.conf
   27 yum install -y http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm
   28 yum install p7zip
...
   30 yum groupinstall "Development Tools"
   31 yum install -y tcpdump nmap-ncat nmap
...
   33 yum install fakeroot
...
   41 yum install git
   42 yum install qemu-kvm qemu-kvm-tools
   43 yum install python-devel
   44 yum install python-imaging
   45 yum install mkisofs
   46 yum install -y genisoimage
   47 yum install -y libvirt bridge-utils
   48 yum grouplist
   49 yum groupinstall "Virtualization" "Virtualization Host" "Virtualization Tools" "Virtualization Platform" "Virtualization Client"
...
   57 yum install libcanberra libcanberra-devel
   58 yum install xorg-x11-xauth
   59 yum install xorg-x11-xauth-devel
   60 yum install xauth
...
   64 yum install setools-console terminus-fonts-console setroubleshoot policycoreutils-python
...
   66 reboot
...
   71 virt-manager
   72 mkdir -p /var/openstack/images
   73 rsync -avz --progress -e 'ssh -p 2222' root@###:/root/98/centos65min.iso /var/openstack/images/
...
[root@lotap ~]#

History #71 forwarded virt-manager x window to local system. From there followed through with simple installation of CentOS 6.5 minimal iso. All default including network.
Additional Information[root@lotap ~]# less /var/log/libvirt/qemu/service.log
2014-08-15 22:15:57.091+0000: starting up
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin QEMU_AUDIO_DRV=spice /usr/libexec/qemu-kvm -name service -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -m 1024 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid fe328b5a-c18c-4b32-b725-090a5d26ebe1 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/service.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-reboot -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/libvirt/images/service.img,if=none,id=drive-virtio-disk0,format=raw,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=2 -drive file=/var/openstack/images/centos65min.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 -netdev tap,fd=23,id=hostnet0,vhost=on,vhostfd=24 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:9b:55:cc,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -device usb-tablet,id=input0 -spice port=5900,addr=127.0.0.1,disable-ticketing,seamless-migration=on -vga qxl -global qxl-vga.ram_size=67108864 -global qxl-vga.vram_size=67108864 -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6
qemu-kvm: -chardev pty,id=charserial0: Failed to create chardev
2014-08-15 22:15:57.341+0000: shutting down
/var/log/libvirt/qemu/service.log (END)


[root@lotap ~]# systemctl status libvirtd
libvirtd.service - Virtualization daemon
   Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled)
   Active: active (running) since Fri 2014-08-15 18:09:55 EDT; 17min ago
 Main PID: 1185 (libvirtd)
   CGroup: /system.slice/libvirtd.service
           ??1185 /usr/sbin/libvirtd
           ??5008 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf

Aug 15 18:15:57 lotap.me libvirtd[1185]: User record for user '107' was not found: No such file or directory
Aug 15 18:15:57 lotap.me libvirtd[1185]: Group record for user '107' was not found: No such file or directory
Aug 15 18:15:57 lotap.me libvirtd[1185]: User record for user '107' was not found: No such file or directory
Aug 15 18:15:57 lotap.me libvirtd[1185]: Group record for user '107' was not found: No such file or directory
Aug 15 18:15:57 lotap.me libvirtd[1185]: User record for user '107' was not found: No such file or directory
Aug 15 18:15:57 lotap.me libvirtd[1185]: Group record for user '107' was not found: No such file or directory
Aug 15 18:15:57 lotap.me libvirtd[1185]: User record for user '107' was not found: No such file or directory
Aug 15 18:15:57 lotap.me libvirtd[1185]: Group record for user '107' was not found: No such file or directory
Aug 15 18:15:57 lotap.me libvirtd[1185]: failed to connect to monitor socket: No such process
Aug 15 18:15:57 lotap.me libvirtd[1185]: internal error: process exited while connecting to monitor: qemu-kvm: -chardev pty,...chardev
Hint: Some lines were ellipsized, use -l to show in full.
[root@lotap ~]#
TagsNo tags attached.
abrt_hash
URL

Activities

ykill

ykill

2014-08-19 20:54

reporter   ~0020713

Please can we see the passwd and group files, e.g.
# grep "virt\|107\|qemu\|" /etc/{passwd,group}

mine shows as

/etc/passwd:qemu:x:107:107:qemu user:/:/sbin/nologin
/etc/group:kvm:x:36:qemu
/etc/group:qemu:x:107:myuser

I added myuser to the qemu group during random troubleshooting
codebauss

codebauss

2014-08-20 02:54

reporter   ~0020717

[root@lotap ~]# egrep "virt|107|qemu" /etc/{passwd,group}
/etc/passwd:qemu:x:107:107:qemu user:/:/sbin/nologin
/etc/group:kvm:x:36:qemu
/etc/group:qemu:x:107:
[root@lotap ~]#
ykill

ykill

2014-08-20 03:13

reporter   ~0020718

Look, I'm a noob, but I see a similar problem here:

https : //bugzilla.redhat.com/show_bug.cgi?id=883832

HTH
KeiKun

KeiKun

2014-08-24 22:50

reporter   ~0020736

same here https://www.centos.org/forums/viewtopic.php?t=48075&p=204352
ykill

ykill

2014-08-24 23:51

reporter   ~0020737

@KeiKun, no - that is a different issue.
KeiKun

KeiKun

2014-08-25 04:03

reporter   ~0020738

Aug 24 22:03:48 localhost systemd[1]: Started Virtualization daemon.
Aug 24 22:03:48 localhost libvirtd[10752]: libvirt version: 1.1.1, package: 29.el7_0.1 (CentOS BuildSystem <http://bugs.centos.org>, 2014-07-22-19:38:59, worker1.bsys.centos.org)
Aug 24 22:03:48 localhost libvirtd[10752]: Unable to lookup SELinux process context: Invalid argument
Aug 24 22:03:48 localhost dnsmasq[976]: read /etc/hosts - 9 addresses
Aug 24 22:03:48 localhost dnsmasq[976]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
Aug 24 22:03:48 localhost dnsmasq-dhcp[976]: read /var/lib/libvirt/dnsmasq/default.hostsfile
Aug 24 22:03:57 localhost libvirtd[10752]: failed to connect to monitor socket: No such process
Aug 24 22:03:57 localhost libvirtd[10752]: internal error: process exited while connecting to monitor: qemu-kvm: -chardev pty,id=charserial0: Failed to create chardev
Aug 24 22:03:57 localhost libvirtd[10752]: Unable to lookup SELinux process context: Invalid argument
Aug 24 22:06:24 localhost systemd[1]: Started Virtualization daemon.
codebauss

codebauss

2014-08-25 16:31

reporter   ~0020746

I was able to fix the issue regarding user error - User record for user '107' was not found: No such file or directory - and similar group error by modifying the /etc/nsswitch.conf file

passwd: files sss
shadow: files sss
group: files sss

to

passwd: files
shadow: files
group: files
codebauss

codebauss

2014-08-25 16:32

reporter   ~0020747

I am now getting the error regarding chardev

Aug 24 23:59:16 *.com libvirtd[3268]: failed to connect to monitor socket: No such process
Aug 24 23:59:16 *.com libvirtd[3268]: internal error: process exited while connecting to monitor: qemu-kvm: -chardev pty,id=charserial0: Failed to create chardev
ykill

ykill

2014-08-25 16:43

reporter   ~0020748

@codebauss Right, sssd is not enabled on my system either, so this seems the right fix.
Re the chardev error, look at KeiKun's link above. My system is not having the chardev error.
avij

avij

2014-08-25 21:27

updater   ~0020753

"Unable to lookup SELinux process context"

You may have disabled SELinux. See if re-enabling SELinux helps. If this causes problems, you can try "setenforce 0" to make SELinux work in permissive mode.
codebauss

codebauss

2014-08-26 21:20

reporter   ~0020757

I've tried both, neither work. Definitely looks to be something with CentOS as Fedora 20 and RHEL 7 work perfectly fine. The versions of qemu-kvm, libvirt-daemon, and virt-install are different on Fedora and RHEL than on CentOS.

user1999

2014-08-27 04:21

  ~0020758

codebauss, please run rpm -qi over the packages which provide those applications and paste here the output. If you also have access to RHEL7, please run the same test and also include the result here.
pdifeo

pdifeo

2014-09-05 22:13

reporter   ~0020838

Same problem.

After that I have add pseudo serial device all works fine.

I hope that is useful for you.

Pasquale
pdifeo

pdifeo

2014-09-06 13:54

reporter   ~0020841

I wronged. I added a serial attached to null device. After that, creation of VM work fine.

user1999

2014-09-06 13:57

  ~0020842

Still waiting for the results from rpm -qi qemu-kvm libvirt-daemon virt-install
pdifeo

pdifeo

2014-09-06 14:00

reporter   ~0020843

This is my result

[root@vmsrv ~]# rpm -qi qemu-kvm libvirt-daemon virt-install
Name : qemu-kvm
Epoch : 10
Version : 1.5.3
Release : 60.el7_0.5
Architecture: x86_64
Install Date: Fri 05 Sep 2014 05:47:24 PM CEST
Group : Development/Tools
Size : 5772808
License : GPLv2+ and LGPLv2+ and BSD
Signature : RSA/SHA256, Fri 25 Jul 2014 02:34:35 PM CEST, Key ID 24c6a8a7f4a80eb5
Source RPM : qemu-kvm-1.5.3-60.el7_0.5.src.rpm
Build Date : Fri 25 Jul 2014 07:40:36 AM CEST
Build Host : worker1.bsys.centos.org
Relocations : (not relocatable)
Packager : CentOS BuildSystem <http://bugs.centos.org>
Vendor : CentOS
URL : http://www.qemu.org/
Summary : QEMU is a FAST! processor emulator
Description :
qemu-kvm is an open source virtualizer that provides hardware emulation for
the KVM hypervisor. qemu-kvm acts as a virtual machine monitor together with
the KVM kernel modules, and emulates the hardware for a full system such as
a PC and its assocated peripherals.

As qemu-kvm requires no host kernel patches to run, it is safe and easy to use.
Name : libvirt-daemon
Version : 1.1.1
Release : 29.el7_0.1
Architecture: x86_64
Install Date: Fri 05 Sep 2014 05:47:11 PM CEST
Group : Development/Libraries
Size : 2797603
License : LGPLv2+
Signature : RSA/SHA256, Wed 23 Jul 2014 03:48:10 AM CEST, Key ID 24c6a8a7f4a80eb5
Source RPM : libvirt-1.1.1-29.el7_0.1.src.rpm
Build Date : Tue 22 Jul 2014 09:43:06 PM CEST
Build Host : worker1.bsys.centos.org
Relocations : (not relocatable)
Packager : CentOS BuildSystem <http://bugs.centos.org>
Vendor : CentOS
URL : http://libvirt.org/
Summary : Server side daemon and supporting files for libvirt library
Description :
Server side daemon required to manage the virtualization capabilities
of recent versions of Linux. Requires a hypervisor specific sub-RPM
for specific drivers.
Name : virt-install
Version : 0.10.0
Release : 20.el7
Architecture: noarch
Install Date: Fri 05 Sep 2014 06:12:10 PM CEST
Group : Applications/Emulators
Size : 69295
License : GPLv2+
Signature : RSA/SHA256, Fri 04 Jul 2014 07:41:31 AM CEST, Key ID 24c6a8a7f4a80eb5
Source RPM : virt-manager-0.10.0-20.el7.src.rpm
Build Date : Mon 09 Jun 2014 10:50:47 PM CEST
Build Host : worker1.bsys.centos.org
Relocations : (not relocatable)
Packager : CentOS BuildSystem <http://bugs.centos.org>
Vendor : CentOS
URL : http://virt-manager.org/
Summary : Utilities for installing virtual machines
Description :
Package includes several command line utilities, including virt-install
(build and install new VMs) and virt-clone (clone an existing virtual
machine).

user1999

2014-09-06 14:04

  ~0020844

@pdifeo: As member in the QA team, I know very well what should those packages be.
What I want is to make sure that the original poster uses CentOS packages. And to find out which exact versions are different from the upstream ones as he claims in http://bugs.centos.org/view.php?id=7507#c20757
pdifeo

pdifeo

2014-09-06 14:09

reporter   ~0020845

Ok, but I had the same initial problem. The creation of the VM was not done and gave the error

"libvirtError: internal error: process exited while connecting to monitor: qemu-kvm: -chardev
pty, id = charserial0: Failed to create chardev. "

By adding a fake serial, I have solved the problem and wanted to share the news. I hope this can be of help to someone.

greetings
paschal
codebauss

codebauss

2014-09-08 07:03

reporter   ~0020853

[root@unplugmybrain ~]# rpm -qi qemu-kvm libvirt-daemon virt-install
Name : qemu-kvm
Epoch : 10
Version : 1.5.3
Release : 60.el7_0.5
Architecture: x86_64
Install Date: Sun 07 Sep 2014 11:27:11 PM EDT
Group : Development/Tools
Size : 5772808
License : GPLv2+ and LGPLv2+ and BSD
Signature : RSA/SHA256, Fri 25 Jul 2014 08:34:35 AM EDT, Key ID 24c6a8a7f4a80eb5
Source RPM : qemu-kvm-1.5.3-60.el7_0.5.src.rpm
Build Date : Fri 25 Jul 2014 01:40:36 AM EDT
Build Host : worker1.bsys.centos.org
Relocations : (not relocatable)
Packager : CentOS BuildSystem <http://bugs.centos.org>
Vendor : CentOS
URL : http://www.qemu.org/
Summary : QEMU is a FAST! processor emulator
Description :
qemu-kvm is an open source virtualizer that provides hardware emulation for
the KVM hypervisor. qemu-kvm acts as a virtual machine monitor together with
the KVM kernel modules, and emulates the hardware for a full system such as
a PC and its assocated peripherals.

As qemu-kvm requires no host kernel patches to run, it is safe and easy to use.
Name : libvirt-daemon
Version : 1.1.1
Release : 29.el7_0.1
Architecture: x86_64
Install Date: Sun 07 Sep 2014 11:26:19 PM EDT
Group : Development/Libraries
Size : 2797603
License : LGPLv2+
Signature : RSA/SHA256, Tue 22 Jul 2014 09:48:10 PM EDT, Key ID 24c6a8a7f4a80eb5
Source RPM : libvirt-1.1.1-29.el7_0.1.src.rpm
Build Date : Tue 22 Jul 2014 03:43:06 PM EDT
Build Host : worker1.bsys.centos.org
Relocations : (not relocatable)
Packager : CentOS BuildSystem <http://bugs.centos.org>
Vendor : CentOS
URL : http://libvirt.org/
Summary : Server side daemon and supporting files for libvirt library
Description :
Server side daemon required to manage the virtualization capabilities
of recent versions of Linux. Requires a hypervisor specific sub-RPM
for specific drivers.
Name : virt-install
Version : 0.10.0
Release : 20.el7
Architecture: noarch
Install Date: Sun 07 Sep 2014 11:59:27 PM EDT
Group : Applications/Emulators
Size : 69295
License : GPLv2+
Signature : RSA/SHA256, Fri 04 Jul 2014 01:41:31 AM EDT, Key ID 24c6a8a7f4a80eb5
Source RPM : virt-manager-0.10.0-20.el7.src.rpm
Build Date : Mon 09 Jun 2014 04:50:47 PM EDT
Build Host : worker1.bsys.centos.org
Relocations : (not relocatable)
Packager : CentOS BuildSystem <http://bugs.centos.org>
Vendor : CentOS
URL : http://virt-manager.org/
Summary : Utilities for installing virtual machines
Description :
Package includes several command line utilities, including virt-install
(build and install new VMs) and virt-clone (clone an existing virtual
machine).
[root@unplugmybrain ~]#
codebauss

codebauss

2014-09-08 07:07

reporter   ~0020854

Unfortunately I decided to go with Ubuntu w/VirtualBox as I was still having issues with Fedora as well :(

I was able to resolve the sssd issue by installing and configuring sssd rather than modifying nsswitch.conf but still getting the chardev error.

I am coming back to this as I would much rather prefer to use rpm based CentOS than Ubuntu.
pdifeo

pdifeo

2014-09-08 07:10

reporter   ~0020855

@codebauss

Read my posts. In creation phase I added a fake serial (null) and after all work fine.
codebauss

codebauss

2014-09-08 07:57

reporter   ~0020856

@pdifeo, unfortunately I do not know how to do so. Can you outline the steps or provide link to article?
pdifeo

pdifeo

2014-09-08 08:06

reporter   ~0020857

1) Into "step 5 of 5" select "Customize configuration before install"
2) Click on "Finish"
3) At next screen click on "Add hardware"
4) Select "Serial" from list and on the right select "Device type : null device"
5) Click on finish. The serial device don't show on the list. Don't worry.
6) Click on "Begin installation" on the top.

The creation start without problems.
Regards
codebauss

codebauss

2014-09-08 08:09

reporter   ~0020858

Ah, thank you!
codebauss

codebauss

2014-09-08 13:45

reporter   ~0020860

So then the issue looks to be with libvirt or qemu-kvm creating the serial device. I am looking further into it as this is a new area and while I was able to create the device via virt-manager, would really like this to work as it did previously without any intervention or at least be able to understand the mechanics of why it is not working and how to fix besides point and click but thank you very much as I at least do not have to be held up from working.
KeiKun

KeiKun

2014-09-13 12:15

reporter   ~0020904

@pdifeo

that's hard for no GUI centos7
anyway, i already sent a report like days ago
https://bugzilla.redhat.com/show_bug.cgi?id=1138502
pdifeo

pdifeo

2014-09-13 13:48

reporter   ~0020905

This is the part that regards serial configuration in .conf xml file

    <serial type='null'>
      <target port='0'/>
    </serial>
    <console type='null'>
      <target type='serial' port='0'/>
    </console>
KeiKun

KeiKun

2014-09-13 16:19

reporter   ~0020906

@pdifeo

i don't still find that file
can you pinpoint me where it is located?
pdifeo

pdifeo

2014-09-14 20:26

reporter   ~0020910

The file is locate under

/etc/libvirt/qemu

and have VM-Name.xml as filename. But this is the filemane created by virt-manager.

I think that with cmd line command the correct parameter in vm creation is

-chardev null,id=charserial0

but I'm not sure.
KeiKun

KeiKun

2014-09-17 11:47

reporter   ~0020924

I am unable to find that particular VM-Name.xml(actually the name i was looking is vm1).. this is what i executed

virt-install \
--os-variant=rhel7 \
--disk path=/var/lib/libvirt/images/vm1.img,size=10 \
--location=http://mirror.ovh.net/ftp.centos.org/7/os/x86_64/ \
--graphics vnc \
--vcpus 2 \
--ram=1024 \
--name=vm1 \
--hvm \
--noautoconsole


[root@localhost qemu]$ pwd
/etc/libvirt/qemu
[root@localhost qemu]$ ls -lah
total 12K
drwx------ 3 root root 4.0K Sep 13 12:36 .
drwx------ 6 root root 4.0K Sep 13 12:37 ..
drwx------ 3 root root 4.0K Sep 13 12:40 networks
[root@localhost qemu]$
codebauss

codebauss

2014-09-19 10:46

reporter   ~0020945

I figured it out I believe. Modify your /etc/fstab and then restart your server:

vi /etc/fstab

You will/should see a line starting with devpts. Copy the line just in case something goes wrong and comment out the original. Modify the copied line to look like this:

devpts /dev/pts devpts gid=5,mode=620 0 0

Comment back letting us know if it works. Worked for me!
codebauss

codebauss

2014-09-19 10:54

reporter   ~0020946

Previously guest log showed:
2014-09-08 08:46:03.988+0000: starting up
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin /usr/libexec/qemu-kvm -name websrv1 -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -m 1024 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=
1 -uuid 3b80618b-4ce5-413b-bc34-f3b773a85de2 -nographic -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/websrv1.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-reboot -boot strict=on -kernel /var/lib/libvirt/boot/virtinst-vmlinuz.ZnAYt_ -initrd /var/lib/libvirt/boot/virtinst-initrd.img.92jTwK -append console=ttyS0 -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/libvirt/images/websrv1.img,if=none,id=drive-virtio-disk0,format=raw,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive file=/root/c7min.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=28,id=hostnet0,vhost=on,vhostfd=29 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:88:f1:66,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -device usb-tablet,id=input0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
qemu-kvm: -chardev pty,id=charserial0: Failed to create chardev

Now:
2014-09-19 10:43:04.238+0000: starting up
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin /usr/libexec/qemu-kvm -name websrv1 -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off -m 1024 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid e5d20a8e-34ca-4b43-917f-02ce3fdd7434 -nographic -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/websrv1.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-reboot -boot strict=on -kernel /var/lib/libvirt/boot/virtinst-vmlinuz.rBi0TD -initrd /var/lib/libvirt/boot/virtinst-initrd.img.lOsjFG -append console=ttyS0 -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/libvirt/images/websrv1.img,if=none,id=drive-virtio-disk0,format=raw,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive file=/var/lib/libvirt/images/c7min.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=24,id=hostnet0,vhost=on,vhostfd=25 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:ca:48:89,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -device usb-tablet,id=input0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
char device redirected to /dev/pts/1 (label charserial0)
codebauss

codebauss

2014-09-19 10:57

reporter   ~0020947

[root@server ~]# virt-install -n websrv1 -r 1024 --nographics --location /var/lib/libvirt/images/c7min.iso --disk path=/var/lib/libvirt/images/websrv1.img,size=8 -x "console=ttyS0"

Starting install...
Retrieving file .treeinfo... | 1.9 kB 00:00:00
Retrieving file vmlinuz... | 9.4 MB 00:00:00
Retrieving file initrd.img... | 67 MB 00:00:00
Creating domain... | 0 B 00:00:00
Connected to domain websrv1
Escape character is ^]
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.0-123.el7.x86_64 (builder@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
[ 0.000000] Command line: console=ttyS0
[ 0.000000] e820: BIOS-provided physical RAM map:
...
...
...
Installing iwl3945-firmware (292/292)
Performing post-installation setup tasks
Performing post-installation setup tasks
.
Installing bootloader
.

Configuring installed system
.
Writing network configuration
.
Creating users
.
Configuring addons
.
Generating initramfs
.
Running post-installation scripts
.
        Use of this product is subject to the license agreement found at /usr/share/centos-release/EULA

        Installation complete. Press return to quit
[anaconda] 1:main* 2:shell 3:log 4:storage-log 5:program-log
codebauss

codebauss

2014-09-19 11:13

reporter   ~0020948

So, I have a fresh install of CentOS on another server and fstab has the same "defaults" instead of gid=5,mode=620. Unfortunately I cannot re-image this server however if someone wants/is able to do a fresh install and see if fstab still has defaults and whether or not it works right out the box and then if it works modifying fstab I believe we can put this bug to rest.
pdifeo

pdifeo

2014-09-19 19:32

reporter   ~0020956

@codebauss, in my /etc/fstab I deleted devpts line and now works also for me. For the same line in fstab I have also had problems with the VNC connection when opening gnome-terminal. After deletion, all works fine.

Issue History

Date Modified Username Field Change
2014-08-15 22:41 codebauss New Issue
2014-08-19 20:54 ykill Note Added: 0020713
2014-08-20 02:54 codebauss Note Added: 0020717
2014-08-20 03:13 ykill Note Added: 0020718
2014-08-24 22:50 KeiKun Note Added: 0020736
2014-08-24 23:51 ykill Note Added: 0020737
2014-08-25 04:03 KeiKun Note Added: 0020738
2014-08-25 16:31 codebauss Note Added: 0020746
2014-08-25 16:32 codebauss Note Added: 0020747
2014-08-25 16:43 ykill Note Added: 0020748
2014-08-25 21:27 avij Note Added: 0020753
2014-08-26 21:20 codebauss Note Added: 0020757
2014-08-27 04:21 user1999 Note Added: 0020758
2014-09-05 22:13 pdifeo Note Added: 0020838
2014-09-06 13:54 pdifeo Note Added: 0020841
2014-09-06 13:57 user1999 Note Added: 0020842
2014-09-06 14:00 pdifeo Note Added: 0020843
2014-09-06 14:04 user1999 Note Added: 0020844
2014-09-06 14:09 pdifeo Note Added: 0020845
2014-09-08 07:03 codebauss Note Added: 0020853
2014-09-08 07:07 codebauss Note Added: 0020854
2014-09-08 07:10 pdifeo Note Added: 0020855
2014-09-08 07:57 codebauss Note Added: 0020856
2014-09-08 08:06 pdifeo Note Added: 0020857
2014-09-08 08:09 codebauss Note Added: 0020858
2014-09-08 13:45 codebauss Note Added: 0020860
2014-09-13 12:15 KeiKun Note Added: 0020904
2014-09-13 13:48 pdifeo Note Added: 0020905
2014-09-13 16:19 KeiKun Note Added: 0020906
2014-09-14 20:26 pdifeo Note Added: 0020910
2014-09-17 11:47 KeiKun Note Added: 0020924
2014-09-19 10:46 codebauss Note Added: 0020945
2014-09-19 10:54 codebauss Note Added: 0020946
2014-09-19 10:57 codebauss Note Added: 0020947
2014-09-19 11:13 codebauss Note Added: 0020948
2014-09-19 19:32 pdifeo Note Added: 0020956