Custom Query (894 matches)
Results (118 - 120 of 894)
Ticket | Owner | Reporter | Resolution | Summary |
---|---|---|---|---|
#894 | desai | Remi Broemeling <[email protected]…> | fixed | duplicate <Package ... > elements in Bundler/ and Rules/ cause problems |
Description |
I encountered this when setting up memcached to be installed through bcfg2. I mistakenly copy/pasted too much from my Bundler/memcached.xml to my Rules/memcached.xml and ran into this problem. Bundler/memcached.xml <Bundle name='memcached'> <Package name='memcached' /> <Path name='/etc/memcached.conf' /> <Service name='memcached' /> </Bundle> Problematic Rules/memcached.xml <Rules priority='0'> <Group name='rails-server'> <Package name='memcached' /> <Service type='deb' status='on' name='memcached' /> </Group> </Rules> With this Rules/memcached.xml (above, labelled problematic), bcfg2 reports: # bcfg2 -vqe Loaded tool drivers: APT Action DebInit POSIX Upstart The following entries are not handled by any tool: Package:None:memcached Phase: initial Correct entries: 528 Incorrect entries: 1 Total managed entries: 529 Unmanaged entries: 2 Phase: final Correct entries: 528 Incorrect entries: 1 Package:memcached Total managed entries: 529 Unmanaged entries: 2 Package:memcached Service:network-interface # Fixed Rules/memcached.xml <Rules priority='0'> <Group name='rails-server'> <Service type='deb' status='on' name='memcached' /> </Group> </Rules> With the spurious (duplicate) <Package ... > element removed from Rules/memcached.xml, everything works correctly and memcached is installed and managed by bcfg2. Note that both of the files above (both the problematic and the fixed versions of the Rules/memcached.xml file) pass repository validation via bcfg2-repo-validate. As well, bcfg2-server doesn't produce any noticeable errors in syslog when serving the problematic version of the Rules/memcached.xml file (soljr suggested that it should be complaining about "the entry being served by multiple generators", but I did not observe that error message on my configuration). Software in use was: Ubuntu Lucid Lynx Package Name Package Version bcfg2 1.1.0-1+r5916~testing1~lucid1 bcfg2-server 1.1.0-1+r5916~testing1~lucid1 memcached 1.4.2-1ubuntu3 |
|||
#895 | desai | Remi Broemeling <[email protected]…> | fixed | NameError: name 'plist' is not defined traceback in bcfg2-repo-validate |
Description |
Traceback (most recent call last): File "/usr/sbin/bcfg2-repo-validate", line 103, in <module> print("Failed to parse %s: %s" % (plist, e)) NameError: name 'plist' is not defined |
|||
#896 | desai | Remi Broemeling <[email protected]…> | fixed | Add <RawURL>...</RawURL> support to APTSource |
Description |
APTSource doesn't support <RawURL></RawURL> syntax (YUMSource does). |