Open stepanblyschak opened 11 months ago
@qiluo-msft Can you please help take a look? Thanks!
@stepanblyschak is this kind of change in the sonic design in 202305?
@liat-grozovik
Are you talking about this idea?
Ideally, the we'd like to see the following boot/config reload flow:
Configure desired states of services
Start sonic.target
I'd say it is rather a big change that requires some small design, rather then a simple bug fix, however, per my understanding we can solve a couple of issues at once.
Could you give detailed command lines used in step "config feature disabled" and "config feature enabled"? Is this issue a regression or day one issue?
@qiluo-msft I think it is a day one issue. The commands are regular sonic commands "config feature state disabled" and "config feature state enabled". Are you asking which feature is affected?
@dgsudharsan @vivekrnv Are you able to help resolve this issue?
@dgsudharsan @vivekrnv Are you able to help resolve this issue?
Hi @qiluo-msft I don't think it is trivial. Needs a discussion in subgroup to understand how can we address this.
@prsunny will check on what subgroup meeting we can raise this issue
@prsunny Any update on which subgroup to discuss this issue?
The group name is sonic-common-infra https://lists.sonicfoundation.dev/g/sonic-common-infra . @arlakshm FYI.
following the workgroup discussion, @arlakshm is there a community owner who is taking it?
Description
The issue happens when docker is started by systemd and in the middle of the operation
hostcfgd
configures it's desired state.Steps to reproduce the issue:
Describe the results you received:
Example log for arbitrary service X:
And this container X remains running as it was started by syncd.service but masked by hostcfgd only after that.
Describe the results you expected:
Feature container does not start.
Ideally, we'd like to see the following boot/config reload flow:
Therefore, we could eliminate the need of having systemd-sonic-generator and mask_disabled_services.py scripts that configure initial service states.
Need to consider all flows - upgrade, first boot. Ideally, with this approach, service state is synced at very early stage in the boot.
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):