Error with Placement and oslo_config

Balazs Gibizer balazs.gibizer at est.tech
Thu Apr 22 10:30:15 UTC 2021



On Thu, Apr 22, 2021 at 12:00, Maxime d'Estienne 
<destienne.maxime at gmail.com> wrote:
> Hello,

Hi!

> 
> I'm deploying the Wallaby release, after configuring Placement, I 
> have this error when running placement-status upgrade check
> 
> 
>  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 are hit the bug [1]. We already fixed it on master. And now 
I proposed the backport to stable wallaby.

[1] https://storyboard.openstack.org/#!/story/2008831
[2] https://review.opendev.org/q/topic:story/2008831

Cheers,
gibi

> 
> It seems like migrations have been made, connection to database seems 
> ok from the placement.conf file.
> 
> I added this environment variable : 
> OS_PLACEMENT_DATABASE__CONNECTION=mysql+pymysql://placement:placementPASSWD@controller1/placement
> 
> (With the right password)
> 
> I don't understand this error as I used the installation guide to 
> install Placement.
> 
> Do you know where I could dig ?
> 
> Thanks a lot !
> 
> 





More information about the openstack-discuss mailing list