Package: vzctl
Version: 3.0.22-1dso1
Severity: important

I tried migrating a VE from one host to another. vzmigrate crashed while in 
progress.

I made one change to the /usr/sbin/vzmigrate script to fix a bug (everything 
else is like in the package). It shouldn't be relevant though.
http://git.openvz.org/?p=vzctl;a=commitdiff;h=57831622490f9d7ffc781f16229d03dcf2165fdf

Command and output below.

vzmigrate -r no --online -v 10.1.1.2 301

OPT:-r
OPT:--online
OPT:-v
OPT:10.1.1.2
Starting online migration of VE 301 on 10.1.1.2
OpenVZ is running...
    Loading /etc/vz/vz.conf and /etc/vz/conf/301.conf files
    Check IPs on destination node: 10.1.10.1
Preparing remote node
    Copying config file
301.conf                                                                        
                                           100% 1067     1.0KB/s   00:00    
Saved parameters for VE 301
    Copying action scripts
301.mount                                                                       
                                           100%  176     0.2KB/s   00:00    
    Creating remote VE root dir
    Creating remote VE private dir
Initializing remote quota
    Quota init
    Turning remote quota on
Syncing private
Live migrating VE
    Suspending VE
Setting up checkpoint...
        suspend...
        get context...
Checkpointing completed succesfully
    Dumping VE
Setting up checkpoint...
        join context..
        dump...
Checkpointing completed succesfully
    Copying dumpfile
dump.301                                                                        
                                           100%   16MB  15.8MB/s   00:00    
    Syncing private (2nd pass)
Syncing 2nd level quota
    Dumping 2nd level quota
    Copying 2nd level quota
quotadump.301                                                                   
                                           100% 1193     1.2KB/s   00:00    
    Load 2nd level quota
    Undumping VE
Restoring VE ...
Starting VE ...
vzquota : (warning) Quota is running for id 301 already
mount: special device /home2/301_var does not exist
Error executing mount script /etc/vz/conf/301.mount
Error:  Failed to undump VE
Resuming...
/usr/sbin/vzmigrate: line 142:  6492 Segmentation fault      $@
vzquota : (error) Quota is not running for id 301

Some info from /var/log/kern.log:

Aug 12 23:00:42 host kernel: BUG: unable to handle kernel NULL pointer 
dereference at virtual address 00000504
Aug 12 23:00:42 host kernel:  printing eip:
Aug 12 23:00:42 host kernel: c0484371
Aug 12 23:00:42 host kernel: *pde = 00000000
Aug 12 23:00:42 host kernel: Oops: 0002 [#1]
Aug 12 23:00:42 host kernel: SMP 
Aug 12 23:00:43 host kernel: Modules linked in: nfs lockd nfs_acl sunrpc 
vzethdev vznetdev simfs vzrst vzcpt vzdquota vzmon vzdev af_packet ip6t_REJECT 
ip6table_mangle ip6table_filter ip6_tables xt_length ipt_ttl xt_tcpmss 
ipt_TCPMSS xt_limit ipt_tos ip_conntrack_ftp ipt_REJECT xt_state ipt_recent 
xt_multiport iptable_filter xt_tcpudp iptable_nat ip_nat ip_conntrack 
iptable_mangle ip_tables x_tables usbhid ehci_hcd uhci_hcd e1000 ide_cd usbcore 
shpchp cdrom
Aug 12 23:00:43 host kernel: CPU:    0, VCPU: 0.0
Aug 12 23:00:43 host kernel: EIP:    0060:[<c0484371>]    Not tainted VLI
Aug 12 23:00:43 host kernel: EFLAGS: 00010002   (2.6.18-028stab035.1-ovz-smp 
#1) 
Aug 12 23:00:44 host kernel: EIP is at _spin_lock_irq+0x1/0x10
Aug 12 23:00:44 host kernel: eax: 00000504   ebx: d8bba050   ecx: 00000082   
edx: 00000000
Aug 12 23:00:44 host kernel: esi: c2990d40   edi: f5498c00   ebp: 00000000   
esp: e09c9eec
Aug 12 23:00:44 host kernel: ds: 007b   es: 007b   ss: 0068
Aug 12 23:00:44 host kernel: Process vzctl (pid: 6492, veid: 0, ti=e09c9000 
task=f2c14190 task.ti=e09c9000)
Aug 12 23:00:44 host kernel: Stack: f8cb330b ed0cb000 00000012 ed0cb000 
00000000 ed0cb154 ed0cb000 00002d08 
Aug 12 23:00:44 host kernel:        f5498c00 00000000 f8cb1e54 ed0cb000 
c0139d10 e09c9f20 e09c9f20 0000572a 
Aug 12 23:00:44 host kernel:        00000000 00a1f9f8 00000000 ed0cb000 
00000000 f5498c00 00000000 00002d08 
Aug 12 23:00:45 host kernel:  Call Trace:
Aug 12 23:00:45 host kernel:  [<f8cb330b>] cpt_resume+0x10b/0x230 [vzcpt]
Aug 12 23:00:45 host kernel:  [<f8cb1e54>] cpt_ioctl+0x9d4/0xd60 [vzcpt]
Aug 12 23:00:45 host kernel:  [<c0139d10>] autoremove_wake_function+0x0/0x60
Aug 12 23:00:45 host kernel:  [<c018c660>] do_ioctl+0x80/0x90
Aug 12 23:00:45 host kernel:  [<c018c6ca>] vfs_ioctl+0x5a/0x2e0
Aug 12 23:00:45 host kernel:  [<c018c995>] sys_ioctl+0x45/0x70
Aug 12 23:00:45 host kernel:  [<c010322f>] syscall_call+0x7/0xb
Aug 12 23:00:45 host kernel: Code: 79 1c f7 c2 00 02 00 00 74 0b fb f3 90 80 38 
00 7e f9 fa eb e8 f3 90 80 38 00 7f e1 eb f7 89 d0 c3 89 f6 8d bc 27 00 00 00 
00 fa <f0> fe 08 79 09 f3 90 80 38 00 7e f9 eb f2 c3 53 89 c3 e8 98 4e 
Aug 12 23:00:45 host kernel: EIP: [<c0484371>] _spin_lock_irq+0x1/0x10 SS:ESP 
0068:e09c9eec


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-028stab035.1-ovz-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages vzctl depends on:
ii  iproute                20061002-3        Professional tools to control the 
ii  libc6                  2.3.6.ds1-13etch7 GNU C Library: Shared libraries
ii  vzquota                3.0.11-1dso1      OpenVZ - server virtualization sol

Versions of packages vzctl recommends:
ii  openssh-client            1:4.3p2-9etch2 Secure shell client, an rlogin/rsh
ii  rsync                     2.6.9-2etch2   fast remote file copy program (lik

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to