Custom Query (894 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (193 - 195 of 894)

Ticket Owner Reporter Resolution Summary
#443 desai davidr fixed rpmng repo validation fails
Description

The pkglist.xsd file in 0.9.4pre1 doesn't contain information relevant to the RPMng driver ("Instance", etc.) so repo validations are failing with:

/opt/bcfg2/Pkgmgr/rhas4.4_base.xml:4632: element Instance: Schemas validity error : Element 'Instance': This element is not expected. Expected is ( Ignore ). /opt/bcfg2/Pkgmgr/rhas4.4_base.xml:4636: element Instance: Schemas validity error : Element 'Instance': This element is not expected. Expected is ( Ignore ). /opt/bcfg2/Pkgmgr/rhas4.4_base.xml:4640: element Instance: Schemas validity error : Element 'Instance': This element is not expected. Expected is ( Ignore ). /opt/bcfg2/Pkgmgr/rhas4.4_base.xml:4643: element Instance: Schemas validity error : Element 'Instance': This element is not expected. Expected is ( Ignore ). /opt/bcfg2/Pkgmgr/rhas4.4_base.xml fails to validate

#444 desai [email protected] fixed Segfaults with bcfg2-repo-validate and bcfg2-build-reports (0.9.3 0.1)
Description

Hi,

I a fisrt time user of bcfg2. Just install under Centos 4.4 with rpm:

bcfg2-server-0.9.3-0.1 bcfg2-0.9.3-0.1 python-lxml-1.1.2-1 libxslt-devel-1.1.11-1 libxml2-devel-2.6.16-6

The installation ran fine and I could test Cfg and Tcheetah successfully.

To scripts segaults:

  1. strace bcfg2-repo-validate

... open("/usr/share/bcfg2/schemas/report-configuration.xsd", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=2696, ...}) = 0 fstat64(3, {st_mode=S_IFREG|0644, st_size=2696, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c98000 read(3, "<?xml version=\"1.0\"?>\n<xs:schema"..., 4096) = 2696 read(3, "", 4096) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Process 10933 detached

  1. bcfg2-build-reports

open("/var/lib/bcfg2/etc/report-configuration.xml", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=659, ...}) = 0 fstat64(3, {st_mode=S_IFREG|0644, st_size=659, ...}) = 0 _llseek(3, 0, [0], SEEK_CUR) = 0 fstat64(3, {st_mode=S_IFREG|0644, st_size=659, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7c31000 _llseek(3, 0, [0], SEEK_CUR) = 0 read(3, "<Reports>\n<Reportname=\'core_stat"..., 4096) = 659 read(3, "", 4096) = 0 close(3) = 0 munmap(0xb7c31000, 4096) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Process 10946 detached

Added a listing of the repo:

ls /var/lib/bcfg2 -lR /var/lib/bcfg2: total 44 drwxr-xr-x 2 root root 4096 May 23 08:18 Base drwxr-xr-x 2 root root 4096 May 23 13:10 Bundler drwxr-xr-x 3 root root 4096 May 23 09:48 Cfg drwxr-xr-x 2 root root 4096 May 24 07:14 etc drwxr-xr-x 2 root root 4096 May 23 08:18 Metadata drwxr-xr-x 2 root root 4096 May 23 08:18 Pkgmgr drwxr-xr-x 2 root root 4096 May 23 12:56 Probes drwxr-xr-x 2 root root 4096 May 23 08:18 Rules drwxr-xr-x 2 root root 4096 May 23 08:18 SSHbase drwxr-xr-x 2 root root 4096 May 23 08:18 Svcmgr drwxr-xr-x 3 root root 4096 May 23 13:15 TCheetah

/var/lib/bcfg2/Base: total 0

/var/lib/bcfg2/Bundler: total 8 -rw-r--r-- 1 root root 82 May 23 13:31 fstab.xml -rw-r--r-- 1 root root 80 May 23 09:45 motd.xml

/var/lib/bcfg2/Cfg: total 4 drwxr-xr-x 3 root root 4096 May 23 09:51 etc

/var/lib/bcfg2/Cfg/etc: total 4 drwxr-xr-x 2 root root 4096 May 23 09:51 motd

/var/lib/bcfg2/Cfg/etc/motd: total 4 -rw-r--r-- 1 root root 1956 May 23 10:06 motd

/var/lib/bcfg2/etc: total 92 -rw-r--r-- 1 root root 28 May 23 13:19 properties.xml -rw-r--r-- 1 root root 659 May 24 07:14 report-configuration.xml -rw-rw-rw- 1 root root 80629 May 24 06:56 statistics.xml

/var/lib/bcfg2/Metadata: total 8 -rw-r--r-- 1 root root 224 May 24 10:24 clients.xml -rw-r--r-- 1 root root 467 May 23 13:11 groups.xml

/var/lib/bcfg2/Pkgmgr: total 0

/var/lib/bcfg2/Probes: total 4 -rw-r--r-- 1 root root 82 May 23 13:49 fstab

/var/lib/bcfg2/Rules: total 0

/var/lib/bcfg2/SSHbase: total 0

/var/lib/bcfg2/Svcmgr: total 0

/var/lib/bcfg2/TCheetah: total 4 drwxr-xr-x 3 root root 4096 May 23 13:15 etc

/var/lib/bcfg2/TCheetah/etc: total 4 drwxr-xr-x 2 root root 4096 May 23 13:14 fstab

/var/lib/bcfg2/TCheetah/etc/fstab: total 8 -rw-r--r-- 1 root root 12 May 23 13:14 info -rw-r--r-- 1 root root 119 May 23 14:23 template

I followed the docs but I may have missed something.

regards,

Jean-Francois

#445 desai lueningh fixed python-lxml vs. lxml
Description

It looks like Redhat/Fedora? ship with 'python-lxml', while the "official" LXML packages are just named 'lxml'. Since Suse doesn't include a package, I need this spec file patch to install cleanly:

--- bcfg2.spec.orig     2007-05-29 15:40:07.000000000 -0500
+++ bcfg2.spec  2007-05-29 15:36:46.000000000 -0500
@@ -19,7 +19,11 @@
 BuildArch:        noarch
 
 BuildRequires:    python-devel
+%if "%{_vendor}" == "redhat"
 Requires:         python-lxml >= 0.9
+%else
+Requires:         lxml >= 0.9
+%endif
 
 %description
 Bcfg2 helps system administrators produce a consistent, reproducible,

Note: See TracQuery for help on using queries.