[rudder-users] 2.6.10 to 2.6.10 Migration

Nicolas Charles nicolas.charles at normation.com
Wed Feb 5 09:22:58 CET 2014


Hello Cedric,

We were unable to reproduce the information for the groups that couldn't 
be imported/exported. Could it be possible to send (privately) the list 
of categories/node groups you have, as well as an exports of the node 
group made by the web interface?
It will greatly help us understand your issues,

Best regards
Nicolas

On 03/02/2014 11:03, Prestasit01 wrote:
>
> Hello,
>
> Any news / Idea ? I updated the ticket with more info.
>
> BR
>
> Cedric
>
> *De :*Francois Armand [mailto:francois.armand at normation.com]
> *Envoyé :* mercredi 29 janvier 2014 16:56
> *À :* Prestasit01
> *Cc :* 'rudder-users at lists.rudder-project.org'; 'Nicolas Charles'
> *Objet :* Re: [rudder-users] 2.6.10 to 2.6.10 Migration
>
> On 29/01/2014 16:42, Prestasit01 wrote:
>
>     Hello,
>
>     Clean cashes don’t help.
>
>     Bug created and assignated to you :
>     http://www.rudder-project.org/redmine/issues/4419
>
>     BR
>
>     Cedric
>
>
> Thanks...
>
> I'm going to try to find what can go wrong here...
>
>
> *De :*Francois Armand [mailto:francois.armand at normation.com]
> *Envoyé :* mardi 28 janvier 2014 11:33
> *À :* Prestasit01; 'Nicolas Charles'
> *Cc :* 'rudder-users at lists.rudder-project.org 
> <mailto:rudder-users at lists.rudder-project.org>'
> *Objet :* Re: [rudder-users] 2.6.10 to 2.6.10 Migration
>
> Hello Cédric,
>
> Thanks for the report. It looks like a variant of 
> http://www.rudder-project.org/redmine/issues/3621
> Could you please:
>
> 1/ try to clean cashes, to see if it helps,
> 2/ open a bug with the content of you last, very detailed mail, so 
> that we can track it in redmine ?
>
> Thanks, and sorry for the inconvenience...
>
> On 28/01/2014 10:28, Prestasit01 wrote:
>
>     Hello,
>
>     For example :
>
>     These two rules re-appears after the migration process but one is
>     in ERROR state due to one group, Rules are similar (only the
>     version number is not the same) :
>
>     **
>
>     **
>
>     **
>
>     When we try to « enable » and save the N/A rule we have this error
>     message :
>
>     Groups affected by the two rules are not the same but the have
>     been created with the same methodology : a category with many sub
>     categories, and one or many groups under theses sub categories
>
>     Example (on server A):
>
>     Categories/sub categories label include « - » ; groups label
>     include « _ »
>
>     After the migration, some _CATEGORIES_ / GOUPS are ok (migration
>     correctly done) and some are missing (that’s why we got the error).
>
>     To correct our error (example) :
>
>     - I mannually recreated « Prod-toto » category with « prod_toto »
>     group
>
>     - then i added the group to the affected group list by the rule.
>
>     - then i saved the rule and re-enabled it.
>
>     I hope that my explanations will be clear for you.
>
>     Regards
>
>     Cedric
>
>     *De :*Nicolas Charles [mailto:nicolas.charles at normation.com]
>     *Envoyé :* lundi 27 janvier 2014 18:40
>     *À :* Prestasit01
>     *Cc :* 'rudder-users at lists.rudder-project.org
>     <mailto:rudder-users at lists.rudder-project.org>'
>     *Objet :* Re: [rudder-users] 2.6.10 to 2.6.10 Migration
>
>     Hello,
>
>     Sorry about the problem, and the lag in the answer.
>     I am not aware of any issues with import/export, but to help us
>     debug, could you please provide the following details:
>     - are there some special character in the missing group name or
>     description ?
>     - do you have several groups, in different category, with the same
>     name ?
>
>     We'll try to reproduce the issue
>     Sorry about the inconvenience,
>
>     Nicolas
>
>     On 27/01/2014 17:36, Prestasit01 wrote:
>
>     Hello,
>
>     I only found a solution : recreate manually each missing group.
>
>     All rules / techniques seems to be here, only a lot of groups are
>     missing and i don’t know why.
>
>     Any idea to correct that without the manual creation ?
>
>     BR
>
>     Cedric
>
>     *De :*rudder-users-bounces at lists.rudder-project.org
>     <mailto:rudder-users-bounces at lists.rudder-project.org>
>     [mailto:rudder-users-bounces at lists.rudder-project.org] *De la part
>     de* Prestasit01
>     *Envoyé :* lundi 27 janvier 2014 10:42
>     *À :* 'Nicolas Charles'
>     *Cc :* 'rudder-users at lists.rudder-project.org
>     <mailto:rudder-users at lists.rudder-project.org>'
>     *Objet :* Re: [rudder-users] 2.6.10 to 2.6.10 Migration
>
>     Hello,
>
>     I still detect one issue during the migration… we got this type of
>     message :
>
>     [2014-01-27 10:12:02] WARN 
>     com.normation.rudder.web.components.RuleGrid - Disabling rule
>     '00_PROD - gauntlt' (ID: '230d9328-6276-4686-9447-ac3d7d66e4fd')
>     because it refers missing objects. Go to rule's details and save,
>     then enable it ba
>
>     ck to correct the problem.
>
>     [2014-01-27 10:12:02] WARN 
>     com.normation.rudder.web.components.RuleGrid - Rule '00_PROD -
>     gauntlt' (ID: '230d9328-6276-4686-9447-ac3d7d66e4fd' target
>     problem: Error when retrieving the entry for NodeGroup
>     'NodeGroupId(53fae266-c6b8-49a2-
>
>     8820-0334e9a4cf73)'
>
>     Enable and save the rule doesn’t change anything (but we have the
>     « success, your changes have been saved » popup).
>
>     I found that some groups have not been « re »created.
>
>     Here is the error message in the stderrout.log :
>
>     [2014-01-27 10:08:04] INFO 
>     com.normation.rudder.repository.xml.ItemArchiveManagerImpl -
>     Importing groups archive wi
>
>     th id 'HEAD'
>
>     [2014-01-27 10:08:14] ERROR
>     com.normation.rudder.batch.AsyncDeploymentAgent$DeployerAgent -
>     Error when doing deploym
>
>     ent, reason Cannot build target configuration node <- Error when
>     retrieving the entry for NodeGroup 'NodeGroupId(921
>
>     6614d-e060-410a-94b9-ffa13fb5274b)'
>
>     [2014-01-27 10:08:14] ERROR
>     com.normation.rudder.batch.AsyncDeploymentAgent - Deployment error
>     for process '13' at 2
>
>     014/01/27 10:08:14: Cannot build target configuration node
>
>     Have you already found a similar issue ? and if yes, how to
>     quickly correct that ?
>
>     One more time : Thanks for your support J
>
>     Regards
>
>     Cédric
>
>     *De :*Prestasit01
>     *Envoyé :* vendredi 24 janvier 2014 18:41
>     *À :* 'Nicolas Charles'
>     *Cc :* 'rudder-users at lists.rudder-project.org
>     <mailto:rudder-users at lists.rudder-project.org>'
>     *Objet :* RE: [rudder-users] 2.6.10 to 2.6.10 Migration
>
>     Nicolas,
>
>     It seems that there was an error during the copy. Now there is
>     something displayed (groups, rules, and directives are here) but
>     we have an error (rules not applied)
>
>     That seems « normal » as there is no nodes linked to the new
>     server and rudder-server-root automatically enable rules. I will
>     check that Monday.
>
>     Have a nice w-e
>
>     Many thanks for your quick replies J
>
>     BR
>
>     Cedric
>
>     *De :*rudder-users-bounces at lists.rudder-project.org
>     <mailto:rudder-users-bounces at lists.rudder-project.org>
>     [mailto:rudder-users-bounces at lists.rudder-project.org] *De la part
>     de* Prestasit01
>     *Envoyé :* vendredi 24 janvier 2014 18:20
>     *À :* 'Nicolas Charles'
>     *Cc :* 'rudder-users at lists.rudder-project.org
>     <mailto:rudder-users at lists.rudder-project.org>'
>     *Objet :* Re: [rudder-users] 2.6.10 to 2.6.10 Migration
>
>     Hi,
>
>     Yes I only realize that actions.
>
>     No, there is no error just some warn and info.
>
>     BR
>
>     *De :*Nicolas Charles [mailto:nicolas.charles at normation.com]
>     *Envoyé :* vendredi 24 janvier 2014 18:07
>     *À :* Prestasit01
>     *Cc :* 'rudder-users at lists.rudder-project.org
>     <mailto:rudder-users at lists.rudder-project.org>'
>     *Objet :* Re: [rudder-users] 2.6.10 to 2.6.10 Migration
>
>     On 24/01/2014 17:56, Prestasit01 wrote:
>
>     Hello,
>
>     I try to migrate from a 2.6.10 to a 2.6.10 rudder-server-root.
>
>     Server A (source) : CentOS release 6.3 + rudder-server-root
>     2.6.10  [previously this server was in 2.4 and updated in 2.6]
>
>     Server B (new one) : CentOS release 6.5 + rudder-server-root
>     2.6.10 [fresh install]
>
>     I used this doc =>
>     http://www.rudder-project.org/rudder-doc-2.6/rudder-doc.html#_server_migration
>
>     §10.8.2 Handle configuration files.
>
>     It seems to doesn’t work. Nothing change after a the actions
>     mentioned (node/policy/technique/… can’t be seen).
>
>     Any idea ?
>
>     Thanks for you help.
>
>
>     Hello,
>
>     Just to be sure, the step you followed were to:
>     - copy the /var/rudder/configuration-repository from Server A to
>     Server B (even hidden files)
>     - on server B, go to the web UI, in Administration/Archives, and
>     choose "Latest git archive" in Global Archive, and click on
>     "Restore everything"
>
>     And nothing at all happened ?
>     Do you happen to have some error in
>     /var/log/rudder/webapp/2014_01_24.stderrout.log ?
>
>     Thank you,
>     Nicolas
>
>     -------------------------------------------------------------------------
>     Les informations ou pieces jointes contenues dans ce message sont
>     confidentielles. Seul le destinataire expressement vise peut en
>     prendre connaissance. Toute autre personne qui en divulguera,
>     diffusera ou prendra des copies sera passible de poursuites. La
>     societe Ouest-France decline en outre, toute responsabilite de
>     quelque nature que ce soit au titre de ce message s'il a ete
>     altere, deforme ou falsifie.
>
>     -------------------------------------------------------------------------
>     Les informations ou pieces jointes contenues dans ce message sont
>     confidentielles. Seul le destinataire expressement vise peut en
>     prendre connaissance. Toute autre personne qui en divulguera,
>     diffusera ou prendra des copies sera passible de poursuites. La
>     societe Ouest-France decline en outre, toute responsabilite de
>     quelque nature que ce soit au titre de ce message s'il a ete
>     altere, deforme ou falsifie.
>
>     -------------------------------------------------------------------------
>     Les informations ou pieces jointes contenues dans ce message sont
>     confidentielles. Seul le destinataire expressement vise peut en
>     prendre connaissance. Toute autre personne qui en divulguera,
>     diffusera ou prendra des copies sera passible de poursuites. La
>     societe Ouest-France decline en outre, toute responsabilite de
>     quelque nature que ce soit au titre de ce message s'il a ete
>     altere, deforme ou falsifie.
>
>
>
>
>
>
>     -- 
>
>     Nicolas CHARLES
>
>     -------------------------------------------------------------------------
>     Les informations ou pieces jointes contenues dans ce message sont
>     confidentielles. Seul le destinataire expressement vise peut en
>     prendre connaissance. Toute autre personne qui en divulguera,
>     diffusera ou prendra des copies sera passible de poursuites. La
>     societe Ouest-France decline en outre, toute responsabilite de
>     quelque nature que ce soit au titre de ce message s'il a ete
>     altere, deforme ou falsifie.
>
>
>
>     _______________________________________________
>
>     rudder-users mailing list
>
>     rudder-users at lists.rudder-project.org  <mailto:rudder-users at lists.rudder-project.org>
>
>     http://www.rudder-project.org/mailman/listinfo/rudder-users
>
> -- 
>
> ------------------------------------------------------------------------
>
> *François ARMAND*
> /Directeur de la R&D/
> Normation <http://www.normation.com>
>
> ------------------------------------------------------------------------
>
> *87 rue de Turbigo, 75003 Paris, France*
>
> Telephone:
>
> 	
>
> +33 (0)1 83 62 99 23
>
> Mobile:
>
> 	
>
> +33 (0)6 63 37 60 55
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Les informations ou pieces jointes contenues dans ce message sont 
> confidentielles. Seul le destinataire expressement vise peut en 
> prendre connaissance. Toute autre personne qui en divulguera, 
> diffusera ou prendra des copies sera passible de poursuites. La 
> societe Ouest-France decline en outre, toute responsabilite de quelque 
> nature que ce soit au titre de ce message s'il a ete altere, deforme 
> ou falsifie.
>
> -- 
>
> ------------------------------------------------------------------------
>
> *François ARMAND*
> /Directeur de la R&D/
> Normation <http://www.normation.com>
>
> ------------------------------------------------------------------------
>
> *87 rue de Turbigo, 75003 Paris, France*
>
> Telephone:
>
> 	
>
> +33 (0)1 83 62 99 23
>
> Mobile:
>
> 	
>
> +33 (0)6 63 37 60 55
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Les informations ou pieces jointes contenues dans ce message sont 
> confidentielles. Seul le destinataire expressement vise peut en 
> prendre connaissance. Toute autre personne qui en divulguera, 
> diffusera ou prendra des copies sera passible de poursuites. La 
> societe Ouest-France decline en outre, toute responsabilite de quelque 
> nature que ce soit au titre de ce message s'il a ete altere, deforme 
> ou falsifie. 


-- 
Nicolas CHARLES

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20140205/709b6b0e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 11011 bytes
Desc: not available
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20140205/709b6b0e/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 13851 bytes
Desc: not available
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20140205/709b6b0e/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 3626 bytes
Desc: not available
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20140205/709b6b0e/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 13913 bytes
Desc: not available
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20140205/709b6b0e/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 4099 bytes
Desc: not available
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20140205/709b6b0e/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 4103 bytes
Desc: not available
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20140205/709b6b0e/attachment-0011.png>


More information about the rudder-users mailing list