
--_000_12BF481271B3443192F647E7ED67D845sluse_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 2 aug 2012 kl. 15.35 skrev Martin Kletzander: On 08/02/2012 03:10 PM, Karli Sj=F6berg wrote: 2 aug 2012 kl. 15.05 skrev Martin Kletzander: Hi, Thanks for reporting this, I've found now where the problem is and it is in libvirt. However this issue is not easy to fix as it reveals more than just this one problem. The format for outputting floating point numbers into JSON string seems to be locale-dependent. Could you send me what locale are you having? I guess you could migrate the guest by starting libvirt with "LC_ALL=3DC" set. OK, wow, awesome! Sorry, I=B4m not too familiar with Fedora, more of a BSD-guy, in learning:) How do you change Locale to something more appropriate? And what does it like? If you want to set it for the whole system, I think it is in /etc/sysconfig/i18n but I've never did that in Fedora and I bet there is some GUI or at least a TUI interface for that (system-config-language maybe?). Changing it might require you to reboot or re-login, but if you don't want to do that or even if you don't want to change your locale system-wide, just tell me, I'll help you figure out a procedure to start libvirt without changing any of that. I asked 'teh goog':) Here=B4s what I did: # sed -i -- 's/sv_SE/en_US/' /etc/sysconfig/i18n # reboot And it=B4s working now, thanks! However, this is really a bug in our code, so you shouldn't be pushed to do that. I'm looking into that right now. Feel free to create a bug on libvirt with the first log saying that our JSON is locale-dependant. I didn=B4t get to where I am by /not/ knowing english so I won=B4t know the= difference, but I agree with you in essence. Thanks again. Martin Med V=E4nliga H=E4lsningar ---------------------------------------------------------------------------= ---- Karli Sj=F6berg Swedish University of Agricultural Sciences Box 7079 (Visiting Address Kron=E5sv=E4gen 8) S-750 07 Uppsala, Sweden Phone: +46-(0)18-67 15 66 karli.sjoberg@slu.se<mailto:karli.sjoberg@adm.slu.se> --_000_12BF481271B3443192F647E7ED67D845sluse_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode:= space; -webkit-line-break: after-white-space; "><br><div><div>2 aug 2012 k= l. 15.35 skrev Martin Kletzander:</div><br class=3D"Apple-interchange-newli= ne"><blockquote type=3D"cite"><div>On 08/02/2012 03:10 PM, Karli Sj=F6berg = wrote:<br><blockquote type=3D"cite"><br></blockquote><blockquote type=3D"ci= te">2 aug 2012 kl. 15.05 skrev Martin Kletzander:<br></blockquote><blockquo= te type=3D"cite"><br></blockquote><blockquote type=3D"cite"><blockquote typ= e=3D"cite">Hi,<br></blockquote></blockquote><blockquote type=3D"cite"><bloc= kquote type=3D"cite"><br></blockquote></blockquote><blockquote type=3D"cite= "><blockquote type=3D"cite">Thanks for reporting this, I've found now where= the problem is and it is<br></blockquote></blockquote><blockquote type=3D"= cite"><blockquote type=3D"cite">in libvirt. However this issue is not easy = to fix as it reveals more<br></blockquote></blockquote><blockquote type=3D"= cite"><blockquote type=3D"cite">than just this one problem. The format for = outputting floating point<br></blockquote></blockquote><blockquote type=3D"= cite"><blockquote type=3D"cite">numbers into JSON string seems to be locale= -dependent. Could you send me<br></blockquote></blockquote><blockquote type= =3D"cite"><blockquote type=3D"cite">what locale are you having? I guess you= could migrate the guest by<br></blockquote></blockquote><blockquote type= =3D"cite"><blockquote type=3D"cite">starting libvirt with "LC_ALL=3DC" set.= <br></blockquote></blockquote><blockquote type=3D"cite"><br></blockquote><b= lockquote type=3D"cite">OK, wow, awesome! Sorry, I=B4m not too familiar wit= h Fedora, more of a<br></blockquote><blockquote type=3D"cite">BSD-guy, in l= earning:) How do you change Locale to something more<br></blockquote><block= quote type=3D"cite">appropriate? And what does it like?<br></blockquote><bl= ockquote type=3D"cite"><br></blockquote><br>If you want to set it for the w= hole system, I think it is in<br>/etc/sysconfig/i18n but I've never did tha= t in Fedora and I bet there is<br>some GUI or at least a TUI interface for = that (system-config-language<br>maybe?). Changing it might require you to r= eboot or re-login, but if you<br>don't want to do that or even if you don't= want to change your locale<br>system-wide, just tell me, I'll help you fig= ure out a procedure to start<br>libvirt without changing any of that.<br></= div></blockquote><div><br></div>I asked 'teh goog':) Here=B4s what I did:</= div><div># sed -i -- 's/sv_SE/en_US/' /etc/sysconfig/i18n</div><div># reboo= t</div><div><br></div><div>And it=B4s working now, thanks!</div><div><br><b= lockquote type=3D"cite"><div><br>However, this is really a bug in our code,= so you shouldn't be pushed to<br>do that. I'm looking into that right now.= Feel free to create a bug on<br>libvirt with the first log saying that our= JSON is locale-dependant.<br></div></blockquote><div><br></div>I didn=B4t = get to where I am by /not/ knowing english so I won=B4t know the difference= , but I agree with you in essence. Thanks again.</div><div><br><blockquote = type=3D"cite"><div><br>Martin<br></div></blockquote></div><br><div> <div><br class=3D"Apple-interchange-newline"><br></div><div>Med V=E4nliga H= =E4lsningar<br>------------------------------------------------------------= -------------------<br>Karli Sj=F6berg<br>Swedish University of Agricultura= l Sciences<br>Box 7079 (Visiting Address Kron=E5sv=E4gen 8)<br>S-750 07 Upp= sala, Sweden<br>Phone: +46-(0)18-67 15 66</div><div><a href=3D"mailto= :karli.sjoberg@adm.slu.se">karli.sjoberg@slu.se</a></div> </div> <br></body></html>= --_000_12BF481271B3443192F647E7ED67D845sluse_--