[Users] Container creation hangs forever
Kirill Korotaev
dev at parallels.com
Wed Jun 23 07:19:14 EDT 2010
The answer should lie in these messages:
>>>> Unable to get full ostemplate name for centos-5-x86
>> Warning: distribution not specified default used /etc/vz/dists/default
which says that OS distribution wasn't detected for some reason correctly on container creation and thus on start default network configuration setup was used (which didn't work I guess).
Check your template and vzctl installation.
On Jun 23, 2010, at 14:08 , Nirmal Guhan wrote:
> Hi there,
>
> Any clue on this? Am stuck here for few days now :(
>
> --Nirmal
>
> On Mon, Jun 21, 2010 at 2:18 PM, Nirmal Guhan <vavatutu at gmail.com> wrote:
>> I don't think there is any kernel crash. I ran gdb and this is where
>> it waits for ever. Any other command (from other sessions) too hang
>> after this point :(
>>
>> (gdb) run enter 50
>> Starting program: /usr/sbin/vzctl enter 50
>> Container is not running
>>
>> Program exited with code 037.
>> Missing separate debuginfos, use: debuginfo-install vzctl-3.0.23-1.i386
>> (gdb) run start 50
>> Starting program: /usr/sbin/vzctl start 50
>> Warning: distribution not specified default used /etc/vz/dists/default
>> Starting container ...
>> Detaching after fork from child process 1263.
>> Initializing quota ...
>> Detaching after fork from child process 1264.
>> Detaching after fork from child process 1265.
>> Container is mounted
>> Detaching after fork from child process 1266.
>> ^C
>> Program received signal SIGINT, Interrupt.
>> 0x00263832 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
>> (gdb) bt
>> #0 0x00263832 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
>> #1 0x00350003 in __read_nocancel () from /lib/libc.so.6
>> #2 0x4f60c1ca in vz_env_create (h=0x8051e48, veid=50, res=0x8051018,
>> wait_p=0xbfffeeb8, err_p=0xbfffeeb0, fn=0, data=0xfffffe00) at env.c:487
>> #3 0x4f60cf0f in vps_start_custom (h=0x8051e48, veid=50, param=0x8051008,
>> skip=SKIP_NONE, mod=0xfffffe00, fn=0xfffffe00, data=0xfffffe00)
>> at env.c:600
>> #4 0x4f60d4a5 in vps_start (h=0xfffffe00, veid=4294966784, param=0xfffffe00,
>> skip=4294966784, mod=0xfffffe00) at env.c:682
>> #5 0x0804c58a in run_action ()
>> #6 0x0804d26b in main ()
>> (gdb) c
>> Continuing.
>> ^C
>> Program received signal SIGINT, Interrupt.
>> 0x00263832 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
>> (gdb) bt
>> #0 0x00263832 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
>> #1 0x00350003 in __read_nocancel () from /lib/libc.so.6
>> #2 0x4f60c1ca in vz_env_create (h=0x8051e48, veid=50, res=0x8051018,
>> wait_p=0xbfffeeb8, err_p=0xbfffeeb0, fn=0, data=0xfffffe00) at env.c:487
>> #3 0x4f60cf0f in vps_start_custom (h=0x8051e48, veid=50, param=0x8051008,
>> skip=SKIP_NONE, mod=0xfffffe00, fn=0xfffffe00, data=0xfffffe00)
>> at env.c:600
>> #4 0x4f60d4a5 in vps_start (h=0xfffffe00, veid=4294966784, param=0xfffffe00,
>> skip=4294966784, mod=0xfffffe00) at env.c:682
>> #5 0x0804c58a in run_action ()
>> #6 0x0804d26b in main ()
>> (gdb)
>>
>> --Nirmal
>>
>> On Sun, Jun 20, 2010 at 10:03 AM, Enrico Weigelt <weigelt at metux.de> wrote:
>>> * Nirmal Guhan <vavatutu at gmail.com> wrote:
>>>> Hi,
>>>>
>>>> I followed the steps in
>>>> http://wiki.openvz.org/OS_template_cache_preparation to create the
>>>> template. I used
>>>>
>>>> Alternative: use precreated template cache
>>>>
>>>> to copy the template to /vz/template/cache and then
>>>>
>>>> vzctl create 107 --ostemplate centos-5-x86
>>>> Unable to get full ostemplate name for centos-5-x86
>>>> Creating container private area (centos-5-x86)
>>>>
>>>> It then hangs here for ever (I waited almost 2 hrs and have a faster
>>>> internet connection too).
>>>
>>> Any sign of kernel crash in syslog ?
>>>
>>>
>>> cu
>>> --
>>> ---------------------------------------------------------------------
>>> Enrico Weigelt == metux IT service - http://www.metux.de/
>>> ---------------------------------------------------------------------
>>> Please visit the OpenSource QM Taskforce:
>>> http://wiki.metux.de/public/OpenSource_QM_Taskforce
>>> Patches / Fixes for a lot dozens of packages in dozens of versions:
>>> http://patches.metux.de/
>>> ---------------------------------------------------------------------
>>> _______________________________________________
>>> Users mailing list
>>> Users at openvz.org
>>> https://openvz.org/mailman/listinfo/users
>>>
>>
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
More information about the Users
mailing list