Ticket #1093 (closed defect: invalid)

Opened 11 years ago

Last modified 9 years ago

MetadataRuntimeError on Ubuntu 12.04 alpha1

Reported by: Owned by: solj
Priority: major Milestone:
Component: bcfg2-server Version:
Keywords: Cc:


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 /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/", line 142, in cmdloop
    stop = self.onecmd(line)
  File "/usr/lib/python2.7/", 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/", line 284, in BuildConfiguration
    meta = self.build_metadata(client)
  File "/usr/lib/pymodules/python2.7/Bcfg2/Server/", line 336, in build_metadata
    imd = self.metadata.get_initial_metadata(client_name)
  File "/usr/lib/pymodules/python2.7/Bcfg2/Server/Plugins/", line 614, in get_initial_metadata
    raise MetadataRuntimeError


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

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. [ phentermine for sale - Her total was even reduced to less than 1,000 signals and enlisted efforts.

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.