Closed cognifloyd closed 3 years ago
Originally reported as StackStorm/ansible-st2#169
I just upgraded a StackStorm install with from 2.3 to 2.4 and when I was manually looking at some issues with st2chatops, I got this:
# systemctl stop st2chatops Warning: st2chatops.service changed on disk. Run 'systemctl daemon-reload' to reload units.
That suggests that the rpm upgrade did not run systemctl daemon-reload automatically, but it should.
jacob@harmony $ uname -a Linux harmony 3.10.0-514.16.1.el7.x86_64 #1 SMP Wed Apr 12 15:04:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux jacob@harmony $ cat /etc/redhat-release CentOS Linux release 7.3.1611 (Core) jacob@harmony $ st2 --version st2 2.4.0 jacob@harmony $ yum info st2 st2web st2chatops st2mistral nginx mongodb-org rabbitmq-server postgresql-server Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirror.us.oneandone.net * epel: mirror.rnet.missouri.edu * extras: centos.den.host-engine.com * nux-dextop: li.nux.ro * updates: mirror.dal10.us.leaseweb.net Installed Packages Name : mongodb-org Arch : x86_64 Version : 3.4.7 Release : 1.el7 Size : 0.0 Repo : installed From repo : mongodb-org-3.4 Summary : MongoDB open source document-oriented database system (metapackage) URL : http://www.mongodb.org License : AGPL 3.0 Description : [snip] Name : nginx Arch : x86_64 Epoch : 1 Version : 1.12.1 Release : 1.el7.ngx Size : 2.5 M Repo : installed From repo : nginx Summary : High performance web server URL : http://nginx.org/ License : 2-clause BSD-like license Description : [snip]. Name : postgresql-server Arch : x86_64 Version : 9.2.18 Release : 1.el7 Size : 16 M Repo : installed From repo : base Summary : The programs needed to create and run a PostgreSQL server URL : http://www.postgresql.org/ License : PostgreSQL Description : [snip] Name : rabbitmq-server Arch : noarch Version : 3.3.5 Release : 34.el7 Size : 4.8 M Repo : installed From repo : epel Summary : The RabbitMQ server URL : http://www.rabbitmq.com/ License : MPLv1.1 Description : [snip] Name : st2 Arch : x86_64 Version : 2.4.0 Release : 1 Size : 111 M Repo : installed From repo : StackStorm_stable Summary : StackStorm all components bundle URL : https://github.com/StackStorm/st2 License : Apache Description : [snip] Name : st2chatops Arch : x86_64 Version : 2.4.0 Release : 1 Size : 65 M Repo : installed From repo : StackStorm_stable Summary : St2Chatops - StackStorm ChatOps URL : https://github.com/stackstorm/st2chatops License : Apache 2.0 Description : [snip] Name : st2mistral Arch : x86_64 Version : 2.4.0 Release : 1 Size : 149 M Repo : installed From repo : StackStorm_stable Summary : st2 Mistral workflow service URL : https://github.com/StackStorm/mistral License : Apache 2.0 Description : [snip] Name : st2web Arch : x86_64 Version : 2.4.0 Release : 1 Size : 2.9 M Repo : installed From repo : StackStorm_stable Summary : St2Web - StackStorm Web UI URL : https://github.com/stackstorm/st2web License : Apache 2.0 Description : [snip] jacob@harmony $ st2ctl status ##### st2 components status ##### st2actionrunner PID: 24558 st2actionrunner PID: 24560 st2actionrunner PID: 24562 st2actionrunner PID: 24564 st2actionrunner PID: 24566 st2actionrunner PID: 24568 st2actionrunner PID: 24570 st2actionrunner PID: 24575 st2actionrunner PID: 24578 st2actionrunner PID: 24581 st2api PID: 24600 st2api PID: 24760 st2stream PID: 5550 st2stream PID: 24641 st2auth PID: 24686 st2auth PID: 24810 st2garbagecollector PID: 24703 st2notifier PID: 24716 st2resultstracker PID: 24733 st2rulesengine PID: 24756 st2sensorcontainer PID: 24783 st2chatops PID: 24816 mistral-server PID: 24857 mistral-api PID: 24856 mistral-api PID: 25046 mistral-api PID: 25047
If it's helpful, this is a VM on a VMWare server.
If you really need something from /etc/st2/st2.conf, ask and I'll provide those settings.
/etc/st2/st2.conf
As discussed with @cognifloyd (thanks for the report!) this makes sense as part of post install scriptlets in packaging.
For reference, similar requests in other software:
Originally reported as StackStorm/ansible-st2#169
I just upgraded a StackStorm install with from 2.3 to 2.4 and when I was manually looking at some issues with st2chatops, I got this:
That suggests that the rpm upgrade did not run systemctl daemon-reload automatically, but it should.
If it's helpful, this is a VM on a VMWare server.
If you really need something from
/etc/st2/st2.conf
, ask and I'll provide those settings.