Ansible: Secondary storage tiers fail to be added before initial unlock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Ovidiu Poncea |
Bug Description
Brief Description
-----------------
On controller-0, at initial configuration, adding secondary tiers fails. The reason is that ceph has to be up in order for secondary tiers and secondary storage backends to be added. This operation should be denied through a semantic checks. User is permited to add secondary tiers only after Ceph is up.
Displayed error message:
[root@controller-0 wrsroot(
Failed to get ceph-mgr restful plugin keys. Command 'ceph restful list-keys --connect-timeout 5' returned non-zero exit status 1
In sysinv.log:
2019-05-15 15:38:33.622 79264 ERROR wsme.api [-] Server-side error: "Failed to get ceph-mgr restful plugin keys. Command 'ceph restful list-keys --connect-timeout 5' returned non-zero exit status 1". Detail:
Traceback (most recent call last):
File "/usr/lib/
result = f(self, *args, **kwargs)
File "/usr/lib64/
new_tier = _create(self, tier)
File "/usr/lib64/
self.
File "/usr/lib64/
if fix_crushmap():
File "/usr/lib64/
rule_
File "/usr/lib64/
response, body = self._ceph_
File "/usr/lib/
body=body, timeout=timeout)
File "/usr/lib/
self.
File "/usr/lib/
raise CephMonRestfulL
Severity
--------
Minor: This is not the normal flow.
Steps to Reproduce
------------------
Write down the steps to reproduce the issue
Expected Behavior
------------------
Write down what was expected after taking the steps written above
Actual Behavior
----------------
State what is the actual behavior
Reproducibility
---------------
100% reproducible
System Configuration
-------
One node system, Two node system
Branch/Pull Time/Commit
-------
master
Last Pass
---------
before Ansible
Test Activity
-------------
Developer Testing
Changed in starlingx: | |
assignee: | nobody → Ovidiu Poncea (ovidiu.poncea) |
description: | updated |
tags: | added: stx.storage |
Changed in starlingx: | |
status: | Triaged → In Progress |
Changed in starlingx: | |
status: | Confirmed → In Progress |
Marking as release gating; medium priority as the issue is specific to a particular workflow (adding storage tiers). Related to ansible deployment.