<div dir="ltr">Hi Balazs,<div><br></div><div>Thanks for the information. But Ubuntu apt-cache is not getting the newer version on Ubuntu 20.4.2. Should I manually install the package? If yes, can someone share the path to get the image. or any other way to get the image other than compiling the source files?</div><div><br></div><div>Thanks,</div><div>Jay</div><div><br></div><div>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(255,238,149);background-color:rgb(21,102,47)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;color:rgb(86,219,233)">$</span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>apt-cache policy placement-api</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(255,238,149);background-color:rgb(21,102,47)"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">placement-api:</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(255,238,149);background-color:rgb(21,102,47)"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>Installed: 1:5.0.0-0ubuntu1~cloud0</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(255,238,149);background-color:rgb(21,102,47)"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>Candidate: 1:5.0.0-0ubuntu1~cloud0</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(255,238,149);background-color:rgb(21,102,47)"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>Version table:</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(255,238,149);background-color:rgb(21,102,47)"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>*** 1:5.0.0-0ubuntu1~cloud0 500</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(255,238,149);background-color:rgb(21,102,47)"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>500 <a href="http://ubuntu-cloud.archive.canonical.com/ubuntu">http://ubuntu-cloud.archive.canonical.com/ubuntu</a> focal-updates/wallaby/main amd64 Packages</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(255,238,149);background-color:rgb(21,102,47)"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>500 <a href="http://ubuntu-cloud.archive.canonical.com/ubuntu">http://ubuntu-cloud.archive.canonical.com/ubuntu</a> focal-updates/wallaby/main i386 Packages</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(255,238,149);background-color:rgb(21,102,47)"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>100 /var/lib/dpkg/status</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(255,238,149);background-color:rgb(21,102,47)"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>3.0.0-0ubuntu0.20.04.1 500</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(255,238,149);background-color:rgb(21,102,47)"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>500 <a href="http://us.archive.ubuntu.com/ubuntu">http://us.archive.ubuntu.com/ubuntu</a> focal-updates/main amd64 Packages</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(255,238,149);background-color:rgb(21,102,47)"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>500 <a href="http://us.archive.ubuntu.com/ubuntu">http://us.archive.ubuntu.com/ubuntu</a> focal-updates/main i386 Packages</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(255,238,149);background-color:rgb(21,102,47)"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>3.0.0~b3~git2020041014.0f90d197-0ubuntu1 500</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(255,238,149);background-color:rgb(21,102,47)"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>500 <a href="http://us.archive.ubuntu.com/ubuntu">http://us.archive.ubuntu.com/ubuntu</a> focal/main amd64 Packages</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Courier;color:rgb(255,238,149);background-color:rgb(21,102,47)"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>500 <a href="http://us.archive.ubuntu.com/ubuntu">http://us.archive.ubuntu.com/ubuntu</a> focal/main i386 Packages</span></p></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 12, 2021 at 5:42 PM Balazs Gibizer <balazs.gibizer@est.tech> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
On Mon, Jul 12, 2021 at 11:44, Jay See <<a href="mailto:jayachander.it@gmail.com" target="_blank">jayachander.it@gmail.com</a>> wrote:<br>
> Hi,<br>
> <br>
> I am still seeing the same error on Ubuntu 20.04. My controller nodes <br>
> are running with wallaby (latest). Compute nodes are still running <br>
> with Victoria, to get it working properly, do we need to upgrade the <br>
> compute nodes to Wallaby or it should be working before upgrading?<br>
<br>
What is your wallaby Placement version? The fix was released in <br>
Placement 5.0.1. If you run the upgrade check on the controllers with <br>
Placement 5.0.1 then you should not see the error even if the compute <br>
are still on Victoria.<br>
<br>
Cheers,<br>
gibi<br>
<br>
> <br>
> ~ Jay<br>
> <br>
> On Sat, Apr 24, 2021 at 9:51 AM Balazs Gibizer <br>
> <balazs.gibizer@est.tech> wrote:<br>
>> <br>
>> <br>
>> On Fri, Apr 23, 2021 at 22:52, Deepak Mohanty <<a href="mailto:dmohanty@gmail.com" target="_blank">dmohanty@gmail.com</a>><br>
>> wrote:<br>
>> > I need your help with installation of placement service on Ubuntu<br>
>> > 20.04. I have followed the steps in:<br>
>> > <br>
>> <a href="https://docs.openstack.org/placement/wallaby/install/install-ubuntu.html" rel="noreferrer" target="_blank">https://docs.openstack.org/placement/wallaby/install/install-ubuntu.html</a><br>
>> ><br>
>> > I am facing the following issue when I try to verify the <br>
>> installation:<br>
>> > $ placement-status upgrade check<br>
>> > Error:<br>
>> > Traceback (most recent call last):<br>
>> > File<br>
>> > <br>
>> "/usr/lib/python3/dist-packages/oslo_upgradecheck/upgradecheck.py",<br>
>> > line 196, in run<br>
>> > return conf.command.action_fn()<br>
>> > File<br>
>> > <br>
>> "/usr/lib/python3/dist-packages/oslo_upgradecheck/upgradecheck.py",<br>
>> > line 104, in check<br>
>> > result = func_name(self, **kwargs)<br>
>> > File<br>
>> > <br>
>> "/usr/lib/python3/dist-packages/oslo_upgradecheck/common_checks.py",<br>
>> > line 41, in check_policy_json<br>
>> > policy_path = conf.find_file(conf.oslo_policy.policy_file)<br>
>> > File "/usr/lib/python3/dist-packages/oslo_config/cfg.py", line<br>
>> > 2543, in find_file<br>
>> > raise NotInitializedError()<br>
>> > oslo_config.cfg.NotInitializedError: call expression on parser has<br>
>> > not been invoked<br>
>> <br>
>> I think you hit the bug [1]. The fix has been merged to master and a<br>
>> backport is proposed to stable/wallaby as well[2].<br>
>> <br>
>> Cheers,<br>
>> gibi<br>
>> <br>
>> [1] <a href="https://storyboard.openstack.org/#!/story/2008831" rel="noreferrer" target="_blank">https://storyboard.openstack.org/#!/story/2008831</a><br>
>> [2] <a href="https://review.opendev.org/q/topic:story/2008831" rel="noreferrer" target="_blank">https://review.opendev.org/q/topic:story/2008831</a><br>
>> <br>
>> ><br>
>> > I did a bit of debugging and found that the policy file is:<br>
>> > policy.json. I could not find any policy.json on my machine. I<br>
>> > created an empty policy.json at: /etc/placement/policy.json (user <br>
>> and<br>
>> > group = placement). That too did not work.<br>
>> ><br>
>> > I have followed the steps in the install guide twice, deleting the<br>
>> > placement database and other resources and recreating them. I<br>
>> > continue to see the same issue.<br>
>> ><br>
>> > Thank you for your time.<br>
>> <br>
>> <br>
>> <br>
> <br>
> <br>
> --<br>
> P SAVE PAPER – Please do not print this e-mail unless <br>
> absolutely necessary.<br>
<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><span lang="EN-GB" style="font-size:18pt;font-family:Webdings;color:green"><div style="font-family:arial,helvetica,sans-serif;display:inline"></div>P</span><span lang="EN-US" style="font-size:8pt;font-family:Arial,sans-serif;color:green"> </span><b style="font-family:Calibri,sans-serif;font-size:14.4444px"><span lang="EN-US" style="font-size:8pt;color:green">SAVE PAPER – Please do not print this e-mail unless absolutely necessary.</span></b><br></div></div>