Rudder: Issueshttps://issues.rudder.io/https://issues.rudder.io/themes/rudder7/favicon/favicon.ico?17096450182012-02-17T08:55:48ZIssue Tracker
Redmine User story #2292 (Released): Unclear error message when the policy-template library is not found ...https://issues.rudder.io/issues/22922012-02-17T08:55:48ZFrançois ARMANDfrancois.armand@rudder.io
<p>When we start Rudder and the files for the Policy-Template library in /var/rudder/configuration-repository/policy-templates are not commited in Git, or not present at all, we end up with an unclear error message: "Missing root category".</p>
<p>The commit commit:4fefef70d940e663f56c372bbb19f273ef3886d8 update the message to: "Missing policy-template root category in Git, expecting category descriptor for Git path: '/var/rudder/configuration-repository/policy-templates'"</p> Architecture #2290 (Released): Remove deprecated scriptshttps://issues.rudder.io/issues/22902012-02-16T09:41:25ZJonathan CLARKEjonathan.clarke@normation.com
<p>Some old scripts are hanging around in our git repo:
* script-hudson_archivage.sh
* script-hudson_install.sh</p>
<p>They are not used, out of date, and should be removed.</p> Architecture #2287 (Released): Change URL for uploading rudder artefactshttps://issues.rudder.io/issues/22872012-02-15T17:36:16ZNicolas PERRONnicolas.perron@normation.com
<p>We have to change pom.xml settings of <strong>rudder-parent-pom</strong> and <strong>rudder-commons</strong> in order to switch upload URL from maven.normation.com to nexus.normation.com:</p>
<pre>
<distributionManagement>
<snapshotRepository>
<id>nexus.normation.com</id>
<name>Normation internal nexus repository for snapshots</name>
<url>http://nexus.normation.com/nexus/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>nexus.normation.com</id>
<name>Normation internal nexus repository for release</name>
<url>http://nexus.normation.com/nexus/content/repositories/releases</url>
</repository>
</distributionManagement>
</pre> Architecture #2276 (Released): We don't need no more rudder-policy-templates exception in rudder-...https://issues.rudder.io/issues/22762012-02-13T17:35:55ZNicolas PERRONnicolas.perron@normation.comBug #2271 (Released): Import error with Rudder-core -> reportsInfo.sqlhttps://issues.rudder.io/issues/22712012-02-13T00:06:11ZFrançois ARMANDfrancois.armand@rudder.io
<p>It seems that rudder-core/test/resources/reportsInfo.sql is not uptodate with the database definition. <br />Tring to import it leads to errors:</p>
<p>psql:src/test/resources/reportsInfo.sql:2: ERREUR: la colonne « uuid » de la relation « ruddersysevents » n'existe pas</p> Bug #2266 (Released): While importing a full archive from another root server, all the PI/PTs and...https://issues.rudder.io/issues/22662012-02-09T16:43:50ZMatthieu CERDAmatthieu.cerda@normation.com
<p>While importing a full archive from another root server, all the PI/PTs and CRs are here but no groups. Thus, all the CRs are in a fritghtening red shade and the admin is sad.</p>
<p>Log says:</p>
<pre>
17:38:55.972 [qtp274617771-64] INFO c.n.r.r.xml.ItemArchiveManagerImpl - Importing full archive with id 'archives/full/2012-02-09_16-06-38.095'
17:38:55.972 [qtp274617771-64] INFO c.n.r.r.xml.ItemArchiveManagerImpl - Importing configuration rules archive with id 'archives/full/2012-02-09_16-06-38.095'
17:38:56.104 [qtp274617771-64] INFO c.n.r.r.xml.ItemArchiveManagerImpl - Importing policy library archive with id 'archives/full/2012-02-09_16-06-38.095'
17:38:57.201 [qtp274617771-64] INFO c.n.r.r.xml.ItemArchiveManagerImpl - Importing groups archive with id 'archives/full/2012-02-09_16-06-38.095'
</pre>
<p>There is no evident failure :)</p> Bug #2265 (Released): During an import of a rudder configuration-repository copy (from another ro...https://issues.rudder.io/issues/22652012-02-09T16:38:28ZMatthieu CERDAmatthieu.cerda@normation.com
<p>During an import of a rudder configuration-repository copy (from another root server), if you try to tag the archive without an annotation, JGit fails.</p>
<p>How to reproduce:</p>
<pre>
git tag archives/full/2012-02-09_16-06-38.095 # Can be anything, works with "git tag flyingduck" too
</pre>
Result:
<ul>
<li>In the webapp: (no archive)</li>
<li>In the logs:</li>
</ul>
<pre>
(...)
17:27:19.435 [qtp274617771-62] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty)))
17:27:19.441 [qtp274617771-62] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty)))
17:27:19.446 [qtp274617771-62] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty)))
17:27:21.377 [qtp274617771-64] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty)))
17:27:21.391 [qtp274617771-64] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty)))
17:27:21.396 [qtp274617771-64] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty)))
17:27:21.401 [qtp274617771-64] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty)))
17:30:56.860 [qtp274617771-66] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty)))
17:30:56.867 [qtp274617771-66] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty)))
17:30:56.873 [qtp274617771-66] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty)))
17:30:56.881 [qtp274617771-66] ERROR c.n.r.w.s.administration.Archives - Failure(Error when looking for archives,Empty,Full(Failure(Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.,Full(org.eclipse.jgit.api.errors.JGitInternalException: Object fef488a0ce071f11e40e7fcc485fe65a7736a2f4 is not a tag.),Empty)))
(...)
</pre>
<p>If you do:</p>
<pre>
git tag -a -m "Plopinou" archives/full/2012-02-09_16-06-38.095
</pre>
<p>Then rudder is happy and displays the import.</p> Bug #2262 (Rejected): The rudder-init script outputs a weird error at the "Add sample data" stagehttps://issues.rudder.io/issues/22622012-02-09T14:05:45ZMatthieu CERDAmatthieu.cerda@normation.com
<p>When launching a rudder-init to initialize a LDAP database, I get that :</p>
<pre>
Allowed networks: 192.168.110.0/24
Server IP: 192.168.110.20
Add sample data? no
/opt/rudder/bin/rudder-init.sh: line 170: [: -gt: unary operator expected
Reset Initial Promises? yes
</pre> Bug #2261 (Rejected): While trying to make a complete archive on the webapp for an export, a wild...https://issues.rudder.io/issues/22612012-02-09T12:15:17ZMatthieu CERDAmatthieu.cerda@normation.com
<p>While trying to make a complete archive on the webapp for an export, a wild stacktrace appears and no confirmation of the archive is returned.</p>
<p>The GIT log states:<br /><pre>
commit 4e44b05d1203525e15af937c246015ac77ea83cb
Author: jon.doe <<email not set>
Date: Thu Jan 1 00:00:00 1970 +0000
#configuration-rules-archive Commit all modification done on configuration rules (git path: 'configuration-rules')
</pre></p>
<p>And the webapp logs:<br /><pre>
13:06:36.412 [qtp1938822199-69] INFO c.n.r.r.x.GitConfigurationRuleArchiverImpl - Create a new archive: archives/configurations-rules/2012-02-09_13-06-36.412
13:06:36.783 [qtp1938822199-69] ERROR net.liftweb.http.LiftRules - Exception being returned to browser when processing Req(List(F708712136103KEGPUE, zF708712136102OTAJGM), Map(F708712136103KEGPUE -> List(NK3WE4UAPXKXDV2QQW5M), zF70871213
6102OTAJGM -> List(_)), ParsePath(List(ajax_request, F708712136100EICJ4X, index),,true,true), /rudder, PostRequest, Full(application/x-www-form-urlencoded; charset=UTF-8))
java.util.NoSuchElementException: key not found: GENERIC_FILE_CONTENT_DELETION_BOOLEAN
at scala.collection.MapLike$class.default(MapLike.scala:224) ~[scala-library-2.9.1.jar:na]
at scala.collection.immutable.HashMap.default(HashMap.scala:36) ~[scala-library-2.9.1.jar:na]
at scala.collection.MapLike$class.apply(MapLike.scala:135) ~[scala-library-2.9.1.jar:na]
at scala.collection.immutable.HashMap.apply(HashMap.scala:36) ~[scala-library-2.9.1.jar:na]
at com.normation.rudder.domain.policies.SectionVal$$anonfun$2.apply(PolicyInstance.scala:155) ~[rudder-core-0.11.0-SNAPSHOT.jar:na]
at com.normation.rudder.domain.policies.SectionVal$$anonfun$2.apply(PolicyInstance.scala:154) ~[rudder-core-0.11.0-SNAPSHOT.jar:na]
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194) ~[scala-library-2.9.1.jar:na]
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194) ~[scala-library-2.9.1.jar:na]
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59) ~[scala-library-2.9.1.jar:na]
at scala.collection.immutable.List.foreach(List.scala:45) ~[scala-library-2.9.1.jar:na]
at scala.collection.TraversableLike$class.map(TraversableLike.scala:194) ~[scala-library-2.9.1.jar:na]
at scala.collection.immutable.List.map(List.scala:45) ~[scala-library-2.9.1.jar:na]
at com.normation.rudder.domain.policies.SectionVal$.buildMonoSectionWithMultivaluedParent$1(PolicyInstance.scala:154) ~[rudder-core-0.11.0-SNAPSHOT.jar:na]
at com.normation.rudder.domain.policies.SectionVal$$anonfun$9$$anonfun$apply$3.apply(PolicyInstance.scala:200) ~[rudder-core-0.11.0-SNAPSHOT.jar:na]
at com.normation.rudder.domain.policies.SectionVal$$anonfun$9$$anonfun$apply$3.apply(PolicyInstance.scala:199) ~[rudder-core-0.11.0-SNAPSHOT.jar:na]
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194) ~[scala-library-2.9.1.jar:na]
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194) ~[scala-library-2.9.1.jar:na]
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59) ~[scala-library-2.9.1.jar:na]
at scala.collection.immutable.List.foreach(List.scala:45) ~[scala-library-2.9.1.jar:na]
at scala.collection.TraversableLike$class.map(TraversableLike.scala:194) ~[scala-library-2.9.1.jar:na]
at scala.collection.immutable.List.map(List.scala:45) ~[scala-library-2.9.1.jar:na]
at com.normation.rudder.domain.policies.SectionVal$$anonfun$9.apply(PolicyInstance.scala:199) ~[rudder-core-0.11.0-SNAPSHOT.jar:na]
at com.normation.rudder.domain.policies.SectionVal$$anonfun$9.apply(PolicyInstance.scala:197) ~[rudder-core-0.11.0-SNAPSHOT.jar:na]
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194) ~[scala-library-2.9.1.jar:na]
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194) ~[scala-library-2.9.1.jar:na]
at scala.collection.immutable.Range.foreach(Range.scala:75) ~[scala-library-2.9.1.jar:na]
at scala.collection.TraversableLike$class.map(TraversableLike.scala:194) ~[scala-library-2.9.1.jar:na]
at scala.collection.immutable.Range.map(Range.scala:43) ~[scala-library-2.9.1.jar:na]
at com.normation.rudder.domain.policies.SectionVal$.buildMultiSectionWithoutMultiParent$1(PolicyInstance.scala:197) ~[rudder-core-0.11.0-SNAPSHOT.jar:na]
at com.normation.rudder.domain.policies.SectionVal$$anonfun$12.apply(PolicyInstance.scala:222) ~[rudder-core-0.11.0-SNAPSHOT.jar:na]
at com.normation.rudder.domain.policies.SectionVal$$anonfun$12.apply(PolicyInstance.scala:220) ~[rudder-core-0.11.0-SNAPSHOT.jar:na]
</pre></p> Bug #2260 (Rejected): While trying to delete a PI, you get a frightening error message and a dele...https://issues.rudder.io/issues/22602012-02-09T11:29:09ZMatthieu CERDAmatthieu.cerda@normation.com
<p>While trying to delete a PI, you get a frightening error message and a deleted but uncommited XML file in the GIT repository:</p>
<p>UI Error:<br /><pre>
The form contains some errors, please correct them
An error occurred while deleting the policy instance: <- Error when deleting policy instanc with ID PolicyInstanceId(02dead6e-b1db-4c4f-a338-aae662db353c). All dependent configuration rules where deleted ().Error when deleting policy instanc with ID PolicyInstanceId(02dead6e-b1db-4c4f-a338-aae662db353c). All dependent configuration rules where deleted ().
</pre></p>
<p>GIT status:<br /><pre>
root@orchestrateur-1:/var/rudder/configuration-repository# git status
# On branch master
# Changed but not updated:
# (use "git add/rm <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# deleted: policy-library/userlib_fileConfiguration/fileManagement/02dead6e-b1db-4c4f-a338-aae662db353c.xml
#
no changes added to commit (use "git add" and/or "git commit -a")
</pre></p> Bug #2259 (Released): The date on Rudder's internal commits is messed uphttps://issues.rudder.io/issues/22592012-02-09T11:26:57ZMatthieu CERDAmatthieu.cerda@normation.com
<p>The date on Rudder's internal commits is messed up.</p>
<p>I got a ton of internal commits (archives, PI creations ...) with a date of : <pre>Thu Jan 1 00:00:00 1970 +0000</pre></p>
<p>Either Rudder is much more powerful that a 2.21GigOwatt powered DeLorean, or it is a bug !</p> Bug #2257 (Rejected): Successful Deployment event log is displayed as "Unknow event type"https://issues.rudder.io/issues/22572012-02-09T10:16:43ZJonathan CLARKEjonathan.clarke@normation.com
<p>Clearly, this should be a known event type, with more details.</p>
<p><img src="https://issues.rudder.io/attachments/download/394/Screenshot.png" alt="" loading="lazy" /></p> Bug #2256 (Released): Error "Something unexpected happened while serving the page at /secure/admi...https://issues.rudder.io/issues/22562012-02-09T10:08:43ZJonathan CLARKEjonathan.clarke@normation.com
<p>When trying to access <a class="external" href="http://rudder-snapshot.normation.com/rudder/secure/administration/archiveManagement">http://rudder-snapshot.normation.com/rudder/secure/administration/archiveManagement</a> I get an error in the browser saying "Something unexpected happened while serving the page at /secure/administration/archiveManagement" and the following errors in the log file:</p>
<pre>
11:05:32.945 [qtp1927739346-72] ERROR net.liftweb.http.LiftRules - Exception being returned to browser when processing Req(List(), Map(), ParsePath(List(secure, administration, archiveManagement),,true,false), /rudder, GetRequest, Empty)
scala.MatchError: Full(Map()) (of class net.liftweb.common.Full)
at com.normation.rudder.web.snippet.administration.Archives$$anonfun$actionFormBuilder$1.apply(Archives.scala:240) ~[classes/:na]
at com.normation.rudder.web.snippet.administration.Archives$$anonfun$actionFormBuilder$1.apply(Archives.scala:171) ~[classes/:na]
at net.liftweb.http.SHtml$$anon$9.applyAgain(SHtml.scala:327) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.SHtml$$anon$9$$anonfun$apply$7.apply(SHtml.scala:320) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.SHtml$$anon$9$$anonfun$apply$7.apply(SHtml.scala:320) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.common.Full.map(Box.scala:491) ~[lift-common_2.9.1-2.4.jar:2.4]
at net.liftweb.http.SHtml$$anon$9.apply(SHtml.scala:320) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.SHtml$$anon$9.apply(SHtml.scala:303) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81$$anonfun$apply$84$$anonfun$apply$86.apply(LiftSession.scala:1585) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81$$anonfun$apply$84$$anonfun$apply$86.apply(LiftSession.scala:1557) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.common.EmptyBox.openOr(Box.scala:574) ~[lift-common_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81$$anonfun$apply$84.apply(LiftSession.scala:1557) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81$$anonfun$apply$84.apply(LiftSession.scala:1557) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.common.EmptyBox.openOr(Box.scala:574) ~[lift-common_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81.apply(LiftSession.scala:1556) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81.apply(LiftSession.scala:1556) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.S$class.doSnippet(S.scala:2228) [lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.S$.doSnippet(S.scala:48) [lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27.apply(LiftSession.scala:1554) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27.apply(LiftSession.scala:1553) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.common.Full.map(Box.scala:491) ~[lift-common_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processSnippet(LiftSession.scala:1553) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$_defaultLiftTagProcessing$1.apply(LiftSession.scala:1779) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$_defaultLiftTagProcessing$1.apply(LiftSession.scala:1767) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.util.NamedPF.apply(NamedPartialFunction.scala:36) ~[lift-util_2.9.1-2.4.jar:2.4]
at net.liftweb.util.NamedPF$.apply(NamedPartialFunction.scala:82) ~[lift-util_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$93$$anonfun$apply$94$$anonfun$apply$95.apply(LiftSession.scala:1870) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$93$$anonfun$apply$94$$anonfun$apply$95.apply(LiftSession.scala:1869) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) [lift-util_2.9.1-2.4.jar:2.4]
at net.liftweb.http.S$class.withAttrs(S.scala:2018) [lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.S$.withAttrs(S.scala:48) [lift-webkit_2.9.1-2.4.jar:2.4]
11:05:41.802 [qtp1927739346-68] ERROR net.liftweb.http.LiftRules - Exception being returned to browser when processing Req(List(), Map(), ParsePath(List(secure, administration, archiveManagement),,true,false), /rudder, GetRequest, Empty)
scala.MatchError: Full(Map()) (of class net.liftweb.common.Full)
at com.normation.rudder.web.snippet.administration.Archives$$anonfun$actionFormBuilder$1.apply(Archives.scala:240) ~[classes/:na]
at com.normation.rudder.web.snippet.administration.Archives$$anonfun$actionFormBuilder$1.apply(Archives.scala:171) ~[classes/:na]
at net.liftweb.http.SHtml$$anon$9.applyAgain(SHtml.scala:327) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.SHtml$$anon$9$$anonfun$apply$7.apply(SHtml.scala:320) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.SHtml$$anon$9$$anonfun$apply$7.apply(SHtml.scala:320) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.common.Full.map(Box.scala:491) ~[lift-common_2.9.1-2.4.jar:2.4]
at net.liftweb.http.SHtml$$anon$9.apply(SHtml.scala:320) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.SHtml$$anon$9.apply(SHtml.scala:303) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81$$anonfun$apply$84$$anonfun$apply$86.apply(LiftSession.scala:1585) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81$$anonfun$apply$84$$anonfun$apply$86.apply(LiftSession.scala:1557) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.common.EmptyBox.openOr(Box.scala:574) ~[lift-common_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81$$anonfun$apply$84.apply(LiftSession.scala:1557) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81$$anonfun$apply$84.apply(LiftSession.scala:1557) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.common.EmptyBox.openOr(Box.scala:574) ~[lift-common_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81.apply(LiftSession.scala:1556) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81.apply(LiftSession.scala:1556) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.S$class.doSnippet(S.scala:2228) [lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.S$.doSnippet(S.scala:48) [lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27.apply(LiftSession.scala:1554) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27.apply(LiftSession.scala:1553) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.common.Full.map(Box.scala:491) ~[lift-common_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processSnippet(LiftSession.scala:1553) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$_defaultLiftTagProcessing$1.apply(LiftSession.scala:1779) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$_defaultLiftTagProcessing$1.apply(LiftSession.scala:1767) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.util.NamedPF.apply(NamedPartialFunction.scala:36) ~[lift-util_2.9.1-2.4.jar:2.4]
at net.liftweb.util.NamedPF$.apply(NamedPartialFunction.scala:82) ~[lift-util_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$93$$anonfun$apply$94$$anonfun$apply$95.apply(LiftSession.scala:1870) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$93$$anonfun$apply$94$$anonfun$apply$95.apply(LiftSession.scala:1869) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) [lift-util_2.9.1-2.4.jar:2.4]
at net.liftweb.http.S$class.withAttrs(S.scala:2018) [lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.S$.withAttrs(S.scala:48) [lift-webkit_2.9.1-2.4.jar:2.4]
11:05:44.418 [qtp1927739346-67] ERROR net.liftweb.http.LiftRules - Exception being returned to browser when processing Req(List(), Map(), ParsePath(List(secure, administration, archiveManagement),,true,false), /rudder, GetRequest, Empty)
scala.MatchError: Full(Map()) (of class net.liftweb.common.Full)
at com.normation.rudder.web.snippet.administration.Archives$$anonfun$actionFormBuilder$1.apply(Archives.scala:240) ~[classes/:na]
at com.normation.rudder.web.snippet.administration.Archives$$anonfun$actionFormBuilder$1.apply(Archives.scala:171) ~[classes/:na]
at net.liftweb.http.SHtml$$anon$9.applyAgain(SHtml.scala:327) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.SHtml$$anon$9$$anonfun$apply$7.apply(SHtml.scala:320) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.SHtml$$anon$9$$anonfun$apply$7.apply(SHtml.scala:320) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.common.Full.map(Box.scala:491) ~[lift-common_2.9.1-2.4.jar:2.4]
at net.liftweb.http.SHtml$$anon$9.apply(SHtml.scala:320) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.SHtml$$anon$9.apply(SHtml.scala:303) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81$$anonfun$apply$84$$anonfun$apply$86.apply(LiftSession.scala:1585) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81$$anonfun$apply$84$$anonfun$apply$86.apply(LiftSession.scala:1557) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.common.EmptyBox.openOr(Box.scala:574) ~[lift-common_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81$$anonfun$apply$84.apply(LiftSession.scala:1557) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81$$anonfun$apply$84.apply(LiftSession.scala:1557) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.common.EmptyBox.openOr(Box.scala:574) ~[lift-common_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81.apply(LiftSession.scala:1556) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81.apply(LiftSession.scala:1556) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.S$class.doSnippet(S.scala:2228) [lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.S$.doSnippet(S.scala:48) [lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27.apply(LiftSession.scala:1554) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27.apply(LiftSession.scala:1553) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.common.Full.map(Box.scala:491) ~[lift-common_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processSnippet(LiftSession.scala:1553) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$_defaultLiftTagProcessing$1.apply(LiftSession.scala:1779) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$_defaultLiftTagProcessing$1.apply(LiftSession.scala:1767) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.util.NamedPF.apply(NamedPartialFunction.scala:36) ~[lift-util_2.9.1-2.4.jar:2.4]
at net.liftweb.util.NamedPF$.apply(NamedPartialFunction.scala:82) ~[lift-util_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$93$$anonfun$apply$94$$anonfun$apply$95.apply(LiftSession.scala:1870) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$93$$anonfun$apply$94$$anonfun$apply$95.apply(LiftSession.scala:1869) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) [lift-util_2.9.1-2.4.jar:2.4]
at net.liftweb.http.S$class.withAttrs(S.scala:2018) [lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.S$.withAttrs(S.scala:48) [lift-webkit_2.9.1-2.4.jar:2.4]
11:05:56.811 [qtp1927739346-65] ERROR net.liftweb.http.LiftRules - Exception being returned to browser when processing Req(List(), Map(), ParsePath(List(secure, administration, archiveManagement),,true,false), /rudder, GetRequest, Empty)
scala.MatchError: Full(Map()) (of class net.liftweb.common.Full)
at com.normation.rudder.web.snippet.administration.Archives$$anonfun$actionFormBuilder$1.apply(Archives.scala:240) ~[classes/:na]
at com.normation.rudder.web.snippet.administration.Archives$$anonfun$actionFormBuilder$1.apply(Archives.scala:171) ~[classes/:na]
at net.liftweb.http.SHtml$$anon$9.applyAgain(SHtml.scala:327) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.SHtml$$anon$9$$anonfun$apply$7.apply(SHtml.scala:320) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.SHtml$$anon$9$$anonfun$apply$7.apply(SHtml.scala:320) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.common.Full.map(Box.scala:491) ~[lift-common_2.9.1-2.4.jar:2.4]
at net.liftweb.http.SHtml$$anon$9.apply(SHtml.scala:320) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.SHtml$$anon$9.apply(SHtml.scala:303) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81$$anonfun$apply$84$$anonfun$apply$86.apply(LiftSession.scala:1585) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81$$anonfun$apply$84$$anonfun$apply$86.apply(LiftSession.scala:1557) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.common.EmptyBox.openOr(Box.scala:574) ~[lift-common_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81$$anonfun$apply$84.apply(LiftSession.scala:1557) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81$$anonfun$apply$84.apply(LiftSession.scala:1557) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.common.EmptyBox.openOr(Box.scala:574) ~[lift-common_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81.apply(LiftSession.scala:1556) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27$$anonfun$apply$81.apply(LiftSession.scala:1556) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.S$class.doSnippet(S.scala:2228) [lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.S$.doSnippet(S.scala:48) [lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27.apply(LiftSession.scala:1554) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$27.apply(LiftSession.scala:1553) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.common.Full.map(Box.scala:491) ~[lift-common_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession.net$liftweb$http$LiftSession$$processSnippet(LiftSession.scala:1553) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$_defaultLiftTagProcessing$1.apply(LiftSession.scala:1779) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$_defaultLiftTagProcessing$1.apply(LiftSession.scala:1767) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.util.NamedPF.apply(NamedPartialFunction.scala:36) ~[lift-util_2.9.1-2.4.jar:2.4]
at net.liftweb.util.NamedPF$.apply(NamedPartialFunction.scala:82) ~[lift-util_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$93$$anonfun$apply$94$$anonfun$apply$95.apply(LiftSession.scala:1870) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.LiftSession$$anonfun$processSurroundAndInclude$1$$anonfun$apply$93$$anonfun$apply$94$$anonfun$apply$95.apply(LiftSession.scala:1869) ~[lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.util.ThreadGlobal.doWith(ThreadGlobal.scala:71) [lift-util_2.9.1-2.4.jar:2.4]
at net.liftweb.http.S$class.withAttrs(S.scala:2018) [lift-webkit_2.9.1-2.4.jar:2.4]
at net.liftweb.http.S$.withAttrs(S.scala:48) [lift-webkit_2.9.1-2.4.jar:2.4]
</pre> User story #2253 (Released): Automatically update the SQL schema on upgrade from to 2.4 (extra co...https://issues.rudder.io/issues/22532012-02-09T09:27:02ZJonathan CLARKEjonathan.clarke@normation.com
<p>After <a class="issue tracker-4 status-5 priority-16 priority-default closed" title="Architecture: The historization of the group doesn't store if the group is static or dynamic (Released)" href="https://issues.rudder.io/issues/2012">#2012</a> and <a class="issue tracker-4 status-5 priority-6 priority-low2 closed" title="Architecture: Historize human readable name of PT (Released)" href="https://issues.rudder.io/issues/2143">#2143</a> we will need to add two new columns to SQL tables that historize group and PT names.</p>
<p>This will need to be implemented in the migration script, in particular:</p>
<ul>
<li>Check if column for group type exists, and add if not</li>
<li>Check if column for PT name exists and if not:
<ul>
<li>Add the column</li>
<li>Run a script to fetch all existing lines in the table and add in the PT name, after searching for it in the /var/rudder/configuration-rules/policy-templates repository</li>
</ul></li>
</ul> Architecture #2251 (Released): Packaging: use a variable to define which maven settings files to usehttps://issues.rudder.io/issues/22512012-02-07T22:20:05ZJonathan CLARKEjonathan.clarke@normation.com
<p>To simplify changing the settings file used during a Maven build in packaging (RPM specific), we should store the settings filename in a spec file variable.</p>