Skip to contentSkip to conversation

xen create - Unexpected error: exceptions.ValueError

DISCUSSION Sean Bushby 2 participants 3 messages Mar 12, 2006 – Mar 13, 2006

lore
Share & tools
lore
#0 lore raw

Getting this error and it advised to mail you.

[root@server ~]# xm create web
Using config file "web".
Unexpected error: exceptions.ValueError

Please report to [email protected]
Traceback (most recent call last):
File "/usr/sbin/xm", line 10, in ?
main.main(sys.argv)
File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 710, in main
rc = cmd(args)
File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 176, in
xm_create
create.main(args)
File "/usr/lib/python2.4/site-packages/xen/xm/create.py", line 825, in
main
preprocess(opts, opts.vals)
File "/usr/lib/python2.4/site-packages/xen/xm/create.py", line 718, in
preproc
ess
preprocess_vifs(opts, vals)
File "/usr/lib/python2.4/site-packages/xen/xm/create.py", line 593, in
preproc
ess_vifs

    (k, v) = b.strip().split('=', 1)

ValueError: need more than 1 value to unpack

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 26 lines · Sean Bushby

Getting this error and it advised to mail you.

[root@server ~]# xm create web
Using config file "web".
Unexpected error: exceptions.ValueError

Please report to [1][email protected]
Traceback (most recent call last):
File "/usr/sbin/xm", line 10, in ?
main.main(sys.argv)
File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 710, in
main
rc = cmd(args)
File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 176, in
xm_create
create.main(args)
File "/usr/lib/python2.4/site-packages/xen/xm/create.py", line 825, in
main
preprocess(opts, opts.vals)
File "/usr/lib/python2.4/site-packages/xen/xm/create.py", line 718, in
preproc
ess
preprocess_vifs(opts, vals)
File "/usr/lib/python2.4/site-packages/xen/xm/create.py", line 593, in
preproc
ess_vifs

Quoted 2 lines
    (k, v) = b.strip().split('=', 1)

ValueError: need more than 1 value to unpack

Stefan, it looks like the preprocess_vtpm code needs to be a little more careful -- can I punt this one to you?

Sean, it looks like you are using a vtpm config option that's not correctly formed -- it should be a list of key=value pairs.

Cheers,

Ewan.

#2 lore raw
In reply to Sean Bushby
Quoted 26 lines · Sean Bushby

Getting this error and it advised to mail you.

[root@server ~]# xm create web
Using config file "web".
Unexpected error: exceptions.ValueError

Please report to [1][email protected]
Traceback (most recent call last):
File "/usr/sbin/xm", line 10, in ?
main.main(sys.argv)
File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 710, in
main
rc = cmd(args)
File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 176, in
xm_create
create.main(args)
File "/usr/lib/python2.4/site-packages/xen/xm/create.py", line 825, in
main
preprocess(opts, opts.vals)
File "/usr/lib/python2.4/site-packages/xen/xm/create.py", line 718, in
preproc
ess
preprocess_vifs(opts, vals)
File "/usr/lib/python2.4/site-packages/xen/xm/create.py", line 593, in
preproc
ess_vifs

Quoted 2 lines
    (k, v) = b.strip().split('=', 1)

ValueError: need more than 1 value to unpack

Also Sean, if you could file this in Bugzilla and attach that config file ("web") above, that would be great. Thanks,

Ewan.