@amd64 team: Thanks for your time! =) Please close bug after you are done.
server functionality doesnt appear to work on ~amd64 investigating cciechad@chadgentoo ~ $ sudo /usr/sbin/bcfg2-server -- -D /var/run/bcfg2-server.pid Traceback (most recent call last): File "/usr/sbin/bcfg2-server", line 6, in <module> import Bcfg2.Server.Plugins.Metadata File "usr/lib64/python2.5/site-packages/Bcfg2/Server/Plugins/Metadata.py", line 4, in <module> ImportError: No module named lxml.etree
(In reply to comment #1) > server functionality doesnt appear to work on ~amd64 investigating > > cciechad@chadgentoo ~ $ sudo /usr/sbin/bcfg2-server -- -D > /var/run/bcfg2-server.pid > Traceback (most recent call last): > File "/usr/sbin/bcfg2-server", line 6, in <module> > import Bcfg2.Server.Plugins.Metadata > File "usr/lib64/python2.5/site-packages/Bcfg2/Server/Plugins/Metadata.py", > line 4, in <module> > ImportError: No module named lxml.etree > That is odd, Michael (CC'd on this bug) runs this app on amd64 and I assume he tested it well enough before submitting it to me. Looks like a missing dep on dev-python/lxml?
Adding the missing dep gets the server to start but I still cannot connect with the client localy. chadgentoo / # bcfg2 -q -v -n no server x509 fingerprint; no server verification performed! Unknown failure Traceback (most recent call last): File "usr/lib64/python2.5/site-packages/Bcfg2/Proxy.py", line 27, in __call__ return _Method.__call__(self, *args) File "/usr/lib64/python2.5/xmlrpclib.py", line 1147, in __call__ return self.__send(self.__name, args) File "/usr/lib64/python2.5/xmlrpclib.py", line 1437, in __request verbose=self.__verbose File "/usr/lib64/python2.5/xmlrpclib.py", line 1201, in request return self._parse_response(h.getfile(), sock) File "/usr/lib64/python2.5/xmlrpclib.py", line 1340, in _parse_response return u.close() File "/usr/lib64/python2.5/xmlrpclib.py", line 787, in close raise Fault(**self._stack[0]) Fault: <Fault 6: 'Client metadata resolution error for 127.0.0.1'> Failed to download probes from bcfg2 Server Failure
(In reply to comment #3) > Adding the missing dep gets the server to start but I still cannot connect with > the client localy. > > chadgentoo / # bcfg2 -q -v -n > no server x509 fingerprint; no server verification performed! > Unknown failure > Traceback (most recent call last): > File "usr/lib64/python2.5/site-packages/Bcfg2/Proxy.py", line 27, in __call__ > return _Method.__call__(self, *args) > File "/usr/lib64/python2.5/xmlrpclib.py", line 1147, in __call__ > return self.__send(self.__name, args) > File "/usr/lib64/python2.5/xmlrpclib.py", line 1437, in __request > verbose=self.__verbose > File "/usr/lib64/python2.5/xmlrpclib.py", line 1201, in request > return self._parse_response(h.getfile(), sock) > File "/usr/lib64/python2.5/xmlrpclib.py", line 1340, in _parse_response > return u.close() > File "/usr/lib64/python2.5/xmlrpclib.py", line 787, in close > raise Fault(**self._stack[0]) > Fault: <Fault 6: 'Client metadata resolution error for 127.0.0.1'> > Failed to download probes from bcfg2 > Server Failure > We will have to wait until Michael chimes in.
Small critique on the ebuild. 1. The user needs to run bcfg2-admin init Shouldn't we add this to pkg_config or an einfo to make it easier for users?
(In reply to comment #5) > Small critique on the ebuild. > > 1. The user needs to run bcfg2-admin init > > Shouldn't we add this to pkg_config or an einfo to make it easier for users? > Not able to commit ATM, but.. pkg_postinst () { depscan.sh + einfo "If this is a new installation, you probably need to run \"bcfg2-admin" + einfo "init\"" } ...should do it.
(In reply to comment #4) > We will have to wait until Michael chimes in. Apologies for the slow response; traveling all last week and still getting caught up. Usually, client metadata resolution failures happen because the server can't associate the client's address with any entry in Metadata/clients.xml, or else it can't get from there to the proper toolset via Metadata/groups.xml or one of its includes. Chad, what do you have in your configuration repository for 127.0.0.1?
FYI, pre2 is out
Created attachment 162891 [details] _pre2 ebuild with lxml dep and bcfg2-admin notice Here is an ebuild for 0.9.6_pre2. I added ~amd64, runtime dep on dev-python/lxml, and a reminder to run "bcfg2-admin init" if USE=server I'm currently learning my way through bcfg2 (first time user) but on my gentoo/hardened amd64 the server starts and the "bcfg2 -q -v -n" local test runs ok.
Fixed my repo and this appears to be working OK. Lets go ahead and keyword this ~amd64. Sorry for the delay.
~amd64 kw added, removing amd64@g.o and taking care of the version bump in comment #9. Thanks Chad
(In reply to comment #9) > Created an attachment (id=162891) [edit] > _pre2 ebuild with lxml dep and bcfg2-admin notice > > Here is an ebuild for 0.9.6_pre2. > > I added ~amd64, runtime dep on dev-python/lxml, and a reminder to run > "bcfg2-admin init" if USE=server > > I'm currently learning my way through bcfg2 (first time user) but on my > gentoo/hardened amd64 the server starts and the "bcfg2 -q -v -n" local test > runs ok. > Thanks, looks fine. added and removed old version. (Please do a new bug next time).