<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Seeing this issue when messing around with Gnocchi on Ubuntu 18.04
as well.<br>
Temp solved it by installing ujson from master as suggested in [1]
instead of pypi.<br>
<br>
[1] <a class="moz-txt-link-freetext" href="https://github.com/esnme/ultrajson/issues/346">https://github.com/esnme/ultrajson/issues/346</a><br>
<br>
<div class="moz-cite-prefix">On 1/30/20 9:10 AM, Eddie Yen wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAHZFSBpGs8nGtWSs9iLqFWXNqua=L3R1NfCbmAtHUoSLkMx0yg@mail.gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi Rados<span
style="color:rgb(32,33,36);font-size:0.875rem;letter-spacing:0.2px;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;white-space:nowrap">ł</span>aw,
<div><br>
</div>
<div>Sorry about lost distro information, the distro we're using
is Ubuntu.</div>
<div><br>
</div>
<div>We have an old copy of ceilometer container image, the
ujson.so version between old and latest are both 1.35</div>
<div>But only latest one affected this issue.</div>
<div><br>
</div>
<div>BTW, I read the last reply on issue page. Since he said the
python 3 with newer GCC is OK, I think it may caused by python
version issue or GCC compiler versioning.</div>
<div>It may become a huge architect if it really caused by
compiling issue, if Ubuntu updated GCC or python.</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Radosław Piliszek <<a
href="mailto:radoslaw.piliszek@gmail.com"
moz-do-not-send="true">radoslaw.piliszek@gmail.com</a>> 於
2020年1月30日 週四 下午3:48寫道:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi Eddie,<br>
<br>
the issue is that the project did *not* do a release.<br>
The latest is still 1.35 from Jan 20, *2016*... [1]<br>
<br>
You said only Rocky source - but is this ubuntu or centos?<br>
<br>
Also, by the looks of [2] master ceilometer is no longer
affected, but<br>
monasca and mistral might still be if they call affected
paths.<br>
<br>
The project looks dead so we are fried unless we override and
start<br>
using its sources from git (hacky hacky).<br>
<br>
[1] <a href="https://pypi.org/project/ujson/#history"
rel="noreferrer" target="_blank" moz-do-not-send="true">
https://pypi.org/project/ujson/#history</a><br>
[2] <a
href="http://codesearch.openstack.org/?q=ujson&i=nope&files=&repos="
rel="noreferrer" target="_blank" moz-do-not-send="true">
http://codesearch.openstack.org/?q=ujson&i=nope&files=&repos=</a><br>
<br>
-yoctozepto<br>
<br>
<br>
czw., 30 sty 2020 o 03:31 Eddie Yen <<a
href="mailto:missile0407@gmail.com" target="_blank"
moz-do-not-send="true">missile0407@gmail.com</a>>
napisał(a):<br>
><br>
> Hi everyone,<br>
><br>
> I'm not sure it should be bug report or not. So I email
out about this issue.<br>
><br>
> In these days, I found the Rocky source deployment always
failed at Ceilometer bootstrapping. Then I found it failed at
ceilometer-upgrade.<br>
> So I tried to looking at ceilometer-upgrade.log and the
error shows it failed to import ujson.<br>
><br>
> <a href="https://pastebin.com/nGqsM0uf" rel="noreferrer"
target="_blank" moz-do-not-send="true">https://pastebin.com/nGqsM0uf</a><br>
><br>
> Then I googled it and found this issue is already
happened and released fixes.<br>
> <a href="https://github.com/esnme/ultrajson/issues/346"
rel="noreferrer" target="_blank" moz-do-not-send="true">
https://github.com/esnme/ultrajson/issues/346</a><br>
><br>
> But it seems like the container still using the
questionable one, even today (Jan 30 UTC+8).<br>
> And this not only affected to Ceilometer, but may also
Gnocchi.<br>
><br>
> I think we have to patch it, but not sure about the
workaround.<br>
> Does anyone have good idea?<br>
><br>
> Many thanks,<br>
> Eddie.<br>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>