[Starlingx-discuss] [RFC] StarlingX Developer Guide

Liu, ZhipengS zhipengs.liu at intel.com
Fri Jul 27 02:53:52 UTC 2018


Thanks Eric!!
Use below 2 commands, no python.so found.

However, RC found that a wrong collectd-5.7.1-2.el7.x86_64.rpm used.
Its size is not the same as the one used by Abraham.
After used the right collectd-5.7.1-2.el7.x86_64.rpm, no issue anymore
The iso can be deloyed successfully on multimode.

Zhipeng

-----Original Message-----
From: MacDonald, Eric [mailto:Eric.MacDonald at windriver.com] 
Sent: 2018年7月26日 23:28
To: Liu, ZhipengS <zhipengs.liu at intel.com>; Arce Moreno, Abraham <abraham.arce.moreno at intel.com>; starlingx-discuss at lists.starlingx.io
Subject: RE: [RFC] StarlingX Developer Guide

I've been able to reproduce the log failure signature with a change to the collectd.conf file

The issue is definitely related to the python library but it is packed in the collectd rpm.
The one you call out is not in my working env.
To further this investigation please provide the output of the following commands

ls -lrt /usr/lib64/collectd/python.so
ldd /usr/lib64/collectd/python.so

Eric.

> -----Original Message-----
> From: Liu, ZhipengS [mailto:zhipengs.liu at intel.com]
> Sent: Thursday, July 26, 2018 10:45 AM
> To: Liu, ZhipengS; MacDonald, Eric; Arce Moreno, Abraham; 
> starlingx-discuss at lists.starlingx.io
> Subject: RE: [RFC] StarlingX Developer Guide
> Importance: High
> 
> Do we need collected-python package in mirror?
> 
> -----Original Message-----
> From: Liu, ZhipengS [mailto:zhipengs.liu at intel.com]
> Sent: 2018年7月26日 22:25
> To: MacDonald, Eric <Eric.MacDonald at windriver.com>; Arce Moreno, 
> Abraham <abraham.arce.moreno at intel.com>; 
> starlingx-discuss at lists.starlingx.io
> Subject: Re: [Starlingx-discuss] [RFC] StarlingX Developer Guide
> 
> Hi Eric,
> 
> Thanks for your comment!! Could you help further check the error I saw below?
> ======================================================================
> ======= controller-0:/var/log/puppet# grep -R Error*
> latest/puppet.log:2018-07-26T16:36:33.125 Error: 2018-07-26 16:36:33 
> +0000 Systemd start for collectd failed!
> latest/puppet.log:2018-07-26T16:36:33.236 Error: 2018-07-26 16:36:33 
> +0000
> /Stage[main]/Platform::Collectd/Service[collectd]/ensure: change from stopped to running failed:
> Systemd start for collectd failed!
> 2018-07-26-16-34-02_controller/puppet.log:2018-07-26T16:36:33.125 
> Error: 2018-07-26 16:36:33
> +0000 Systemd start for collectd failed!
> 2018-07-26-16-34-02_controller/puppet.log:2018-07-26T16:36:33.236 
> Error: 2018-07-26 16:36:33
> +0000 /Stage[main]/Platform::Collectd/Service[collectd]/ensure: change from stopped to running failed:
> Systemd start for collectd failed!
> ======================================================================
> ========= ontroller-0:~$ cat /var/log/daemon.log | grep collectd
> 2018-07-26T16:36:33.072 localhost collectd[25253]: info plugin_load: 
> plugin "network" successfully loaded.
> 2018-07-26T16:36:33.072 localhost collectd[25253]: info plugin_load: 
> Could not find plugin "python" in /usr/lib64/collectd
> 2018-07-26T16:36:33.072 localhost collectd[25253]: info plugin_load: 
> Could not find plugin "python" in /usr/lib64/collectd
> 2018-07-26T16:36:33.072 localhost collectd[25253]: info Automatically 
> loading plugin "python" failed with status 1.
> 2018-07-26T16:36:33.072 localhost collectd[25253]: info plugin_load: 
> plugin "threshold" successfully loaded.
> 2018-07-26T16:36:33.072 localhost collectd[25253]: info plugin_load: plugin "df" successfully loaded.
> 2018-07-26T16:36:33.073 localhost collectd[25253]: info plugin_load: 
> Could not find plugin "python" in /usr/lib64/collectd
> 2018-07-26T16:36:33.073 localhost collectd[25253]: info plugin_load: 
> Could not find plugin "python" in /usr/lib64/collectd
> 2018-07-26T16:36:33.073 localhost collectd[25253]: info Automatically 
> loading plugin "python" failed with status 1.
> 2018-07-26T16:36:33.073 localhost collectd[25253]: info Error: Reading the config file failed!
> 2018-07-26T16:36:33.073 localhost collectd[25253]: info Read the syslog for details.
> 2018-07-26T16:36:33.073 localhost collectd[25253]: info =
> 2018-07-26T16:36:33.100 localhost systemd[1]: notice collectd.service: 
> main process exited, code=exited, status=1/FAILURE
> 2018-07-26T16:36:33.110 localhost systemd[1]: notice Unit collectd.service entered failed state.
> 2018-07-26T16:36:33.110 localhost systemd[1]: warning collectd.service failed.
> ======================================================================
> 
> Thanks!
> Zhipeng
> -----Original Message-----
> From: MacDonald, Eric [mailto:Eric.MacDonald at windriver.com]
> Sent: 2018年7月26日 21:19
> To: Liu, ZhipengS <zhipengs.liu at intel.com>; Arce Moreno, Abraham 
> <abraham.arce.moreno at intel.com>; starlingx-discuss at lists.starlingx.io
> Subject: RE: [RFC] StarlingX Developer Guide
> 
> Looks like the manifest that configures and starts the collectd process is failing.
> 
> Can you please execute the following commands on the host that shows 
> collectd failing and publish the errors you see that might reveal the cause.
> 
> # Get the config error logs ...
> sudo -i
> cd /var/log/puppet ; fgrep -R Error *
> 
> # get the collectd startup failure logs cat /var/log/daemon.log | grep 
> collectd
> 
> one startup block is fine ; start to exit should show the error.
> 
> Eric MacDonald
> 
> > -----Original Message-----
> > From: Liu, ZhipengS [mailto:zhipengs.liu at intel.com]
> > Sent: Thursday, July 26, 2018 4:53 AM
> > To: Arce Moreno, Abraham; starlingx-discuss at lists.starlingx.io
> > Subject: Re: [Starlingx-discuss] [RFC] StarlingX Developer Guide
> >
> > Hi Abraham and Hayde
> >
> > I rebuilt and deployed my iso again, but still fail at step 6 with the same cause.
> > Start collectd failed.
> > Could you help deploy ISO I built to see if it can work in your environment, thanks!
> >
> > Zhipeng
> >
> >
> > -----Original Message-----
> > From: Arce Moreno, Abraham [mailto:abraham.arce.moreno at intel.com]
> > Sent: 2018年7月26日 10:13
> > To: starlingx-discuss at lists.starlingx.io
> > Subject: [Starlingx-discuss] [RFC] StarlingX Developer Guide
> >
> > Hi again,
> >
> > Can someone please help test the process to build an ISO based on master using Developer Guide [0]?
> > Please use Github page [1] as a documentation support.
> >
> > Requirements:
> >
> > - Repo status checked 7/25/2018 19:12 PST
> > - stx-tools master branch
> >   - latest change: b65fa0a0ec6297199843b1455615d0126bb7e7c7 Update 
> > RPM macros
> > - Temporal! Changes, already in Developer Guide
> >    - RPM: selinux-policy-devel required
> >       https://review.openstack.org/#/c/585915
> >
> > [0] https://wiki.openstack.org/wiki/StarlingX/Developer_Guide
> > [1] 
> > https://github.com/xe1gyq/starlingx/blob/master/DeveloperGuide.md
> >
> > _______________________________________________
> > Starlingx-discuss mailing list
> > Starlingx-discuss at lists.starlingx.io
> > http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
> > _______________________________________________
> > Starlingx-discuss mailing list
> > Starlingx-discuss at lists.starlingx.io
> > http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
> _______________________________________________
> Starlingx-discuss mailing list
> Starlingx-discuss at lists.starlingx.io
> http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss


More information about the Starlingx-discuss mailing list