stx-openstack upload fails: 'module' object has no attribute 'CEPH_POOL_BACKUP_PG_NUM'

Bug #1900710 reported by Alexandru Dimofte
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Critical
Lin Shuicheng

Bug Description

Brief Description
-----------------
stx-openstack upload-failed because of 'module' object has no attribute 'CEPH_POOL_BACKUP_PG_NUM'.

Severity
--------
<Major: System/Feature is usable but degraded>

Steps to Reproduce
------------------
Install http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/flock/20201019T230234Z/outputs/iso/ and it will fails uploading stx-openstack.

Expected Behavior
------------------
This error should not exist.

Actual Behavior
----------------
Stx install fails at provisioning.

Reproducibility
---------------
100%

System Configuration
--------------------
all configurations are affected.

Branch/Pull Time/Commit
-----------------------
Master branch. Some changes were made on 19th-20th of October.

Last Pass
---------
19th of October 2020.

Timestamp/Logs
--------------
sysinv 2020-10-20 04:45:57.958 105738 INFO k8sapp_openstack.helm.neutron [-] _get_neutron_ml2_config={'ml2': {'physical_network_mtus': 'physnet0:1500,physnet1:1500'}, 'ml2_type_flat': {'flat_networks': ''}}
sysinv 2020-10-20 04:45:59.107 105738 ERROR sysinv.conductor.kube_app [-] 'module' object has no attribute 'CEPH_POOL_BACKUP_PG_NUM': AttributeError: 'module' object has no attribute 'CEPH_POOL_BACKUP_PG_NUM'

Entire log will be attached.

Test Activity
-------------
Sanity

Workaround
----------
-

Revision history for this message
Alexandru Dimofte (adimofte) wrote :
Revision history for this message
Bruce Jones (brucej) wrote :

Yong can you please have someone from your team look into this, thanks!

Changed in starlingx:
assignee: nobody → yong hu (yhu6)
importance: Undecided → Critical
Revision history for this message
yong hu (yhu6) wrote :

@shuicheng might help look at this issue. It looks like a recent regression.

Changed in starlingx:
assignee: yong hu (yhu6) → Lin Shuicheng (shuicheng)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-armada-app (master)

Fix proposed to branch: master
Review: https://review.opendev.org/758914

Changed in starlingx:
status: New → In Progress
Ghada Khalil (gkhalil)
tags: added: stx.5.0
tags: added: stx.distro.openstack
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-armada-app (master)

Reviewed: https://review.opendev.org/758914
Committed: https://git.openstack.org/cgit/starlingx/openstack-armada-app/commit/?id=e972af2ec6dc97f1274edcd99c267bcb1f1eb893
Submitter: Zuul
Branch: master

commit e972af2ec6dc97f1274edcd99c267bcb1f1eb893
Author: Shuicheng Lin <email address hidden>
Date: Wed Oct 21 09:28:37 2020 +0800

    Correct CEPH_POOL_BACKUP_PG_NUM name to fix python module error

    The correct name should be CEPH_POOL_BACKUP_CHUNK_SIZE.

    Closes-Bug: 1900710

    Change-Id: Ie3aa2c6009cc626c2224ea464e8bea8c719316a3
    Signed-off-by: Shuicheng Lin <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Revision history for this message
Lin Shuicheng (shuicheng) wrote :

Here is the regression info:
It is caused by https://review.opendev.org/757015
The parameter definition name is changed during patch review, but it is not changed in the code, and lead to this error.

Revision history for this message
Lin Shuicheng (shuicheng) wrote :

If the test of applying stx-openstack was done, this issue should have been detected.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.