[OpenIndiana-discuss] zone install hangs/never completes

Achim Wolpers achimwo7 at googlemail.com
Thu Nov 15 21:33:49 UTC 2012


Am 15.11.2012 um 13:26 schrieb openindiana-discuss-request at openindiana.org:

> On ne, 2012-11-11 at 17:00 +0100, Achim Wolpers wrote:	       
>> `ptree`
>> 
>> 	929   /usr/lib/ssh/sshd
>> 	  6652  /usr/lib/ssh/sshd
>> 	    6653  /usr/lib/ssh/sshd
>> 	      6657  -bash
>> 	        7044  zoneadm -z wolke install
>> 	          7046  /bin/ksh -p /usr/lib/brand/ipkg/pkgcreatezone -z wolke -R /tank/zone/wolke
>> 	            7246  /usr/bin/python2.6 /usr/bin/pkg image-create -f --no-refresh --zone --full -p o
>> 	            
> 
> truss -p 7246
> 
> pstack 7246
> 
> ? What is it trying to do?
> 

That is the result:

`truss -p 12074`	

	lwp_mutex_timedlock(0xFCEF0000, 0x00000000, 0xFEE12A40) (sleeping...)

`pstack 12074`

	12074:  /usr/bin/python2.6 /usr/bin/pkg image-create -f --no-refresh --zone --
	 fef04795 lwp_mutex_timedlock (fcef0000, 0, fee12a40)
	 feef70c5 mutex_lock_internal (fcef0000, 0, 1, feef7446) + 25d
	 feef7615 mutex_lock_impl (fcef0000, 0, 0, fddd1a92, 0, fdde3000) + 1dd
	 feef76d8 mutex_lock (fcef0000, fdde3000, 804642c, fddd1890) + 10
	 fddd18a9 uuid_create (8046444, fd399488, 8046534, fddd1f99) + 85
	 fddd1fb3 uuid_generate_time (8a4d440, 80464a8, fd343b64, fd343960, 8046490, 4) + 27
	 fd343c7b ffi_call_SYSV (fd343960, 8046490, 4, 1, 8046550, fddd1f8c) + 17
	 fd343b64 ffi_call (80464d0, fddd1f8c, 8046550, 8046540) + 74
	 fd37ff36 _call_function_pointer (1101, fddd1f8c, 8046540, 8046530, 880a324, 8046550) + 76
	 fd380668 _CallProc (fddd1f8c, 8a569ac, 1101, 0, 82ce3c4, 0) + 2dc
	 fd37bce4 CFuncPtr_call (8317d2c, 8a569ac, 0, fecc2641) + 190
	 fecc2697 PyObject_Call (8317d2c, 8a569ac, 0, fed59621) + 67
	 fed59685 do_call  (8317d2c, 804676c, 1, 0) + 75
	 fed58d7c call_function (804676c, 1, 6ee409f, fed53591) + c8
	 fed5625b PyEval_EvalFrameEx (8aa2074, 0, 8327dfc, 0) + 2cdb
	   [ /usr/lib/python2.6/uuid.py:484 (uuid1) ]
	 fed57bff PyEval_EvalCodeEx (87fe218, 8327dfc, 0, 8aa205c, 0, 8aa205c) + 8cb
	 fed59270 fast_function (88048ec, 804693c, 0, 0, 0, fedce804) + 174
	 fed58d98 call_function (804693c, 0, 76270225, fed53591) + e4
	 fed5625b PyEval_EvalFrameEx (8aa1f14, 0, 8327604, 0) + 2cdb
	   [ /usr/lib/python2.6/vendor-packages/pkg/client/publisher.py:1907 (reset_client_uuid) ]
	 fed59207 fast_function (8813ed4, 8046a7c, 1, 1, 0, fedce804) + 10b
	 fed58d98 call_function (8046a7c, 0, feddbe10, fed53591) + e4
	 fed5625b PyEval_EvalFrameEx (8aa1d7c, 0, 8327604, 0) + 2cdb
	   [ /usr/lib/python2.6/vendor-packages/pkg/client/publisher.py:806 (__init__) ]
	 fed57bff PyEval_EvalCodeEx (87e8380, 8327604, 0, 8a5ba98, 2, 8301020) + 8cb
	 fece77fd function_call (8813764, 8a5ba8c, 8a5c1c4, fecc2641) + 13d
	 fecc2697 PyObject_Call (8813764, 8a5ba8c, 8a5c1c4, fecd1f9c) + 67
	 fecd20d9 instancemethod_call (85b211c, 8a5652c, 8a5c1c4, fecc2641) + 151
	 fecc2697 PyObject_Call (85b211c, 8a5652c, 8a5c1c4, fed1f519) + 67
	 fed1f555 slot_tp_init (8a5d7cc, 8a5652c, 8a5c1c4, fed14161) + 4d
	 fed14213 type_call (834e3bc, 8a5652c, 8a5c1c4, fecc2641) + c3
	 fecc2697 PyObject_Call (834e3bc, 8a5652c, 8a5c1c4, 834e3bc) + 67
	 fed59685 do_call  (834e3bc, 8046fec, 1, 1) + 75
	 fed58d7c call_function (8046fec, 101, b71dd0e1, fed5557b) + c8
	 fed5625b PyEval_EvalFrameEx (8a85cbc, 0, 825be84, 0) + 2cdb
	   [ /usr/lib/python2.6/vendor-packages/pkg/client/api.py:5263 (image_create) ]
	 fed57bff PyEval_EvalCodeEx (8281800, 825be84, 0, 82683f0, 5, 8268404) + 8cb
	 fed59270 fast_function (8a545a4, 80471bc, 1d, 5, c, 80471bc) + 174
	 fed58d98 call_function (80471bc, c05, 721a706c, 0) + e4
	 fed5625b PyEval_EvalFrameEx (8268234, 0, 80941c4, 0) + 2cdb
	   [ /usr/bin/pkg:5360 (image_create) ]
	 fed59207 fast_function (8a57924, 80472fc, 1, 1, 0, fedce804) + 10b
	 fed58d98 call_function (80472fc, 1, 6f2, 0) + e4
	 fed5625b PyEval_EvalFrameEx (82a88c4, 0, 80941c4, 0) + 2cdb
	   [ /usr/bin/pkg:5895 (main_func) ]
	 fed57bff PyEval_EvalCodeEx (86e9530, 80941c4, 0, 8062038, 0, 8300fd0) + 8cb
	 fece77fd function_call (8a57b1c, 806202c, 8296604, fecc2641) + 13d
	 fecc2697 PyObject_Call (8a57b1c, 806202c, 8296604, 8047510) + 67
	 fed598ee ext_do_call (8a57b1c, 8047510, 3, 0, 0, 1b) + 156
	 fed56308 PyEval_EvalFrameEx (83039c4, 0, 80475a8, fed5740c) + 2d88
	   [ /usr/bin/pkg:5954 (handle_errors) ]
	 fed57bff PyEval_EvalCodeEx (86e95c0, 80941c4, 0, 871a434, 1, 871a438) + 8cb
	 fed59270 fast_function (8a57b54, 80476dc, 1, 1, 0, fedce804) + 174
	 fed58d98 call_function (80476dc, 1, 80621dc, fed5604b) + e4
	 fed5625b PyEval_EvalFrameEx (871a2f4, 0, 80941c4, 80941c4) + 2cdb
	   [ /usr/bin/pkg:6090 (<module>) ]
	 fed57bff PyEval_EvalCodeEx (86e9608, 80941c4, 80941c4, 0, 0, 0) + 8cb
	 fed53479 PyEval_EvalCode (86e9608, 80941c4, 80941c4, 80a3998) + 35
	 fed77e75 run_mod  (87e4698, 8047b93, 80941c4, 80941c4, 804793c) + 3d
	 fed77e0a PyRun_FileExFlags (fef64bf0, 8047b93, 101, 80941c4, 80941c4, 1) + 6e
	 fed76f56 PyRun_SimpleFileExFlags (fef64bf0, 8047b93, 1, 804793c) + 18a
	 fed7692d PyRun_AnyFileExFlags (fef64bf0, 8047b93, 1, 804793c) + 71
	 fed85216 Py_Main  (a, 8047a50, fef06405, 8050b8b) + a9a
	 08050be2 main     (a, 8047a50, 8047a7c, 8047a0c) + 66
	 08050aed _start   (a, 8047b80, 8047b93, 8047ba0, 8047bad, 8047bb0) + 7d
	 
	 
Can you figure out, what is wrong with that?

Achim




More information about the OpenIndiana-discuss mailing list