duplex system controller-1 fail to boot after unlock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Critical
|
Lin Shuicheng |
Bug Description
Brief Description
-----------------
With below patch [0] code merged, duplex mode deployment will fail at controller-1 unlock.
controller-1 will fail at puppet apply after unlock. It is due to controller-1 doesn't have "/opt/platform/
[0]: https:/
[1]: https:/
Severity
--------
<Critical: System/Feature is not usable due to the defect>
Steps to Reproduce
------------------
1. Sync latest code.
2. Do duplex deployment.
3. controller-1 fail to boot after unlock
Expected Behavior
------------------
controller-1 could unlock successfully.
Actual Behavior
----------------
controller-1 fail to boot. And there is Error in worker puppet log.
Reproducibility
---------------
100%
System Configuration
-------
duplex system
Branch/Pull Time/Commit
-------
Latest code after patch https:/
Last Pass
---------
Code before https:/
Timestamp/Logs
--------------
N/A
Test Activity
-------------
Sanity
Workaround
----------
Describe workaround if available
Changed in starlingx: | |
assignee: | nobody → Lin Shuicheng (shuicheng) |
Changed in starlingx: | |
assignee: | Lin Shuicheng (shuicheng) → nobody |
Reviewed: https:/ /review. opendev. org/703783 /git.openstack. org/cgit/ starlingx/ stx-puppet/ commit/ ?id=c94fa4a0174 b96e0716d39bbea 7e6fbbbee415a9
Committed: https:/
Submitter: Zuul
Branch: master
commit c94fa4a0174b96e 0716d39bbea7e6f bbbee415a9
Author: Shuicheng Lin <email address hidden>
Date: Thu Jan 23 02:45:31 2020 +0800
Fix duplex system controller-1 fail to boot after unlock
It is due to controller-1 doesn't have /opt/platform/ config folder.
And cause puppet failure due to using non-exist file as source.
Restrict the code for worker node only, since controller node
already has ca cert in the ssl folder.
Test: duplex/ multi node deployment with vm created.
Pass simplex/
Closes-Bug: 1860529 ead114219d0ec42 8fb45cc9128
Change-Id: I808ee15e5c78eb
Signed-off-by: Shuicheng Lin <email address hidden>