[sahara][stable] periodic-stable errors

Előd Illés elod.illes at est.tech
Fri Jul 30 18:17:22 UTC 2021


On 2021. 07. 30. 18:00, Luigi Toscano wrote:
> On Friday, 30 July 2021 17:39:53 CEST Előd Illés wrote:
>> Hi Sahara Team,
>>
>> In the last couple of months the periodic-stable job errors (and thus
>> the mails on openstack-stable-maint mailing list [1], where mails are
>> sent from every failing jobs) increased significantly. I've talked with
>> the infra team as the mail traffic is quite visible for them as well.
>>
>> I've seen that Sahara's stable branches started to fail as well so
>> collected the recent failures with examples. Please take a look at them
>> and try to fix them.
>>
>> The errors seem to be related to cinder's v2 removal ("No module named
>> 'cinderclient.v2'"):
> It's not a sahara issue:

sometimes stable gate issues are caused by dependency changes,
but even in these cases the gate needs to be fixed somehow. :/

>
> 'openstackdocs_auto_name' option
> 2021-07-30 06:52:56.879756 | ubuntu-focal | [oslo_config.sphinxconfiggen]
> reading config generator instructions from /home/zuul/src/opendev.org/
> openstack/sahara/doc/source/config-generator.conf
> 2021-07-30 06:52:56.879842 | ubuntu-focal | [oslo_config.sphinxconfiggen]
> writing sample configuration to /home/zuul/src/opendev.org/openstack/sahara/
> doc/source/sample.config
> 2021-07-30 06:52:57.573276 | ubuntu-focal |
> 2021-07-30 06:52:57.573349 | ubuntu-focal | Extension error
> (oslo_config.sphinxconfiggen):
> 2021-07-30 06:52:57.573474 | ubuntu-focal | Handler <function generate_sample
> at 0x7f6e1a582700> for event 'builder-inited' threw an exception (exception:
> No module named 'cinderclient.v2')
> 2021-07-30 06:52:57.744571 | ubuntu-focal | ERROR: InvocationError for command
> /home/zuul/src/opendev.org/openstack/sahara/.tox/docs/bin/sphinx-build -W -b
> html doc/source doc/build/html (exited with code 2)
>
>
> I guess oslo_config should be fixed? But how does a change in master affects
> stable branches?
>
Now I've investigated the issue a bit deeper and actually it's not even
an oslo.config problem, rather the python-cinderclient's latest version
caused the issue. If the correct python-cinderclient is installed (<8.0.0),
then 'tox -e docs' builds successfully.

This shows that upper-constraints.txt was not used for dependency
installation. I've proposed a fix for this issue:

https://review.opendev.org/q/topic:fix-docs-reqs

Cheers,

Előd






More information about the openstack-discuss mailing list