https://progress.opensuse.org/https://progress.opensuse.org/themes/openSUSE/favicon/favicon.ico?15829177842022-03-31T08:49:39ZopenSUSE Project Management ToolopenQA Infrastructure - action #109298: salt-minion on grenache-1 is not working preventing OSD deploymenthttps://progress.opensuse.org/issues/109298?journal_id=5067922022-03-31T08:49:39Zmkittlermarius.kittler@suse.com
<ul></ul><p><code>/var/log/salt/minion</code>:</p>
<pre><code><stream>
<message type="error">System management is locked by the application with pid 565869 (zypper).
Close this application before trying again.</message>
</stream>
2022-03-31 03:02:58,268 [salt.loaded.int.module.cmdmod:853 ][ERROR ][565957] retcode: 7
2022-03-31 03:03:03,312 [salt.loaded.int.module.cmdmod:847 ][ERROR ][565957] Command 'zypper' failed with return code: 7
2022-03-31 03:03:03,313 [salt.loaded.int.module.cmdmod:849 ][ERROR ][565957] stdout: <?xml version='1.0'?>
<stream>
<message type="error">System management is locked by the application with pid 565869 (zypper).
Close this application before trying again.</message>
</stream>
2022-03-31 03:03:03,313 [salt.loaded.int.module.cmdmod:853 ][ERROR ][565957] retcode: 7
</code></pre>
<p>Looks like zypper was just running in a user session:</p>
<pre><code>grenache-1:/home/martchus # zypper dup
System management is locked by the application with pid 752307 (zypper).
Close this application before trying again.
grenache-1:/home/martchus # systemctl status 752307
● session-7.scope - Session 7 of user osukup
</code></pre>
<p>It is closed now but salt-minion is still not coming up.</p>
openQA Infrastructure - action #109298: salt-minion on grenache-1 is not working preventing OSD deploymenthttps://progress.opensuse.org/issues/109298?journal_id=5068132022-03-31T08:59:31Zmkittlermarius.kittler@suse.com
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Feedback</i></li></ul><p>Despite the service being stopped an instance is already running:</p>
<pre><code>grenache-1:/home/martchus # /usr/bin/salt-minion --log-level=debug
[DEBUG ] Reading configuration from /etc/salt/minion
[DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf'
[DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: grenache-1.qa.suse.de
[DEBUG ] Configuration file path: /etc/salt/minion
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
[INFO ] Setting up the Salt Minion "grenache-1.qa.suse.de"
[INFO ] An instance is already running. Exiting the Salt Minion
[INFO ] Shutting down the Salt Minion
[DEBUG ] Stopping the multiprocessing logging queue listener
[DEBUG ] closing multiprocessing queue
[DEBUG ] joining multiprocessing queue thread
[DEBUG ] Stopped the multiprocessing logging queue listener
</code></pre>
<p>Stopped the remaining process in htop, started the actual service again and re-triggered the deployment which is now passed the steps that previously failed.</p>
openQA Infrastructure - action #109298: salt-minion on grenache-1 is not working preventing OSD deploymenthttps://progress.opensuse.org/issues/109298?journal_id=5068882022-03-31T09:42:41Zmkittlermarius.kittler@suse.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul><p>Not sure why salt-minion was lingering around but now the OSD deployment works.</p>