[rudder-users] 2.6.10 to 2.6.10 Migration

Nicolas Charles nicolas.charles at normation.com
Mon Jan 27 18:40:12 CET 2014


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] *De la part de* 
> Prestasit01
> *Envoyé :* lundi 27 janvier 2014 10:42
> *À :* 'Nicolas Charles'
> *Cc :* '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'
> *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'
> *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'
> *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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20140127/d9cdbb1b/attachment-0001.html>
-------------- 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/20140127/d9cdbb1b/attachment-0001.png>


More information about the rudder-users mailing list