ceph / ceph/ceph-salt

"ceph-salt deploy --non-interactive" does not display progress reliably

Open
#102 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
36
Forks
20
PR merge metrics
No merged PRs in 30d

Description

I use "ceph-salt deploy --non-interactive" a lot and I've noticed that it does not display progress messages reliably. Sometimes a message that definitely was supposed to be issued, is not displayed. Other times, a message gets duplicated.

Here is an example of the latter case:

```
admin: [2020-02-26 12:20:30.639116] [admin.mini.com ] [STAGE] [BEGIN] Ceph tools
admin: [2020-02-26 12:20:30.639116] [admin.mini.com ] [STAGE] [BEGIN] Ceph tools
admin: [2020-02-26 12:22:35.684218] [admin.mini.com ] [STAGE] [END ] Ceph tools
```

The "BEGIN" message is duplicated. I've seen messages getting "triplicated" and "quadruplicated" too...

Other times, messages I would expect to see, are not seen. For example, in one run I see:

```
admin: [2020-02-26 10:57:27.763910] [admin.mini.com ] [STAGE] [BEGIN] Ceph tools
admin: [2020-02-26 10:57:27.776911] [admin.mini.com ] [STEP ] [BEGIN] Install cephadm and other packages
admin: [2020-02-26 10:58:40.017343] [admin.mini.com ] [STEP ] [END ] Install cephadm and other packages
admin: [2020-02-26 10:58:40.034019] [admin.mini.com ] [STEP ] [BEGIN] Download ceph container image
```

while in another run I see "Ceph tools" step, but "Install cephadm and other packages" and "Download cpeh container image" messages are not seen at all.

I have not yet discerned any patterns in the occurrence of this phenomenon - it seems random.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names the `ceph-salt deploy --non-interactive` entry point but no files or tests. Start by reproducing deployments and comparing runs with duplicated or missing progress messages; done means each expected message appears once and no messages are omitted.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.