system application-upload fails with No module named systemconfig.helm_plugins.stx_openstack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Lin Shuicheng |
Bug Description
Brief Description
-----------------
system application-upload fails with No module named systemconfig.
Severity
--------
Critical
Steps to Reproduce
------------------
Follow up documentation: https:/
During the step
source /etc/platform/
system application-upload stx-openstack-
system application-list
Expected Behavior
------------------
Application loaded
Actual Behavior
------------------
Application remains on uploading status
Reproducibility
---------------
The issue is 100% reproducible in simplex
System Configuration
-------
simplex BM and virtual
Branch/Pull Time/Commit
-------
OS="centos"
SW_VERSION="19.01"
BUILD_TARGET="Host Installer"
BUILD_TYPE="Formal"
BUILD_ID=
JOB="STX_
<email address hidden>"
BUILD_NUMBER="92"
BUILD_HOST=
BUILD_DATE=
Timestamp/Logs
--------------
Application remains on uploading status:
[wrsroot@
+------
| application | version | manifest name | manifest file | status | progress |
+------
| stx-openstack | 1.0-11-
+------
On `/var/log/
2019-05-06 15:06:28.767 73153 ERROR stevedore.extension [-] Could not load 'stx-openstack': No module named systemconfig.
Test Activity
-------------
Sanity
Changed in starlingx: | |
assignee: | nobody → Cindy Xie (xxie1) |
The error flagged in this launchpad is benign, although it should be fixed. That error log always occurs and adds excess noise in the logs.
The failure here is that the sysinv process is terminated while the application is being uploaded, and the status in the DB is never updated, so there is no feedback to the user that the process will ever complete.
Here are the logs related to that termination of the process
2019-05-06 15:12:38.790 75366 INFO oslo_service. service [-] Caught SIGTERM, stopping children service [-] Waiting on 2 children to exit service [-] Child 75739 exited with status 0 service [-] Child 75738 exited with status 0
2019-05-06 15:12:38.791 75366 INFO oslo.service.wsgi [-] Stopping WSGI server.
2019-05-06 15:12:38.791 75366 INFO oslo_service.
2019-05-06 15:12:38.792 75739 INFO oslo.service.wsgi [-] Stopping WSGI server.
2019-05-06 15:12:38.792 75738 INFO oslo.service.wsgi [-] Stopping WSGI server.
2019-05-06 15:12:38.804 75366 INFO oslo_service.
2019-05-06 15:12:38.805 75366 INFO oslo_service.