Custom Query (894 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (88 - 90 of 894)

Ticket Owner Reporter Resolution Summary
#1089 solj m4z <[email protected]…> fixed bcfg2-admin pull creates info.xml even if :info already exists.
Description

(This seems to be new in 1.2.0, it hasn't happened to me before.)

I haven't tested it in-depth, but it seems that the info.xml file overrides the values in :info.

#1093 solj https://www.google.com/accounts/o8/id?id=AItOawl5-bwrxN_3riwrFWHgfESsuK8Bn6HsQ2M invalid MetadataRuntimeError on Ubuntu 12.04 alpha1
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
#1095 solj solj fixed YUMng not working properly when SELINUX is enforcing
Description

Using the EPEL nginx from http://download.fedora.redhat.com/pub/epel/6/x86_64/nginx-0.8.54-1.el6.x86_64.rpm, Bcfg2 will not properly add the nginx user/group when it installs the package. The issue can be resolved by removing and installing (not reinstalling) the package via yum itself.

--- snip
Attempting to install packages
Installing nginx
Building updates object
up:Obs Init time: 0.070
up:simple updates time: 0.004
up:obs time: 0.002
up:condense time: 0.000
updates time: 0.134
Depsolve time: 0.378
Initial Yum buildTransaction() run said:
   resultcode: 2, msgs: [u'Success - deps resolved']
Downloading Packages
Check Package Signatures
Running Test Transaction
Running rpm_check_debug
Running Transaction
Installing: nginx-0.8.54-1.el6.x86_64
Installed: nginx-0.8.54-1.el6.x86_64
nginx-0.8.54-1.el6.x86_64: warning: user nginx does not exist - using root
warning: group nginx does not exist - using root
warning: user nginx does not exist - using root
warning: group nginx does not exist - using root

VerifyTransaction time: 0.065
Single Pass for Install Succeeded
rpmdb time: 0.000
Reverifying Failed Package nginx
Verifying package instances for nginx
Verifying: nginx
Installing directory /var/lib/php/session
Found a pre-existing directory at /var/lib/php/session
GID normalization failed for /var/lib/php/session. Does group nginx exist?
--- snip

So, it appears that https://github.com/Bcfg2/bcfg2/blob/master/src/lib/Client/Tools/YUMng.py#L874 doesn't do the same thing that yum install is doing.

Note: See TracQuery for help on using queries.