Upgrade issue

stlsaint

New Member
Oct 30, 2009
27
0
1
So i did the latest upgrade to new kernel following this guide. http://pve.proxmox.com/wiki/Downloads

Prior to this upgrade everything was working perfect. The upgrade took place with no errors and i rebooted and verified that i was completely upgraded. Then i went and tried to enter my containers just to be greeted by errors. Out of my four containers i can only vz into one of them. All my data is still there but i just cant access unless i take direct path into folder of container from host. Here is total errors im getting:

myserver:~# vzlist -a
CTID NPROC STATUS IP_ADDR HOSTNAME
101 4 running 192.168.1.107 tester.org
102 3 running 192.168.1.110 lucid_test.org
103 4 running 192.168.1.114 stuff.org
109 27 running 192.168.1.113 church3.org
myserver:~# vzctl enter 101
enter into CT 101 failed
Unable to open pty: No such file or directory
myserver:~# vzctl enter 102
entered into CT 102
root@myserver:/# exit
logout
exited from CT 102
myserver:~# vzctl enter 103
enter into CT 103 failed
Unable to open pty: No such file or directory
myserver:~#

My website is still working for now out of one of the containers that i cant enter but im assuming that these issues should be easy fixes. FYI...at the upgrade i was offered the change to remove my current vz.config and install the new one that came with upgrade. I opted to install new one but not before making a backup of the old one. Is this the cause of my issues??

Had to make edit here: I am able to reach container 109 and 102, but unable to reach 101 and 103
 
Last edited:
Try this:


vzctl exec VEID /sbin/MAKEDEV pty
vzctl exec VEID /sbin/MAKEDEV tty
vzctl enter VEID

Inside container:

1. Edit /etc/rc.sysinit

2. Coment:

#/sbin/start_udev

3. Add:

/sbin/MAKEDEV tty
/sbin/MAKEDEV pty
 
at the upgrade i was offered the change to remove my current vz.config and install the new one that came with upgrade. I opted to install new one but not before making a backup of the old one. Is this the cause of my issues??

no. That behaviour seems to be unrelated to the host update. Maybe you updated the containers also?
 
I have this problem some time ago.... when migrating a CentOs machine to from fisical to virtual vz. I apply the solution above and all works nice.
 
no. That behaviour seems to be unrelated to the host update. Maybe you updated the containers also?

I had my containers all stopped before i updated.

@Vitor i will try your solution and report back on it. Thanks for reply
 
Try this:


vzctl exec VEID /sbin/MAKEDEV pty
vzctl exec VEID /sbin/MAKEDEV tty
vzctl enter VEID

Inside container:

1. Edit /etc/rc.sysinit

2. Coment:

#/sbin/start_udev

3. Add:

/sbin/MAKEDEV tty
/sbin/MAKEDEV pty


Bad news, after trying above it still doesnt work. Here is what i get:

myserver:~# vzlist -a
CTID NPROC STATUS IP_ADDR HOSTNAME
101 4 running 192.168.1.107 tester.org
102 3 running 192.168.1.110 lucid_test.org
103 4 running 192.168.1.114 stuff.org
109 25 running 192.168.1.113 church3.org
myserver:~# vzctl enter 101
enter into CT 101 failed
Unable to open pty: No such file or directory
myserver:~# vzctl exec 101 /sbin/MAKEDEV pty
myserver:~# vzctl exec 101 /sbin/MAKEDEV tty
myserver:~# vzctl enter 101
enter into CT 101 failed
Unable to open pty: No such file or directory
myserver:~#
 
So by the no replies i must assume that i have found either a new problem or a bug? What are my next options in either case?
 
Please try to find a way to reproduce the behavior (So that I can reproduce it here).

Problem with that is i did a upgrade. So i would have to try and "un-upgrade" my server then upgrade again. Not seeing how thats possible. Only other suggestion i have been offered is to try and boot a different kernel.
 
UPDATE: So i edited menu.lst and booted original kernel (2.6.24-8-pve)
and i am able to access everything using vz tools but i am having some networking issues (ssh, updating, etc). But with newly released kernel for proxmox (2.6.32-3-pve) i am unable to reach two out of my four containers. Now according to proxmox site the kernel that sort of works for me is unsupported and only available due to legacy reasons. So i know that i will have to upgrade to new kernel sooner! But im having this same issue with new kernel.
 
I experience similar problems with Ubuntu 9.10 templates (using Upstart). The templates worked fine before the upgrade to Proxmox 1.6.

So you need to debug that. Is there any hint in the container init log?

Upstart configuration had been fixed according to http://blog.bodhizazen.net/linux/openvz-ubuntu-9-10-templates/

That fix included mounting /proc as pretty much the very first thing. Now this mount fails. It looks like /proc has already been mounted elsewhere.

Does that ring a bell? Does proxmox mount /proc itself now?

Unfortunately, even when I avoid mounting /proc, I don't get much further (still debugging).
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!