R3.2 setup_all of centos74 cluster failed unable to start supervisor-database

Bug #1773413 reported by wenqing liang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
New
High
Unassigned
Trunk
New
High
Unassigned

Bug Description

For R3.2 of centos74 cluster, setup_all fails unable to start supervisor-database:

[root@server3 utils]# service supervisor-database status
● supervisor-database.service - SYSV: Supervisord instance for Contrail Database Package
   Loaded: loaded (/etc/rc.d/init.d/supervisor-database; bad; vendor preset: disabled)
   Active: active (exited) since Thu 2018-05-17 20:09:20 UTC; 1h 30min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 12135 ExecStart=/etc/rc.d/init.d/supervisor-database start (code=exited, status=0/SUCCESS)

May 17 20:08:59 server3 systemd[1]: Starting SYSV: Supervisord instance for Contrail Database Package...
May 17 20:08:59 server3 supervisor-database[12135]: Starting Supervisor Daemon for Contrail Database PackageError: Invalid user name kafka in section 'program:kafka' (file: '/etc...abase.conf')
May 17 20:08:59 server3 supervisor-database[12135]: For help, use /usr/bin/supervisord -h
May 17 20:08:59 server3 supervisor-database[12135]: [58B blob data]
May 17 20:09:20 server3 systemd[1]: Started SYSV: Supervisord instance for Contrail Database Package.
Hint: Some lines were ellipsized, use -l to show in full.
[root@server3 utils]# echo $?
3
[root@server3 utils]#

Arvind V. debugged the issue and found in 3.2, database packages for rpm don’t create user kafka as part of the post install.

For recovery, we can issue the following:
1) “adduser kafka”
2) chown -R kafka /tmp/kafka-logs
3) chown -R kafka /var/log/kafka
4) restart supervisor

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.