Ticket #1093 (closed defect: invalid)
MetadataRuntimeError on Ubuntu 12.04 alpha1
Reported by: | https://www.google.com/accounts/o8/id?id=AItOawl5-bwrxN_3riwrFWHgfESsuK8Bn6HsQ2M | Owned by: | solj |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | bcfg2-server | Version: | |
Keywords: | Cc: |
Description
bcfg2-server 1.2.0 on precise can't build client configurations. Running the server in the foreground, it outputs "Metadata system runtime failure".
When I attempt to build in bcfg2-info, I get the following traceback:
# bcfg2-info Failed to read file probed.xml Loading experimental plugin(s): Packages NOTE: Interfaces subject to change Welcome to bcfg2-info Type "help" for more information > build sophie.ma.utexas.edu /tmp/sophie.xml Command failure Traceback (most recent call last): File "/usr/sbin/bcfg2-info", line 126, in do_loop self.cmdloop('Welcome to bcfg2-info\n' File "/usr/lib/python2.7/cmd.py", line 142, in cmdloop stop = self.onecmd(line) File "/usr/lib/python2.7/cmd.py", line 221, in onecmd return func(arg) File "/usr/sbin/bcfg2-info", line 208, in do_build data = lxml.etree.tostring(self.BuildConfiguration(client), File "/usr/lib/pymodules/python2.7/Bcfg2/Server/Core.py", line 284, in BuildConfiguration meta = self.build_metadata(client) File "/usr/lib/pymodules/python2.7/Bcfg2/Server/Core.py", line 336, in build_metadata imd = self.metadata.get_initial_metadata(client_name) File "/usr/lib/pymodules/python2.7/Bcfg2/Server/Plugins/Metadata.py", line 614, in get_initial_metadata raise MetadataRuntimeError MetadataRuntimeError
Attachments
Change History
comment:1 Changed 11 years ago by solj
- Milestone changed from Bcfg2 1.3.0 Release to Bcfg2 1.2.2 Release (Bugfix)
comment:2 Changed 11 years ago by solj
- Owner changed from desai to solj
- Status changed from new to accepted
So, this is a problem with the filemonitor which is weird because I have a similar version of gamin installed on gentoo and am not seeing this problem. The only workaround (on ubuntu) is to use the pseudo filemonitor if you want to test things. Keep in mind that by using that, you will need to restart the server when you make changes to the repository in order for them to be picked up by the bcfg2 server.
comment:3 Changed 11 years ago by solj
This actually appears to be due to an already-running gam_server. If I pkill gam_server and then restart the bcfg2-server process, things work again.
comment:4 Changed 11 years ago by solj
URL for upstream bug report https://bugs.launchpad.net/gamin/+bug/926862
comment:5 Changed 11 years ago by solj
- Milestone changed from Bcfg2 1.2.2 Release (Bugfix) to Bcfg2 1.2.3 Release (Bugfix)
Moving to 1.2.3
comment:6 Changed 11 years ago by solj
- Status changed from accepted to closed
- Resolution set to invalid
While we can't fix the upstream bug on our end, it appears to be getting attention on that end. There is also support for inotify that has been added upstream (will appear in 1.3). I think we'll go ahead and close this on our end.
comment:7 Changed 9 years ago by Richardheef
- Version 1.0 deleted
- Milestone Bcfg2 1.2.3 Release (Bugfix) deleted
Both elements are requirements and they're then oral to each fissionable. [https://my.swu.edu/ICS/icsfs/tabfen53.html?target=eb5c0a1e-b802-4730-a0c2-321530f3b4f4 phentermine for sale - Her total was even reduced to less than 1,000 signals and enlisted efforts.