Platform-integ-apps cannot be re-applied if ceph-monitor is changed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Daniel Badea |
Bug Description
Title
-----
Platform-integ-apps cannot be re-applied if ceph monitor is changed
Brief Description
-----------------
In case a user deletes the compute node on which the 3rd ceph monitor is configured, the monitor configuration for that node is also deleted.
The user can then assign the ceph-mon function to another compute node. Once this is done, if the user tries to re-apply platform integ-apps, the re-apply fails.
Severity
--------
Major
Steps to Reproduce
------------------
1. Install a standard 2+2 lab with controller storage
2. The 3rd ceph-monitor is configured on compute-0 (during installation process)
system ceph-mon-add compute-0
3. delete host with the 3rd ceph monitor (this also rdeletes the configured ceph-mon)
system host-delete compute-0
4. lock and configure a new ceph-mon on copute-1
system host-lock compute-1
system ceph-mon-add compute-1
5. unlock compute-1
6. Try to manually re-apply platform-integ-apps
system application-apply platform-integ-apps
Expected Behavior
------------------
The apply should be successful
Actual Behavior
----------------
The application is in an apply-failed state:
[sysadmin@
+------
| application | version | manifest name | manifest file | status | progress |
+------
| platform-integ-apps | 1.0-7 | platform-
| stx-openstack | 1.0-18-
+------
Reproducibility
---------------
Reproducible
System Configuration
-------
2 + 2 system (kubernetes)
Branch/Pull Time/Commit
-------
###
### StarlingX
### Built from master
###
OS="centos"
SW_VERSION="19.09"
BUILD_TARGET="Host Installer"
BUILD_TYPE="Formal"
BUILD_ID=
JOB="STX_
<email address hidden>"
BUILD_NUMBER="245"
BUILD_HOST=
BUILD_DATE=
Timestamp/Logs
--------------
Sysinv logs show failure at the following time-stamp:
2019-09-11 11:14:38.555 99570 INFO sysinv.
2019-09-11 11:14:39.552 99570 INFO sysinv.
2019-09-11 11:14:40.946 99570 INFO sysinv.
2019-09-11 11:14:46.854 100977 INFO sysinv.
2019-09-11 11:14:46.855 100977 INFO sysinv.
2019-09-11 11:14:56.091 100978 INFO sysinv.
2019-09-11 11:14:56.229 100980 INFO sysinv.
2019-09-11 11:15:02.777 99570 ERROR sysinv.
2019-09-11 11:15:02.778 99570 INFO sysinv.
2019-09-11 11:15:02.968 99570 ERROR sysinv.
2019-09-11 11:15:02.968 99570 INFO sysinv.
tags: | removed: stx.2.0 |
Changed in starlingx: | |
status: | Triaged → In Progress |
Marking as stx.3.0 / medium priority -- this wouldn't be a common use-case