Project

Profile

Help

Issue #747

closed

el7 rpms should stop services on uninstall

Added by cristi.falcas@gmail.com about 9 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.6.1
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Currently, after uninstalling pulp, services are still up and spamming the logs with errors.

Actions #1

Updated by dkliban@redhat.com about 9 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com
  • Severity set to Medium
  • Platform Release set to 2.6.1
Actions #2

Updated by dkliban@redhat.com about 9 years ago

  • Status changed from ASSIGNED to POST
Actions #4

Updated by dkliban@redhat.com about 9 years ago

  • Status changed from POST to MODIFIED

To test, install Pulp. Start pulp_workers, pulp_resource_manager, and pulp_celerybeat. Then capture output of

ps -awfux | grep celery

Then uninstall pulp without stopping the services. Run the above command again. You should not see any running processes.

Actions #5

Updated by dkliban@redhat.com about 9 years ago

  • Triaged changed from No to Yes
Actions #6

Updated by bmbouter about 9 years ago

  • Severity changed from Medium to 2. Medium
Actions #7

Updated by bcourt about 9 years ago

  • Status changed from MODIFIED to 5
Actions #8

Updated by igulina@redhat.com about 9 years ago

  • Status changed from 5 to 6

rpm -qa pulp-server

pulp-server-2.6.1-0.2.beta.el7.noarch

ps -awfux | grep celery

root 28220 0.0 0.0 112640 964 pts/0 S+ 07:38 0:00 \_ grep --color=auto celery
apache 27939 1.1 0.7 710784 29480 ? Ssl 07:31 0:04 /usr/bin/python /usr/bin/celery beat --scheduler=pulp.server.async.scheduler.Scheduler
apache 27955 0.9 1.3 651260 50720 ? Ssl 07:31 0:04 /usr/bin/python /usr/bin/celery worker -A pulp.server.async.app -n resource_manager@%h -Q resource_manager -c 1 --events --umask 18
apache 28034 0.0 1.1 577140 43752 ? Sl 07:31 0:00 \_ /usr/bin/python /usr/bin/celery worker -A pulp.server.async.app -n resource_manager@%h -Q resource_manager -c 1 --events --umask 18
apache 27983 0.9 1.3 651248 50716 ? Ssl 07:31 0:04 /usr/bin/python /usr/bin/celery worker -n reserved_resource_worker-0@%h -A pulp.server.async.app -c 1 --events --umask 18
apache 28060 0.2 1.4 798232 54392 ? Sl 07:31 0:01 \_ /usr/bin/python /usr/bin/celery worker -n reserved_resource_worker-0@%h -A pulp.server.async.app -c 1 --events --umask 18

rpm -e pulp-server-2.6.1-0.2.beta.el7

error: Failed dependencies:
pulp-server = 2.6.1 is needed by (installed) pulp-puppet-plugins-2.6.1-0.2.beta.el7.noarch
pulp-server = 2.6.1 is needed by (installed) pulp-rpm-plugins-2.6.1-0.2.beta.el7.noarch
pulp-server >= 2.5.0 is needed by (installed) pulp-docker-plugins-1.0.0-1.el7.noarch

rpm -e pulp-puppet-plugins-2.6.1-0.2.beta.el7
rpm -e pulp-rpm-plugins-2.6.1-0.2.beta.el7
rpm -e pulp-docker-plugins-1.0.0-1.el7
rpm -e pulp-server-2.6.1-0.2.beta.el7

warning: /etc/pulp/server.conf saved as /etc/pulp/server.conf.rpmsave

ps -awfux | grep celery

root 28257 0.0 0.0 112640 960 pts/0 S+ 07:50 0:00 \_ grep --color=auto celery

/var/log/messages :

Mar 27 07:50:39 ip-XXX systemd: Stopping Pulp Celery Workers...
Mar 27 07:50:40 ip-XXX systemd: Stopping Pulp Worker #0...
Mar 27 07:50:40 ip-XXX celery: worker: Cold shutdown (MainProcess)
Mar 27 07:50:40 ip-XXX pulp: pulp.server.async.worker_watcher:INFO: Worker 'reserved_resource_worker-0@ip-XXX' shutdown
Mar 27 07:50:40 ip-XXX qpidd: 2015-03-27 07:50:40 [Store] notice Journal "reserved_resource_worker-0@ip-XXX": Destroyed
Mar 27 07:50:40 ip-XXX celery: reserved_resource_worker-0@ip-XXX ready.
Mar 27 07:50:40 ip-XXX systemd: Stopped Pulp Worker #0.
Mar 27 07:50:40 ip-XXX systemd: Stopped Pulp Celery Workers.
Mar 27 07:50:40 ip-XXX systemd: Stopping Pulp's Celerybeat...
Mar 27 07:50:40 ip-XXX celery: celery beat v3.1.11 (Cipater) is starting.
Mar 27 07:50:40 ip-XXX celery: _ - ... _ - _
Mar 27 07:50:40 ip-XXX celery: Configuration ->
Mar 27 07:50:40 ip-XXX celery: . broker -> amqp://guest:**localhost:5672// Mar 27 07:50:40 ip-XXX celery: . loader -> celery.loaders.default.Loader Mar 27 07:50:40 ip-XXX celery: . scheduler -> pulp.server.async.scheduler.Scheduler Mar 27 07:50:40 ip-XXX celery: . logfile -> [stderr]%INFO
Mar 27 07:50:40 ip-XXX celery: . maxinterval -> now (0s)
Mar 27 07:50:40 ip-XXX systemd: Stopped Pulp's Celerybeat.
Mar 27 07:50:40 ip-XXX systemd: Stopping Pulp Resource Manager...
Mar 27 07:50:40 ip-XXX celery: worker: Warm shutdown (MainProcess)
Mar 27 07:50:40 ip-XXX qpidd: 2015-03-27 07:50:40 [Store] notice Journal "resource_manager@ip-XXX": Destroyed
Mar 27 07:50:41 ip-XXX celery: resource_manager@ip-XXX ready.
Mar 27 07:50:42 ip-XXX systemd: Stopped Pulp Resource Manager.
Mar 27 07:50:42 ip-XXX systemd: Reloading.

Actions #9

Updated by dkliban@redhat.com almost 9 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE
Actions #11

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF