Project

General

Profile

Actions

Bug #2150

closed

Missing parent categories in the PT library on-memory view leads to inconsistencies and errors

Added by Nicolas PERRON over 12 years ago. Updated over 12 years ago.

Status:
Released
Priority:
1
Category:
Architecture - Code maintenance
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

2011-12-28 18:36:00.864:INFO::jetty-7.2.2.v20101205
2011-12-28 18:36:00.897:INFO::Deployment monitor /opt/rudder/jetty7/webapps at interval 1
2011-12-28 18:36:00.903:INFO::Deployable added: /opt/rudder/jetty7/webapps/async-rest
2011-12-28 18:36:01.370:INFO::Deployable added: /opt/rudder/jetty7/webapps/endpoint.war
2011-12-28 18:36:01.375:INFO::Copying WEB-INF/lib jar:file:/opt/rudder/jetty7/webapps/endpoint.war!/WEB-INF/lib/ to /tmp/jetty-127.0.0.1-8080-endpoint.war-_endpoint-any-/webinf/WEB-INF/lib
2011-12-28 18:36:01.996:INFO::Copying WEB-INF/classes from jar:file:/opt/rudder/jetty7/webapps/endpoint.war!/WEB-INF/classes/ to /tmp/jetty-127.0.0.1-8080-endpoint.war-_endpoint-any-/webinf/WEB-INF/classes
Use configuration file defined by JVM property -Dlogback.configurationFile : /opt/rudder/etc/logback.xml
2011-12-28 18:36:04.846:INFO:endpoint:Initializing Spring FrameworkServlet 'dispatcher'
18:36:05.330 [main]            INFO  c.n.i.p.e.c.PropertyPlaceholderConfig - Use configuration file defined by JVM property -Dinventoryweb.configFile : /opt/rudder/etc/inventory-web.properties
2011-12-28 18:36:07.980:INFO::Deployable added: /opt/rudder/jetty7/webapps/cometd.war
2011-12-28 18:36:07.988:INFO::Copying WEB-INF/lib jar:file:/opt/rudder/jetty7/webapps/cometd.war!/WEB-INF/lib/ to /tmp/jetty-127.0.0.1-8080-cometd.war-_cometd-any-/webinf/WEB-INF/lib
2011-12-28 18:36:08.251:INFO::Copying WEB-INF/classes from jar:file:/opt/rudder/jetty7/webapps/cometd.war!/WEB-INF/classes/ to /tmp/jetty-127.0.0.1-8080-cometd.war-_cometd-any-/webinf/WEB-INF/classes
INIT org.eclipse.jetty.servlet.ServletHolder$Config@72cc5002
2011-12-28 18:36:09.276:INFO::Monitored Subscribe from oort_41qvdr6gqdx5fr1qz6d61ykhk5h for /oort/cloud
2011-12-28 18:36:09.286:INFO::Monitored Subscribe from seti_5o9s5iziqbyfr5zsa235d0h6s for /seti/http_localhost_8080_cometd
2011-12-28 18:36:09.300:INFO::Monitored Subscribe from seti_5o9s5iziqbyfr5zsa235d0h6s for /seti/ALL
2011-12-28 18:36:09.301:INFO::Monitored Subscribe from seti_5o9s5iziqbyfr5zsa235d0h6s for /seti/S0
2011-12-28 18:36:09.331:INFO::Deployable added: /opt/rudder/jetty7/webapps/root
2011-12-28 18:36:09.364:INFO::Deployment monitor /opt/rudder/jetty7/contexts at interval 1
2011-12-28 18:36:09.365:INFO::Deployable added: /opt/rudder/jetty7/contexts/test-jndi.xml
2011-12-28 18:36:09.552:INFO::Deployable added: /opt/rudder/jetty7/contexts/test-jaas.xml
2011-12-28 18:36:09.587:INFO::Deployable added: /opt/rudder/jetty7/contexts/javadoc.xml
2011-12-28 18:36:09.596:INFO::Deployable added: /opt/rudder/jetty7/contexts/test.xml
2011-12-28 18:36:09.606:INFO::Extract jar:file:/opt/rudder/jetty7/webapps/test.war!/ to /tmp/jetty-127.0.0.1-8080-test.war-_test-any-/webapp
2011-12-28 18:36:09.870:INFO:org.eclipse.jetty.servlets.TransparentProxy:TransparentProxy @ /test/javadoc to http://download.eclipse.org/jetty/stable-7/apidocs
2011-12-28 18:36:09.873:INFO::Deployable added: /opt/rudder/jetty7/contexts/hightide.xml
2011-12-28 18:36:09.879:INFO::Deployable added: /opt/rudder/jetty7/contexts/test-annotations.xml
2011-12-28 18:36:09.959:INFO::Deployable added: /opt/rudder/jetty7/contexts/rudder.xml
2011-12-28 18:36:09.967:INFO::Extract jar:file:/opt/rudder/jetty7/webapps/rudder.war!/ to /tmp/jetty-127.0.0.1-8080-rudder.war-_rudder-any-/webapp
Use configuration file defined by JVM property -Dlogback.configurationFile : /opt/rudder/etc/logback.xml
2011-12-28 18:36:19.165:INFO:/rudder:Initializing Spring root WebApplicationContext
18:36:20.090 [main]            INFO  b.liftweb.PropertyPlaceholderConfig - Use configuration file defined by JVM property -Drudder.configFile : /opt/rudder/etc/rudder-web.properties
18:36:20.334 [main]            INFO  b.l.AppConfigAuth$$EnhancerByCGLIB$$89ae4162 - Use configuration file defined by JVM property -Drudder.authFile : /opt/rudder/etc/rudder-users.xml
18:36:20.439 [main]            DEBUG bootstrap.liftweb.AppConfigAuth - User with defined credentials: jon.doe, alex.bar
18:36:21.844 [main]            ERROR o.s.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldapNodeConfigurationMapper' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.rudder.repository.ldap.LDAPNodeConfigurationMapper bootstrap.liftweb.AppConfig.ldapNodeConfigurationMapper()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyPackageService' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.impl.PolicyPackageServiceImpl bootstrap.liftweb.AppConfig.policyPackageService()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyPackagesReader' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.PolicyPackagesReader bootstrap.liftweb.AppConfig.policyPackagesReader()] threw exception; nested exception is java.util.NoSuchElementException: key not found: /policy-library/UserPolicyTemplateLibraryRoot/userlib_systemSettings
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581) ~[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) ~[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) ~[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) ~[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) ~[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) ~[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192) ~[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) ~[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) ~[spring-context-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) ~[spring-context-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282) ~[spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204) ~[spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at bootstrap.liftweb.LiftInitContextListener.contextInitialized(LiftContextInitListener.scala:84) [classes/:na]
    at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:641) [jetty-server-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228) [jetty-servlet-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1181) [jetty-webapp-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:584) [jetty-server-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496) [jetty-webapp-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) [jetty-util-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:481) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:137) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:137) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:50) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:470) [jetty-util-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:382) [jetty-util-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.util.Scanner.scan(Scanner.java:339) [jetty-util-7.2.2.v20101205.jar:7.2.2.v20101205]
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.rudder.repository.ldap.LDAPNodeConfigurationMapper bootstrap.liftweb.AppConfig.ldapNodeConfigurationMapper()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyPackageService' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.impl.PolicyPackageServiceImpl bootstrap.liftweb.AppConfig.policyPackageService()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyPackagesReader' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.PolicyPackagesReader bootstrap.liftweb.AppConfig.policyPackagesReader()] threw exception; nested exception is java.util.NoSuchElementException: key not found: /policy-library/UserPolicyTemplateLibraryRoot/userlib_systemSettings
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:157) ~[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) ~[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) ~[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) ~[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) ~[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) ~[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) ~[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192) ~[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585) ~[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) ~[spring-context-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) ~[spring-context-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282) ~[spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204) ~[spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    at bootstrap.liftweb.LiftInitContextListener.contextInitialized(LiftContextInitListener.scala:84) [classes/:na]
    at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:641) [jetty-server-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228) [jetty-servlet-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1181) [jetty-webapp-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:584) [jetty-server-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496) [jetty-webapp-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) [jetty-util-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:481) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:137) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:137) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:50) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:470) [jetty-util-7.2.2.v20101205.jar:7.2.2.v20101205]
    at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:382) [jetty-util-7.2.2.v20101205.jar:7.2.2.v20101205]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyPackageService' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.impl.PolicyPackageServiceImpl bootstrap.liftweb.AppConfig.policyPackageService()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyPackagesReader' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.PolicyPackagesReader bootstrap.liftweb.AppConfig.policyPackagesReader()] threw exception; nested exception is java.util.NoSuchElementException: key not found: /policy-library/UserPolicyTemplateLibraryRoot/userlib_systemSettings
    at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581) ~[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
...
Actions #1

Updated by Nicolas CHARLES over 12 years ago

  • Category set to Architecture - Code maintenance
  • Status changed from New to Discussion
  • Assignee changed from Nicolas CHARLES to Nicolas PERRON

This error seems linked to #2146; could you check that it's been corrected ?
Note : i tried, but couldn't reproduce this error

Actions #2

Updated by Nicolas CHARLES over 12 years ago

  • Status changed from Discussion to New
  • Assignee changed from Nicolas PERRON to François ARMAND

I narrowed the bug at GitPolicyPackageReader, l381
It tries to fetch a parent category that is not registered as int the packages infos :

packageInfos is Map(/systemSettings/remoteAccess -> SubPolicyPackageCategory(/systemSettings/remoteAccess,Remote access,This sub-category contains policy templates to configure remote access to a system (SSH, RDP, VNC, ...),Set(),TreeSet(),false), /systemSettings/security -> SubPolicyPackageCategory(/systemSettings/security,Security settings,This category contains policy templates aimed to configure the basic security settings a system, like the file integrity monitoring,Set(),TreeSet(),false), /policy-library/UserPolicyTemplateLibraryRoot/userlib_systemSettings/userlib_userManagement -> SubPolicyPackageCategory(/policy-library/UserPolicyTemplateLibraryRoot/userlib_systemSettings/userlib_userManagement,userlib_userManagement,
This category contains policy templates to manage all user related parameters, such as group and user creation, sudo parameters...
,Set(),TreeSet(),false), /systemSettings/networking -> SubPolicyPackageCategory(/systemSettings/networking,Networking,This sub-category contains policy templates to configure networking on a system (DNS, routing, interfaces...),Set(),TreeSet(),false), /systemSettings/systemManagement -> SubPolicyPackageCategory(/systemSettings/systemManagement,System management,This category contains policy templates to manage all system related parameters, such as fstab, ...,Set(),TreeSet(),false), /system -> SubPolicyPackageCategory(/system,System policy templates,
That category contains system and library policy template.
These package should not be used directly.
,Set(),TreeSet(),true), /systemSettings/process -> SubPolicyPackageCategory(/systemSettings/process,Process,This sub-category contains policy templates to enforce some system process policies,Set(),TreeSet(),false), /systemSettings/userManagement -> SubPolicyPackageCategory(/systemSettings/userManagement,User management,This category contains policy templates to manage all user related parameters, such as group and user creation, sudo parameters...,Set(),TreeSet(),false), /fileDistribution -> SubPolicyPackageCategory(/fileDistribution,Distributing files,
Send files to servers.
,Set(),TreeSet(),false), /fileConfiguration/security -> SubPolicyPackageCategory(/fileConfiguration/security,Security configuration,
Assert and correct security rules
,Set(),TreeSet(),false), /systemSettings -> SubPolicyPackageCategory(/systemSettings,System settings,This category contains policy templates to configure the basic components of a system: name resolution, time synchronization, remote access, networking...,Set(),TreeSet(),false), /applications -> SubPolicyPackageCategory(/applications,Application management,This category contains policy templates designed to install, configure and manage applications,Set(),TreeSet(),false), /systemSettings/misc -> SubPolicyPackageCategory(/systemSettings/misc,Miscellaneous,This sub-category contains various policy templates to configure system settings.,Set(),TreeSet(),false), /fileConfiguration -> SubPolicyPackageCategory(/fileConfiguration,File state configuration,
Define state about files (especially configuration files)
,Set(),TreeSet(),false))

It tries to fetch /policy-library/UserPolicyTemplateLibraryRoot/userlib_systemSettings, which is not present. However, i'm wondering why they are not all present in this list... I'm doing a workaround to prevent more failure to start, but it is NOT a solution to the problem

Actions #3

Updated by François ARMAND over 12 years ago

  • Subject changed from Rudder 2.4.0~alpha3~git can't be started on rudder-snapshot to Missing parent categories in the PT library on-memory view leads to inconsistencies and errors
  • Status changed from New to In progress
Actions #4

Updated by François ARMAND over 12 years ago

OK, so it's normal that "/policy-library/...." is not in the PT map, because it's not in the PT lib AT ALL.
There seems to be a problem with the Git filter, it also take into account directories outside its root path.

Actions #5

Updated by François ARMAND over 12 years ago

  • Status changed from In progress to Pending technical review
  • % Done changed from 0 to 100

Applied in changeset commit:ffa59149a0da9a9196d33c98c33c60a54306bebb.

Actions #6

Updated by François ARMAND over 12 years ago

Applied in changeset commit:10b1bf74a525b3f1da61963532f0b194a019b687.

Actions #7

Updated by Jonathan CLARKE over 12 years ago

François, can you confirm that this bug does not affect the 2.3 branch please?

Actions #8

Updated by Nicolas CHARLES over 12 years ago

  • Status changed from Pending technical review to Released

This seems correct

Actions

Also available in: Atom PDF