Проблемы с миграцией после обновления vzctl [message #39953] |
Wed, 30 June 2010 08:32 |
lithium
Messages: 78 Registered: April 2007
|
Member |
|
|
CentOS 5, все обновления, после обновления vzctl миграция некоторых контейнеров не работает. Начали появляться такие сообщения:
# vzmigrate --online hn1 as
Starting online migration of CT 305 to hn1
Preparing remote node
Initializing remote quota
Syncing private
file has vanished: "/vz/private/305/var/lib/php/session/sess_0l80nlv4vhieb2lcsb9fiu4pm2"
file has vanished: "/vz/private/305/var/lib/php/session/sess_2dc3abj25g0eespj8m6du9eab2"
file has vanished: "/vz/private/305/var/lib/php/session/sess_3fd358smambq5jhj2etacbm5h2"
file has vanished: "/vz/private/305/var/lib/php/session/sess_59rpkb2ki1l1sdrncuaqfmchp4"
file has vanished: "/vz/private/305/var/lib/php/session/sess_6d09fm3oafimdop7mjkdd4vqm1"
file has vanished: "/vz/private/305/var/lib/php/session/sess_7ho1jl59qo0lrl1ees3sl9kjk6"
file has vanished: "/vz/private/305/var/lib/php/session/sess_a952l97kdpup50s04pp1n08b13"
file has vanished: "/vz/private/305/var/lib/php/session/sess_adfl1il9b11v9185bl0bcnh156"
file has vanished: "/vz/private/305/var/lib/php/session/sess_bhn4ft4hi0mo5aa31te55tfak5"
file has vanished: "/vz/private/305/var/lib/php/session/sess_cgd67oua2quu0u4r22mhnub2e5"
file has vanished: "/vz/private/305/var/lib/php/session/sess_dadle5rtpubqghcqbnk4ns38o1"
file has vanished: "/vz/private/305/var/lib/php/session/sess_g8is8l1bqhlpbpj9lpmmshvbt6"
file has vanished: "/vz/private/305/var/lib/php/session/sess_gdrad97irf8ekk0u8qkokto5k7"
file has vanished: "/vz/private/305/var/lib/php/session/sess_h1v7evqph9tn70t8b55au6r8i6"
file has vanished: "/vz/private/305/var/lib/php/session/sess_hq5i50mdvfpqjtufvmme0o8f31"
file has vanished: "/vz/private/305/var/lib/php/session/sess_ibppt7o1fl5b9ttrpvbfvqma37"
file has vanished: "/vz/private/305/var/lib/php/session/sess_imsl4pckd6bbshcer9p5put160"
file has vanished: "/vz/private/305/var/lib/php/session/sess_n4ja6ttdbmm6v3tqkj4qnk56a7"
file has vanished: "/vz/private/305/var/lib/php/session/sess_rooiel829vhdn70ktnt3a2t5q4"
file has vanished: "/vz/private/305/var/lib/php/session/sess_t1ut6pgpofkvrm3itm25rvgnv3"
file has vanished: "/vz/private/305/var/lib/php/session/sess_tbukdfsh4vkgn9b1d6nvmn5t70"
rsync warning: some files vanished before they could be transferred (code 24) at main.c(892) [sender=2.6.8]
Error: Failed to sync container private areas
или
# vzmigrate --online hn1 db
Starting online migration of CT 304 to hn1
Preparing remote node
Initializing remote quota
Syncing private
file has vanished: "/vz/private/304/var/lib/pgsql/data/base/20320/5649590"
file has vanished: "/vz/private/304/var/lib/pgsql/data/base/20320/5649593"
file has vanished: "/vz/private/304/var/lib/pgsql/data/base/20320/5649595"
file has vanished: "/vz/private/304/var/lib/pgsql/data/base/20320/5649706"
file has vanished: "/vz/private/304/var/lib/pgsql/data/pg_xlog/000000010000001E00000066"
rsync warning: some files vanished before they could be transferred (code 24) at main.c(892) [sender=2.6.8]
Error: Failed to sync container private areas
без --online то же самое:
# vzmigrate hn1 as
Starting migration of CT 305 to hn1
Preparing remote node
Initializing remote quota
Syncing private
file has vanished: "/vz/private/305/tmp/qt_temp.J32362"
rsync warning: some files vanished before they could be transferred (code 24) at main.c(892) [sender=2.6.8]
Error: Failed to sync container private areas
это нормально?
|
|
|
|
|
|
|
|
|
|
Re: Проблемы с миграцией после обновления vzctl [message #40125 is a reply to message #40102] |
Mon, 19 July 2010 10:34 |
lithium
Messages: 78 Registered: April 2007
|
Member |
|
|
> версии ядер (source и destination)
2.6.18-194.3.1.el5.028stab069.6PAE (на обоих одинаковое, как и версии vzctl)
> версии vzctl (source и destination)
vzctl-lib-3.0.24-1
vzctl-3.0.24-1
> темплит, на котором сделана VE
http://forum.openvz.org/index.php?t=msg&goto=37134
> весь dmesg, messages, vzctl.log
это привести не могу, т.к. после неудачной попытки, во время которой проверил существование vanished файлов, следующие попытки отработали нормально.
> вывод vzmigrate на экран
уже приводил раньше
> проверить простое существование файлов,
на которые ругаются, что они vanished (хотя
бы с помощью ls)
сразу после появления сообщения пробовал через vzctl exec CTID ls -la ... -- No such file or directory
|
|
|
Re: Проблемы с миграцией после обновления vzctl [message #40153 is a reply to message #40125] |
Fri, 23 July 2010 11:14 |
maratrus
Messages: 1495 Registered: August 2007 Location: Moscow
|
Senior Member |
|
|
Итак, вероятно, Кир решил проблему бага #1580
Исходя из описания, мы видим, что раньше возвращаемое значения rsync безвозвратно пропадало. Некоторое время назад сделали так, чтобы возвращаемое значение оставалось доступно, но тут, по-видимому, и поджидала нас засада с vanished файлами, поскольку первый rsync проходит на работающей VE.
|
|
|
|
|
|
|