[Starlingx-discuss] [RFC] StarlingX Developer Guide

Liu, ZhipengS zhipengs.liu at intel.com
Wed Aug 1 01:32:40 UTC 2018


Hi Eric,

Sorry for missing your email.
Actually, I tried serial times to download this package through download_mirror.sh
But could not got it, then I got one through google and download, it seems a little small
Than the right one. (Right one is 683K)

zhipengl at zhipengl-nuc:~/stx-tools/centos-mirror-tools$ rpm -K collectd-5.7.1-2.el7.x86_64.rpm
collectd-5.7.1-2.el7.x86_64.rpm: sha1 md5 OK
zhipengl at zhipengl-nuc:~/stx-tools/centos-mirror-tools$ ll collectd-5.7.1-2.el7.x86_64.rpm
-rw-rw-r-- 1 zhipengl zhipengl 613644 8月   1 18:24 collectd-5.7.1-2.el7.x86_64.rpm

Thanks again!
BRs
zhipeng

-----Original Message-----
From: MacDonald, Eric [mailto:Eric.MacDonald at windriver.com] 
Sent: 2018年7月27日 21:08
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

Ok, interesting. Glad your unblocked.

However, I have to ask. Have you or will you be root causing what caused the build system to choose and include the wrong package ? even one of the same name and version but without the correct fundamental content. Weird. Wonder if that is hitting use elsewhere not or will again in the future ?

Eric.

> -----Original Message-----
> From: Liu, ZhipengS [mailto:zhipengs.liu at intel.com]
> Sent: Thursday, July 26, 2018 10:54 PM
> To: MacDonald, Eric; Arce Moreno, Abraham; 
> starlingx-discuss at lists.starlingx.io
> Subject: RE: [RFC] StarlingX Developer Guide
> Importance: High
> 
> 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-discu
> > > ss _______________________________________________
> > > Starlingx-discuss mailing list
> > > Starlingx-discuss at lists.starlingx.io
> > > http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discu
> > > ss
> > _______________________________________________
> > 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