[Starlingx-discuss] [RFC] StarlingX Developer Guide
Liu, ZhipengS
zhipengs.liu at intel.com
Thu Jul 26 14:47:12 UTC 2018
controller-0:~# rpm -qa | grep collect
libcollection-0.6.2-27.el7.x86_64
openstack-ceilometer-collector-9.0.1-1.tis.3.noarch
collectd-extensions-1.0-0.tis.1.x86_64
collector-1.0-24.tis.x86_64
collectd-5.7.1-2.el7.x86_64
puppet-collectd-5.1.0-2.4a3843cgit.el7.noarch
python2-debtcollector-1.17.0-1.el7.noarch
controller-0:~#
-----Original Message-----
From: MacDonald, Eric [mailto:Eric.MacDonald at windriver.com]
Sent: 2018年7月26日 22:45
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
That's interesting. It looks like the python plugin manager for collectd is missing yet the 'network' on of the same is ok.
Please execute this command to see what related packages exists (or are missing)
rpm -qa | grep collect
Eric.
> -----Original Message-----
> From: Liu, ZhipengS [mailto:zhipengs.liu at intel.com]
> Sent: Thursday, July 26, 2018 10:25 AM
> To: MacDonald, Eric; Arce Moreno, Abraham;
> starlingx-discuss at lists.starlingx.io
> Subject: RE: [RFC] StarlingX Developer Guide
> Importance: High
>
> 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
More information about the Starlingx-discuss
mailing list