placement service issue (placement-status upgrade check failure)
Jay See
jayachander.it at gmail.com
Mon Jul 12 17:00:17 UTC 2021
Hi Balazs,
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?
Thanks,
Jay
$ apt-cache policy placement-api
placement-api:
Installed: 1:5.0.0-0ubuntu1~cloud0
Candidate: 1:5.0.0-0ubuntu1~cloud0
Version table:
*** 1:5.0.0-0ubuntu1~cloud0 500
500 http://ubuntu-cloud.archive.canonical.com/ubuntu
focal-updates/wallaby/main amd64 Packages
500 http://ubuntu-cloud.archive.canonical.com/ubuntu
focal-updates/wallaby/main i386 Packages
100 /var/lib/dpkg/status
3.0.0-0ubuntu0.20.04.1 500
500 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64
Packages
500 http://us.archive.ubuntu.com/ubuntu focal-updates/main i386
Packages
3.0.0~b3~git2020041014.0f90d197-0ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu focal/main i386 Packages
On Mon, Jul 12, 2021 at 5:42 PM Balazs Gibizer <balazs.gibizer at est.tech>
wrote:
>
>
> On Mon, Jul 12, 2021 at 11:44, Jay See <jayachander.it at gmail.com> wrote:
> > Hi,
> >
> > I am still seeing the same error on Ubuntu 20.04. My controller nodes
> > are running with wallaby (latest). Compute nodes are still running
> > with Victoria, to get it working properly, do we need to upgrade the
> > compute nodes to Wallaby or it should be working before upgrading?
>
> What is your wallaby Placement version? The fix was released in
> Placement 5.0.1. If you run the upgrade check on the controllers with
> Placement 5.0.1 then you should not see the error even if the compute
> are still on Victoria.
>
> Cheers,
> gibi
>
> >
> > ~ Jay
> >
> > On Sat, Apr 24, 2021 at 9:51 AM Balazs Gibizer
> > <balazs.gibizer at est.tech> wrote:
> >>
> >>
> >> On Fri, Apr 23, 2021 at 22:52, Deepak Mohanty <dmohanty at gmail.com>
> >> wrote:
> >> > I need your help with installation of placement service on Ubuntu
> >> > 20.04. I have followed the steps in:
> >> >
> >>
> https://docs.openstack.org/placement/wallaby/install/install-ubuntu.html
> >> >
> >> > I am facing the following issue when I try to verify the
> >> installation:
> >> > $ placement-status upgrade check
> >> > Error:
> >> > Traceback (most recent call last):
> >> > File
> >> >
> >> "/usr/lib/python3/dist-packages/oslo_upgradecheck/upgradecheck.py",
> >> > line 196, in run
> >> > return conf.command.action_fn()
> >> > File
> >> >
> >> "/usr/lib/python3/dist-packages/oslo_upgradecheck/upgradecheck.py",
> >> > line 104, in check
> >> > result = func_name(self, **kwargs)
> >> > File
> >> >
> >> "/usr/lib/python3/dist-packages/oslo_upgradecheck/common_checks.py",
> >> > line 41, in check_policy_json
> >> > policy_path = conf.find_file(conf.oslo_policy.policy_file)
> >> > File "/usr/lib/python3/dist-packages/oslo_config/cfg.py", line
> >> > 2543, in find_file
> >> > raise NotInitializedError()
> >> > oslo_config.cfg.NotInitializedError: call expression on parser has
> >> > not been invoked
> >>
> >> I think you hit the bug [1]. The fix has been merged to master and a
> >> backport is proposed to stable/wallaby as well[2].
> >>
> >> Cheers,
> >> gibi
> >>
> >> [1] https://storyboard.openstack.org/#!/story/2008831
> >> [2] https://review.opendev.org/q/topic:story/2008831
> >>
> >> >
> >> > I did a bit of debugging and found that the policy file is:
> >> > policy.json. I could not find any policy.json on my machine. I
> >> > created an empty policy.json at: /etc/placement/policy.json (user
> >> and
> >> > group = placement). That too did not work.
> >> >
> >> > I have followed the steps in the install guide twice, deleting the
> >> > placement database and other resources and recreating them. I
> >> > continue to see the same issue.
> >> >
> >> > Thank you for your time.
> >>
> >>
> >>
> >
> >
> > --
> > P SAVE PAPER – Please do not print this e-mail unless
> > absolutely necessary.
>
>
>
--
P *SAVE PAPER – Please do not print this e-mail unless absolutely
necessary.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210712/488b62bf/attachment-0001.html>
More information about the openstack-discuss
mailing list