[openstack-dev] [goal][python3] week 8 update

Doug Hellmann doug at doughellmann.com
Tue Oct 2 16:40:47 UTC 2018


This is week 8 of the "Run under Python 3 by default" goal
(https://governance.openstack.org/tc/goals/stein/python3-first.html). 

== Ongoing and Completed Work ==

I proposed a large set of new patches to update the tox settings for
repositories that were still using python2 for doc, release note,
linter, etc. jobs. Quite a few of those were duplicates, so if you find
that someone else has already started that work please vote -1 on my
patch with a link to the other one, and I'll abandon mine.

+---------------------+---------------------+--------------+---------+----------+---------+------------+-------+--------------------+
| Team                | zuul                | tox defaults | Docs    | 3.6 unit | Failing | Unreviewed | Total | Champion           |
+---------------------+---------------------+--------------+---------+----------+---------+------------+-------+--------------------+
| adjutant            | +                   |   1/  1      | -       | +        |       0 |          1 |     6 | Doug Hellmann      |
| barbican            |   7/ 13             | +            |   1/  3 | +        |       6 |          4 |    20 | Doug Hellmann      |
| blazar              | +                   | +            | +       | +        |       0 |          0 |    25 | Nguyen Hai         |
| Chef OpenStack      | +                   |   2/  2      | -       | -        |       1 |          1 |     3 | Doug Hellmann      |
| cinder              | +                   |   1/  3      | +       | +        |       0 |          1 |    33 | Doug Hellmann      |
| cloudkitty          | +                   | +            | +       | +        |       0 |          0 |    26 | Doug Hellmann      |
| congress            | +                   |   1/  3      | +       | +        |       1 |          1 |    25 | Nguyen Hai         |
| cyborg              | +                   | +            | +       | +        |       0 |          0 |    16 | Nguyen Hai         |
| designate           | +                   |   2/  4      | +       | +        |       0 |          1 |    26 | Nguyen Hai         |
| Documentation       | +                   |   1/  5      | +       | +        |       1 |          1 |    23 | Doug Hellmann      |
| dragonflow          | +                   | -            | +       | +        |       0 |          0 |     6 | Nguyen Hai         |
| ec2-api             | +                   |   2/  2      | +       | +        |       2 |          2 |    14 |                    |
| freezer             | waiting for cleanup |   1/  5      | +       | +        |       0 |          1 |    34 |                    |
| glance              | +                   |   1/  4      | +       | +        |       0 |          0 |    26 | Nguyen Hai         |
| heat                |   3/ 27             |   4/  8      |   1/  6 |   1/  7  |       2 |          4 |    48 | Doug Hellmann      |
| horizon             | +                   |   1/ 32      | +       | +        |       0 |          1 |    42 | Nguyen Hai         |
| I18n                | +                   |   1/  1      | -       | -        |       0 |          0 |     3 | Doug Hellmann      |
| InteropWG           | +                   |   4/  4      | +       |   1/  3  |       2 |          4 |    14 | Doug Hellmann      |
| ironic              | +                   |   1/ 10      | +       | +        |       0 |          1 |    95 | Doug Hellmann      |
| karbor              | +                   | +            | +       | +        |       0 |          0 |    22 | Nguyen Hai         |
| keystone            | +                   |   1/  7      | +       | +        |       0 |          0 |    48 | Doug Hellmann      |
| kolla               | +                   |   1/  1      | +       | +        |       1 |          0 |    13 |                    |
| kuryr               | +                   | +            | +       | +        |       0 |          0 |    20 | Doug Hellmann      |
| magnum              | +                   |   2/  5      | +       | +        |       0 |          1 |    27 |                    |
| manila              | +                   |   4/  8      | +       | +        |       0 |          0 |    32 | Goutham Pacha Ravi |
| masakari            | +                   |   3/  5      | +       | -        |       0 |          3 |    24 | Nguyen Hai         |
| mistral             | +                   | +            | +       | +        |       0 |          0 |    38 | Nguyen Hai         |
| monasca             |   1/ 66             |   5/ 17      | +       | +        |       3 |          4 |   100 | Doug Hellmann      |
| murano              | +                   |   2/  5      | +       | +        |       0 |          2 |    39 |                    |
| neutron             |  15/ 73             |  12/ 18      |   2/ 14 |   2/ 13  |      18 |         18 |   118 | Doug Hellmann      |
| nova                | +                   | +            | +       | +        |       0 |          0 |    37 |                    |
| octavia             | +                   |   1/  4      | +       | +        |       0 |          1 |    35 | Nguyen Hai         |
| OpenStack Charms    |  17/117             |  73/ 73      | -       | -        |      67 |         90 |   190 | Doug Hellmann      |
| OpenStack-Helm      | +                   |   1/  2      | +       | -        |       1 |          0 |     6 |                    |
| OpenStackAnsible    |   6/270             |   1/ 91      | +       | -        |       6 |          2 |   424 |                    |
| OpenStackClient     | +                   |   2/  4      | +       | +        |       0 |          1 |    27 |                    |
| OpenStackSDK        | +                   | +            | +       | +        |       0 |          0 |    25 |                    |
| oslo                | +                   |   1/ 31      | +       | +        |       0 |          1 |   220 | Doug Hellmann      |
| Packaging-rpm       | +                   |   3/  3      | +       | +        |       0 |          1 |    10 | Doug Hellmann      |
| PowerVMStackers     | +                   | -            | -       | +        |       0 |          0 |    18 | Doug Hellmann      |
| Puppet OpenStack    | +                   |   1/  1      | +       | -        |       0 |          1 |   237 | Doug Hellmann      |
| qinling             | +                   | +            | +       | +        |       0 |          0 |    12 |                    |
| Quality Assurance   | +                   |  11/ 14      | +       | +        |       1 |          9 |    63 | Doug Hellmann      |
| rally               | +                   |   2/  3      | +       | -        |       2 |          2 |     7 | Nguyen Hai         |
| Release Management  | +                   | -            | -       | +        |       0 |          0 |     2 | Doug Hellmann      |
| requirements        | +                   | -            | +       | +        |       0 |          0 |     7 | Doug Hellmann      |
| sahara              | +                   |   1/  6      | +       | +        |       0 |          1 |    40 | Doug Hellmann      |
| searchlight         | +                   | +            | +       | +        |       0 |          0 |    22 | Nguyen Hai         |
| senlin              | +                   | +            | +       | +        |       0 |          0 |    25 | Nguyen Hai         |
| SIGs                | +                   |   6/  9      | +       | +        |       1 |          5 |    18 | Doug Hellmann      |
| solum               | +                   |   1/  3      | +       | +        |       0 |          1 |    24 | Nguyen Hai         |
| storlets            | +                   |   1/  2      | +       | +        |       1 |          1 |     9 |                    |
| swift               | +                   |   2/  3      | +       | +        |       1 |          1 |    17 | Nguyen Hai         |
| tacker              | +                   |   3/  4      | +       | +        |       1 |          2 |    25 | Nguyen Hai         |
| Technical Committee | +                   |   1/  2      | -       | +        |       0 |          0 |     9 | Doug Hellmann      |
| Telemetry           |  14/ 31             |   1/  7      |   2/  6 |   2/  6  |       5 |          6 |    50 | Doug Hellmann      |
| tricircle           | +                   | +            | +       | +        |       0 |          0 |    14 | Nguyen Hai         |
| tripleo             | waiting for cleanup | +            | +       | +        |       0 |          0 |   154 | Doug Hellmann      |
| trove               |   8/ 17             |   3/  5      | +       | +        |       1 |          2 |    28 | Doug Hellmann      |
| User Committee      | +                   |   3/  3      |   1/  2 | -        |       0 |          2 |     9 | Doug Hellmann      |
| vitrage             | +                   |   1/  3      | +       | +        |       0 |          1 |    26 | Nguyen Hai         |
| watcher             | +                   | +            | +       | +        |       0 |          0 |    27 | Nguyen Hai         |
| winstackers         | +                   | +            | +       | +        |       0 |          0 |    17 |                    |
| zaqar               | +                   |   1/  3      | +       | +        |       1 |          1 |    25 |                    |
| zun                 | +                   | +            | +       | +        |       0 |          0 |    21 | Nguyen Hai         |
|                     |  55/ 65             |  17/ 61      |  53/ 58 |  52/ 56  |     125 |        183 |  2855 |                    |
+---------------------+---------------------+--------------+---------+----------+---------+------------+-------+--------------------+

== Next Steps ==

We need to to approve the patches proposed by the goal champions, and
then to expand functional test coverage for python 3.

Please document your team's status in the wiki as well:
https://wiki.openstack.org/wiki/Python3

== How can you help? ==

Quite a few of the recent tox updates also exposed issues with using
pylint under python 3, mostly due to having an older version of the tool
pinned. This is a known issue, which was discussed in an earlier update
email. The fixes are usually pretty straightforward, and good
opportunities to contribute while you're waiting for tests to run or if
you're just starting to get into the community. The series of patches
preceding https://review.openstack.org/#/c/606676/ in the
openstack/neutron repository are examples of some of the sorts of
changes needed. If you're interested in helping to fix these sorts of
issues, please leave a comment on the patch that changes the tox
configuration so that we don't have multiple folks working on the same
failures.

1. Choose a patch that has failing tests and help fix
   it. https://review.openstack.org/#/q/topic:python3-first+status:open+(+label:Verified-1+OR+label:Verified-2+)

2. Review the patches for the zuul changes. Keep in mind that some of
   those patches will be on the stable branches for projects.

3. Work on adding functional test jobs that run under Python 3.

== How can you ask for help? ==

If you have any questions, please post them here to the openstack-dev
list with the topic tag [python3] in the subject line. Posting questions
to the mailing list will give the widest audience the chance to see the
answers.

We are using the #openstack-dev IRC channel for discussion as well, but
I'm not sure how good our timezone coverage is so it's probably better
to use the mailing list.

== Reference Material ==

Goal description: https://governance.openstack.org/tc/goals/stein/python3-first.html 
Open patches needing reviews: https://review.openstack.org/#/q/topic:python3-first+is:open
Storyboard: https://storyboard.openstack.org/#!/board/104
Zuul migration notes: https://etherpad.openstack.org/p/python3-first
Zuul migration tracking: https://storyboard.openstack.org/#!/story/2002586
Python 3 Wiki page: https://wiki.openstack.org/wiki/Python3



More information about the OpenStack-dev mailing list