Skip to content

Container not restarted when changing configuration #1313

@mattiaswal

Description

@mattiaswal

Current Behavior

For code snippets, logs, commands, etc., please use triple backticks:

admin@wires-gp:/config/container/wires-gp/> set env EXTRA_ARGS value "--init-user --login x --password x"
admin@wires-gp:/config/container/wires-gp/> leave 
admin@wires-gp:/> 
admin@wires-gp:/> 
admin@wires-gp:/> container shell wires-race 
# 
# env
HOME=/stk-data
container=podman
TERM=xterm
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SERVER_CONFIG=/stk-data/wires_normal_race.xml
PWD=/stk-data

The syslog during this:

Dec  8 10:11:53 wires-gp dnsmasq[2846]: using nameserver 172.31.11.11#53
Dec  8 10:11:53 wires-gp dnsmasq[2846]: using nameserver 172.31.11.12#53
Dec  8 10:11:53 wires-gp dnsmasq[2846]: using nameserver 172.31.11.11#53 for domain addiva.ad 
Dec  8 10:11:53 wires-gp dnsmasq[2846]: using nameserver 172.31.11.12#53 for domain addiva.ad 
Dec  8 10:11:53 wires-gp dnsmasq[2846]: read /etc/hosts - 2 names
Dec  8 10:12:19 wires-gp klishd[7759]: user "admin" commiting changes to running ...
Dec  8 10:12:19 wires-gp dagger[3604]: Evolved to generation 1
Dec  8 10:12:19 wires-gp confd[3604]: The new configuration has been applied.
Dec  8 10:12:19 wires-gp klishd[7759]: user "admin" committed changes to running.
Dec  8 10:12:22 wires-gp klishd[7759]: user "admin" leaving sysrepo session.
Dec  8 10:20:51 wires-gp klishd-listen[4075]: Service process for client was forked: 8575
Dec  8 10:20:51 wires-gp klishd[8575]: [8575]: Authenticated user 1000(admin), client PID 8573 
Dec  8 10:20:51 wires-gp klishd[8575]: user "admin" starting interactive sysrepo session.
Dec  8 10:23:21 wires-gp klishd[8575]: user "admin" leaving sysrepo session.
admin@wires-gp:~$ 

Expected Behavior

admin@infix-c0-ff-ee:/> show log
May 15 07:21:02 infix-c0-ff-ee container[3192]: Successfully created container test from curios-httpd-v24.03.0
- (press h for help or q to quit)

Steps To Reproduce

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions