Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. PhilippeC.
    3. Posts
    P
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by PhilippeC.

    • Buildmaster upgrade to 6.1.13 and all deployment are stuck to pending state :(

      Hi,
      I have just upgarde buildmaster to 6.1.13 from previous version and I now unable to deploy any application.
      They are stick to a pending state, any help would be helpful.

      any help would be appreciate.
      Is there any way for a roll back without touching the databse from such version ?
      Regards
      Philippe

      posted in Support
      P
      PhilippeC.
    • RE: Variable in list limit to 50 characters :(

      😱

      Thanks for the fast answer.
      I will tell my people to reduce the varable length

      posted in Support
      P
      PhilippeC.
    • Variable in list limit to 50 characters :(

      Hi
      I meet some problem with variables length in BuildMaster.
      It is limited to 50 characters. Could you expand it if it is possible ?

      Test Case :
      OK : %MYLIST=%(01234567890123456789012345678901234567890123456789: WORK)

      KO : %MYLIST=%(012345678901234567890123456789012345678901234567890: FAILED)

      Please, don't ask me why I need somy many characters. I need to replace variables in a web.config and the dev team like to have very long and explicit variable .

      Regards

      Philippe

      posted in Support
      P
      PhilippeC.
    • Enhancement request for multiple environment to one server

      Hello

      When you assign more than one environment to one server, and when the same variable is set with 2 diffrent values, it is not working properly.

      • Configuration
        It should loop all the configuration over all the environnement assign to the server.
      • Orchestration
        It is already possible to select for which environment but it is not working properly.

      Test Case:

      • Server A
      • Role : MyApp / Configuration =>
      Ensure-Directory(
      	Name: $MyAppFolder
      	[Exists: <true/false>]
      );
      
      • Environnement 1 => $MyAppFolder=AppliTESTTEAM1
      • Environnement 2 => $MyAppFolder=AppliTESTTEAM2

      Actually, I have to setup 2 servers to deploy the 2 appliaitons if I am based on Environment approach.

      This impact BuildMaster too.

      Best regards

      Philippe

      Product: Otter
      Version: 2.1.3

      posted in Support
      P
      PhilippeC.
    • Enhancement for all-application page ?

      Hello

      The all-applications page resume for all the applications the status of deployement where the app has been deployed (successfully or not).
      This is based on Environnement.

      Is it possible to represent it from Pipeline Step ?

      Regards

      Philippe

      Product: BuildMaster
      Version: 6.1.0

      posted in Support
      P
      PhilippeC.
    • RE: Conversion problem with PsDSC or Ensure-DscResource with conversion from string to integer since Otter 2.X

      Does anyone have the problem ?

      This problem is really frustrating and block me to migrate completely to Otter 2.x

      you guys from Inedo, do have any idea ?

      Best regards

      posted in Support
      P
      PhilippeC.
    • Conversion problem with PsDSC or Ensure-DscResource with conversion from string to integer since Otter 2.X

      Hello

      There a conversion problem from convert srting to INT with PsDsc or Ensure-DsC function.

              Ensure-DscResource
              (
                  ConfigurationKey: setMaxSQLRAM,
                  Name: SqlServerMemory,
                  Module: SqlServerDsc,
                  Properties: %(ServerName: $ServerName,DynamicAlloc: false,MinMemory: 256,InstanceName:$Instance,Ensure: Present)
              );
              
      

      gives the following error message:

      Importing ModuleName...
      Échec de conversion de la valeur de la propriĂ©tĂ© « MinMemory », du type « STRING » au type « SINT32 »
       Ligne : 12, caractĂšre : 2
       Mémoire tampon :
         MinMemory = "256";
      };^
      blablabla
      

      I try several solutions unsuccessfully.

      The PsDsc equivalent in Otter 1.7.2 is working fine

      Any answer would be helpfull

      Best regards

      Philippe

      Product: Otter
      Version: 2.1.2

      posted in Support
      P
      PhilippeC.
    • 2 Resource Credentials with the same name but assign to 2 environnements or more not working

      Hello

      I am looking to use the same account for some plan but its password is not the same depending on the environment it is applied.
      It can use in the plan $CredentialProperty() and get a different password depending on the environnement it is apply.

      Ressource Credential:

      ADACCOUNT => login:ADAccount / pwd:simplepassaword assign to TEST environnement
      ADACCOUNT => login:ADAccount / pwd:verycomplexpassword assign to PROD environnement
      

      Unfortunately, there is a constraint violation

      System.Data.SqlClient.SqlException (0x80131904): 2627`14`1`Credentials_CreateOrUpdateCredential`21`Violation de la contrainte UNIQUE KEY « UQ__Credentials ». blablabla
      

      It is a bug ?
      If not, it would be a very useful feature

      Adding the ability to assign the credentail to multiple environment would be better:).
      (One to TEST, DEV, INTEGRATION and the second one to (PROD and PRA) for example.

      Best regards

      Philippe

      Product: BuildMaster
      Version: 6.1.0

      posted in Support
      P
      PhilippeC.
    • Error message when map no correctly formated and big mess !!!!

      Hello
      when you create a map in application settings in bulk mode, and if there are syntax error, you have an error message.

      To solve the problem, you have to remove the variable thru the Administation page, and create it correctly.

      If the map is create as pipeline variable, there is no error until you start a step then you have an error.

      Test case :

      Bulk insert in Settings for an Application

      {
        "TESTCASE": {
          "value": "%(Key1:Value1,Key2:`$ServerName,Key3`:OupsMistake)",
          "sensitive": true
        },
      

      Results

      System.FormatException: Invalid key name: Key3\` 
      at Inedo.ExecutionEngine.Variables.TextProcessor.ReadMap() 
      at Inedo.ExecutionEngine.Variables.TextProcessor.ReadVariableOrFunction(Boolean onlyScalar) 
      at Inedo.ExecutionEngine.Variables.TextProcessor.ReadNext() 
      at Inedo.ExecutionEngine.Variables.ProcessedString.Load(TextReader reader) 
      at Inedo.BuildMaster.Variables.BuildMasterVariable.GetProcessedValue(String unprocessedValue, RuntimeValueType type) 
      at Inedo.BuildMaster.Variables.BuildMasterVariable..ctor(Variables variable) 
      at Inedo.BuildMaster.Variables.BuildMasterVariable.<GetVariablesAccessibleFromScope>d__16.MoveNext() 
      at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() 
      at Inedo.Web.Controls.Element.<GetControlsFromArgument>d__41.MoveNext() 
      at Inedo.Web.Controls.Element..ctor(String elementType, Object[] content) 
      at Inedo.BuildMaster.Web.WebApplication.Controls.VariableSummary..ctor(IGenericBuildMasterContext context) 
      at Inedo.BuildMaster.Web.WebApplication.Pages.Applications.EditApplicationPage.CreateChildControls() 
      at Inedo.BuildMaster.Web.WebApplication.Pages.BuildMasterSimplePage.<InitializeAsync>d__8.MoveNext() 
      --- End of stack trace from previous location where exception was thrown --- 
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 
      at Inedo.Web.PageFree.SimplePageBase.<ProcessRequestAsync>d__46.MoveNext() 
      --- End of stack trace from previous location where exception was thrown --- 
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 
      at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) 
      at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 
      at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) 
      at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
      
      Product: BuildMaster  
      Version: 6.1.0
      posted in Support
      P
      PhilippeC.
    • Collect phase failed with SQL Error Exception

      Hello

      I upgraded to Otter 2.1.2, and I have now many of the servers in error during the Collect phase.

      Unhandled exception: System.Data.SqlClient.SqlException (0x80131904): 
      La transaction (ID de processus 77) a été bloquée sur les ressources verrou par un autre processus et a été choisie comme victime. 
      Réexécutez la transaction.
      

      If I force the Check Configuration it is working fine.

      Regards

      Product: Otter
      Version: 2.1.2

      posted in Support
      P
      PhilippeC.
    • /!\ swtiching to visual Mode remove the executionPolicy instructions

      Hi

      Going to UI Mode removes the executionPolicy

      Test case:

      {
          with executionPolicy = always 
          {
            Log-Information Test;  
          }
      }
      

      Switch to Visual Mode, it is not looking nice and switch back to Text Mode :
      The exexcutionPolicy is gone :(

      {
          {
            Log-Information Test;  
          }
      }
      
      

      InedoCore 1.0.11

      Best Regards

      Philippe

      Product: Otter
      Version: 2.1.1

      posted in Support
      P
      PhilippeC.
    • Feature - Add a variable PipelineStepName

      Hello

      It would be great if Inedo add a variable named PipelineStepName. I let you guess the value :)

      Regards

      Philippe

      Product: BuildMaster
      Version: 6.0.12

      posted in Support
      P
      PhilippeC.
    • One release assigned to multiple pipeline ?

      Hello

      My .Net Dev Team work in this way:

      • create a build to a specific environment (Test, Integration, etc ...) from VisualStudio
      • deploy the build to the specific environment .

      I have some difficult to make this in BuildMaster.
      I am already able to make a simple deployment pipeline:
      CaptureBuild -> Integration -> Test -> Qualif -> Production -> PRA

      I don't want to make one application / release per environnement, but I did not found how to make multiple release and deploy them over multiple pipeline in a single application. Any documentation would be helpful if it is possible.

      I can't change how the dev team is working ...

      Regards

      Philippe C.

      Product: BuildMaster
      Version: 6.0.12

      posted in Support
      P
      PhilippeC.
    • Same variable with different value assigned to 2 roles, used in 2 orchestation not working I expected

      Hello

      I a trying to make:

      1. Module which create several folders (@FOLDER) with a loop of Ensure-directory
      2. Role IIS-APP1, has:
      • Variable @FOLDER=@(D:\APP1\SITE,D:\APP1\ARCHIVES),
      • Orchestration call Module
      1. Role IIS-APP2, has:
      • Variable $FOLDER=@(D:\APP2\SITE,D:\APP2\UPLOAD),
      • Orchestration call Module

      The result is weird:

      the folders for IIS-APP1 role are created but they appears to be link the role IIS-APP2 in the configuration status.

      The orchestration is going properly thru the 2 roles, but keep the same value of @FOLDER whatever the role.

      Is it normal ?

      Regards

      Philippe Camelio

      Product: Otter
      Version: 2.1.1

      posted in Support
      P
      PhilippeC.
    • RE: Error msg : There was an error creating the plan: Pipeline raft has not been initialized with the current environment.

      This problem was linked to https://inedo.com/support/questions/9521

      posted in Support
      P
      PhilippeC.
    • RE: How to call a module ?

      Hello

      I think there is a deeper problem with the module - or I really did not understand how it is working.

      Here is what I did:

      1. Create an Asset TestAsset
      2. In the Default Asset, create a module ModuleFromDefaultAsset (put in whatever you want)
      3. In TestAsset, create a module ModuleFromTestAsset
      4. Create a role TestRole and assign it to Default asset
      5. In TestRole, create a configuration and
      • Drag'n drop Call ModuleFromDefaultAsset in the Visual Gui mode
      • Drag'n drop Call TestAsset::ModuleFromDefaultAsset in the Visual Gui mode

      You get :

      Call template ModuleFromDefaultAsset
      Call template ModuleFromTestAsset
      Template Error: template **ModuleFromTestAsset** could not be found.
      

      The Raft TestAsset has been removed.

      If you add it by in Edit mode, it working fine

      If you go back to Visual mode it dissappears :(

      Hope this help

      Regards

      posted in Support
      P
      PhilippeC.
    • How to call a module ?

      Hello

      I am trying to call a module from an orchestration or from a plan unsuccessfully.
      What is the syntax ?

      Best regards

      Philippe

      Product: Otter
      Version: 2.1.1

      posted in Support
      P
      PhilippeC.
    • Error msg : There was an error creating the plan: Pipeline raft has not been initialized with the current environment.

      Hi,

      I am looking to use the pipeline raft. It is working fine for the assets, but when I want to create a plan I have the error msg :

      There was an error creating the plan:Pipeline raft has not been initialized with the current environment.

      The Raft is based on Git.

      Any help would be appreciate

      Best regards
      Philippe

      Product: Otter
      Version: 2.1.1

      posted in Support
      P
      PhilippeC.
    • InedoCore extension vanished after trying to update to 10.0.1

      Hello

      I made a fresh install of buildmaster.

      I updated the Inedocore to 10.0.1 and it is gone forever :(

      I try to add it again unsuccessfully from Extension menu

      I removed Buildmaster, installed it again two times and the problem occured each time.

      To recover, I copy back the inedocore.upack 1.0.9 (copy before the update) to the folder Buildmaster\Extensions and restart IIS.

      Regards

      Philippe

      Product: BuildMaster
      Version: 6.0.12

      posted in Support
      P
      PhilippeC.
    • RE: Cannot add the principal 'NT AUTHORITY\NETWORK SERVICE', because it does not exist or you do not have permission.

      Hello

      I guess you use the Hub Installer to install Proget.

      Try to install using the exe file , it should work.

      The same problem exist, at least for me, with HedgeHog and BuildMaster. Install failed if using Hub but works with the exe file.

      Hope this help

      Best Regards

      Philippe

      posted in Support
      P
      PhilippeC.
    • Example for using Pipeline Rafts ?

      Hello

      I am looking for example / demo for pipeline rafts using based in Git rafts in otter 2.1?

      thanks in advance

      Philippe

      Product: Otter
      Version: 2.1.0

      posted in Support
      P
      PhilippeC.
    • Role dependencies and inheritance value

      Hi Folks,

      I have to assign all the roles to a server despite there are dependencies in order to get a variable assign.

      Exemple:

      • role A : $VALUE=TEST
      • role B : depend on role A
      • role C : depend on role B + Server

      The value $VALUE is empty and the configuration in role C failed.
      If I have this configuration, it is working

      • role A : $VALUE=TEST, + Server
      • role B : depend on role A + server
      • role C : depend on role B + server

      I think the inheritance should work as there are dependencies in the role, but I might be wrong ... but it must be definitively work like this :-)

      Best regards
      Philippe

      Product: Otter
      Version: 2.0.11

      posted in Support
      P
      PhilippeC.
    • Extensions InedoCore and Git stuck to previous versions while Otter is up to date

      Hi,
      I upgrade from Otter 2.0.9 to 2.0.10 and then to 2.0.11
      The extensions Inedocore and Git cannot be upgraded respectively from 1.0.6 to 1.0.7 (InedoCore) and from 1.0.3 to 1.0.4. (Git)
      For each upgraded versions, I try several ways:

      • standard update
      • remove extension and reinstall
      • download upack
        unsuccessfully.

      Any help would be appreciated

      Best regards

      Philippe

      Product: Otter
      Version: 2.0.11

      posted in Support
      P
      PhilippeC.
    • Hadle JSON to replace array usage

      Hi folks,

      I need some help to use json value and any help would be appreciated.

      I need to assign a specific port for a specific web site.
      Actually, I am doing this:

      Role IIS:

      • @IISites=@(Site11,Site12,Site12,Site21,Site22,Site31,Site13)
      • @IISPorts=@(80,81,82,86,87,89,8080)

      Role Site1

      • @IISSitesSite1=@(Site11,Site12,Site13)

      Configuration for role Site1

       foreach $Site in @IISSitesSite1
       {
                 set $Port = @IISPorts[$ListIndexof(@IISSites,$Site)];
                 set $IISRoot = D:\$Site;
                 Ensure-Directory $IISRoot;
              # Site IIS
              {
                  IIS::Ensure-Site $Site
                  (
                      Path: $IISRoot ,
                      Bindings: @(
          %(
              IPAddress: *, 
              Port: $Port, 
              HostName: *, 
              Protocol: http
                 )
             )
          );
       }
      
       It working very  well but it is not pretty
            
           I am looking to handle the port assignement  **set $Port = @IISPorts[$ListIndexof(@IISSites,$Site)];** by using JSON but I miss sample and documentation so any suggestion would be appreciated
           
           Best Regards
      
      Product: Otter  
      Version: 2.0.8
      posted in Support
      P
      PhilippeC.
    • Purge ScopedExecutionLogEntries and ScopedExecutionLogs

      Hello

      I have reach the 10 Go max for SQL Express.

      Do you have guys a procedure to clean up the logs entry from the DB.

      I am actually tring a delete on these 2 tables, but I ma not sure if it really clean :)

      Best regards

      Philippe

      Product: Otter
      Version: 1.7.4

      posted in Support
      P
      PhilippeC.
    • RE: Error in Configuration Jobs during migration from 1.7.4 to 2.0.7

      Hi Greg

      Due to my lack of time, I stop the migration and I am still working with 1.7.
      Therefore, I will make some test with the new release and let you know what is going on.

      We are intensively using Otter for deploying and configuring SQL, IIS, File Server, ... and the migration have to be handle carefully.

      Best regards

      Philippe

      posted in Support
      P
      PhilippeC.
    • Time out Error 500 :(

      Hello
      I set up a fresh Otter 2.0.7 platform with a remote SQL DB and IIS as web server on a W2016 Core Server

      I just add 2 servers and when I try to reach the page of a server I have a 500 error page with time out.
      Access to all of the others pages is working fine

      I have done twice the install with the same results, Any help is welcome

      Best Reagrds

      The error log is

      URL: http://otter.exp.opcalim.org/servers/details?serverId=2
      Referrer: http://otter.exp.opcalim.org/servers
      User: Express User
      User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
      Stack trace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
      at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
      at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
      at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
      at System.Data.SqlClient.SqlDataReader.get_MetaData()
      at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)
      at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
      at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
      at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
      at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
      at Inedo.Data.DatabaseContext.ExecuteInternal(String storedProcName, GenericDbParameter[] parameters)
      at Inedo.Data.SqlServerDatabaseContext.ExecuteInternal(String storedProcName, GenericDbParameter[] parameters)
      at Inedo.Data.StrongDataReader.<Read>d__2`1.MoveNext()
      at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
      at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
      at Inedo.LazyAsync`1.GetValue()
      at Inedo.Otter.WebApplication.Pages.Servers.ServerDetailsPage.CreateChildControls()
      at Inedo.Otter.WebApplication.Pages.OtterSimplePageBase.<InitializeAsync>d__1.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at Inedo.Web.PageFree.SimplePageBase.<ProcessRequestAsync>d__46.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar)
      at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
      at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
      

      Product: Otter
      Version: 2.0.7

      posted in Support
      P
      PhilippeC.
    • Error in Configuration Jobs during migration from 1.7.4 to 2.0.7

      Hello
      I am migrating from 1.7.4 to 2.0.7 and I meet the following problem:
      In 1.7.4, I have the following configuration

      PSDsc Registry (
      Otter_ConfigurationKey: setTelemetryToSecurity,
      Key: HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection,
      ValueName: AllowTelemetry,
      ValueType: Dword,
      ValueData: "`@([string[]](0))" );

      The ValueData has to be changed to

      ValueData:0 );

      as it should work in 1.7.4 but the correction in 2.0.7 break the solution found for 1.7.4 - I posted a request few monthes ago and someone give me the answer.

      So it would be nice to support the two syntax, so I would not to have to correct some of configuration we have done. I guess I am not the only one to use this tricky syntax.

      Never mind if it is not possible, Otter is "a must have" to manage configuration server for windows :)

      Product: Otter
      Version: 2.0.7

      posted in Support
      P
      PhilippeC.
    • Feature request - Display Configuration Drift value on Servers screen

      Hello
      It would be nice to visualize the Configuration Drift value of a server on the main screen with a small symbol and also to be able to filter.

      If you have few server (90 to 100) it is not easy to check which server are in Automatic Remediate or Report only for exemple.

      Best Regards

      Product: Otter
      Version: 2.0.7

      posted in Support
      P
      PhilippeC.
    • IIS AppPool misconfiguration on fresh install Otter 2.0.7

      Hello
      I would like to report a misconfiguration on a fresh Otter 2.0.7 install (W2016 Core Server, Database, Otter install exe without SQL Express. Database on a remote server).

      If you select IIS as Web Server you have to change the OtterAppPool Pipeline Mode from Integrated to Classic.

      So, could you please correct this point for the next release, so it would be helpful for new users :)

      Best Regards

      Product: Otter
      Version: 2.0.7

      posted in Support
      P
      PhilippeC.
    • Missing parameters in IIS::Ensure-AppPoll ?

      Hello
      I haven't seen the parameters in IIS::Ensure-AppPoll:

      • restartSchedule
      • restartTimeLimit
        is it correct ?

      If not, do you plan to add them :)
      Actually, I am fighting with xWebAppPool from DSC Module xWebAdministration to use it

      Best Regards

      Product: Otter
      Version: 2.0.7

      posted in Support
      P
      PhilippeC.
    • RE: Syntax on PsDSC help needed

      Thanks a lot Eric
      It is working fine also in 1.7.2

      I agree that the syntax should not be so tricky

      Have nice day

      Best regards

      posted in Support
      P
      PhilippeC.
    • Syntax on PsDSC help needed

      Hello
      I am migrating our DSC script into Otter and PSDsc documentation is cheap.

      Here is my DSC Script:

           Registry RemoteManagement {
              Key = 'HKLM:\SOFTWARE\Microsoft\WebManagement\Server'
              ValueName = 'EnableRemoteManagement'
              ValueType = 'Dword'
              ValueData = '1'
              DependsOn = @('[WindowsFeature]IIS','[WindowsFeature]Management')
          }
      

      Here is my PSDsc

      PSDsc Registry
      (
          Otter_ConfigurationKey: isEnableRemoteManagement,
          Key: 'HKLM:\SOFTWARE\Microsoft\WebManagement\Server',
          ValueName: 'EnableRemoteManagement',
          ValueType: 'Dword',
          ValueData: '1'
      );
      

      but it did not work

      Please help us :)
      Best Regards

      Philippe Camelio

      Product: Otter
      Version: 1.7.3

      posted in Support
      P
      PhilippeC.
    • A schedule job runs immediatly instead running at the defined time

      Hello

      My request is in the Title :)

      Here are the steps:

      -> Jobs
      Create Orchestration Job
      Select a Plan Name
      Select a server
      Define a Start Time
      Create Job

      !!! The job runs immediatly whereas it is not what I expect.

      Regards

      Product: Otter
      Version: 4.7.3

      posted in Support
      P
      PhilippeC.
    • API Key broken after upgrade from 4.6 to 5.2

      Hello

      API Keys are broken after I upgrade Otter from 4.6 to 5.2

      I use the following Powershell to autoregister an host after I install the Otter


      ``
      $SERVEUR=$env:computername
      [xml]$XmlDocument = Get-Content -Path "C:\Program Files\InedoAgent\InedoAgentService.exe.config"
      $AESKey=($XmlDocument.configuration.appsettings.add | where-object {$_.key -eq "EncryptionKey"}).value
      $body = @{
      name="$SERVEUR";
      hostname="$SERVEUR";
      active=$true;
      serverType="windows";
      drift="reportOnly";
      port="46336";
      roles=@("Baseline");
      environments=@("Integration");
      encryptionType="AES";
      encryptionKey=$AESKey
      }
      $URI="https://maestro.opcalim.org/api/infrastructure/servers/create/"+$SERVEUR+"?key=TEST"
      Invoke-RestMethod -Method Post -ContentType 'application/json;' -Uri $URI -Body (ConvertTo-Json $body)
      $URI="https://maestro.opcalim.org/api/configuration/check?server="+$SERVEUR+"&key=CONFIGURATION"
      Invoke-RestMethod -Method Post -ContentType 'application/json;' -Uri $URI

      `

      This works fine until I upgrade to 5.2.
      Now I have the following error msg:

      ``
      PS Microsoft.PowerShell.Core\FileSystem::\opcalim.org\Installation\Logiciels\Inedo\Agent Otter\1.4.6> \opcalim.org\Installation\Logiciels\Inedo\Agent Otter\1.4.6\register-otter.ps1
      Invoke-RestMethod : An API key is required to view or update infrastructure.
      At \opcalim.org\Installation\Logiciels\Inedo\Agent Otter\1.4.6\register-otter.ps1:21 char:1

      • Invoke-RestMethod -Method Post -ContentType 'application/json;' -Uri ...
      •   + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
          + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
        

      Invoke-RestMethod : Error reading JObject from JsonReader. Path '', line 0, position 0.
      At \opcalim.org\Installation\Logiciels\Inedo\Agent Otter\1.4.6\register-otter.ps1:24 char:1

      • Invoke-RestMethod -Method Post -ContentType 'application/json;' -Uri ...
      •   + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
          + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
        

      ``

      I recreate the API Key and it gives me the same result

      New bug or bad syntax ?

      Best Regards

      Philippe

      posted in Support
      P
      PhilippeC.
    • OTTER 1.5.2 : Recurring Jobs - Small problem when creating a job

      Hello
      I have found a small problem in a recurring job.

      • current time : 31/01/2017 16:00
      • Create a Recurring Job (every at 16:30)
      • The job is immediatley executed (31/01/2017 16:01) and scheduled for the next day (01/02/2017) at 16:30

      Expected behavior :
      The job should run at 31/01/2017 16:30 and the scheduled the next day (01/02/2017) at 16:30

      Hope it is understandable :-)

      Regards
      Philippe

      PS: You definitively need to speak french ;-)
      Philippe

      posted in Support
      P
      PhilippeC.
    • Scheduling job

      Hello again :)

      A recurring job is running every minute whereas it is expected to run once a day :(

      Regards

      posted in Support
      P
      PhilippeC.
    • Scheduling jobs - weird behavior

      Hello
      Here is the test case :

      Current time : 04:00 pm

      Create a Schedule : Once a day - Every day - 04:30 pm
      Create a recurring Orchestration Job

      The job is set to start one hour later 05:30 pm !!!!

      Not as expected.

      Is it a bug or a configuration problem ?

      Regards

      posted in Support
      P
      PhilippeC.
    • OTTER 1.4.6 - Import Environment lost child environment

      Hello

      An import of environment lost the child :(

      Test case:

      • Production
      • Production - Infrastructure

      Import File

      {
      "environments": [
      {
      "name": "Production",
      "variables": {}
      },
      {
      "parentName": "Production",
      "name": "Production - Infrastructure",
      "variables": {}
      },
      ],
      }

      Result:

      • Production
      • Production - Infrastructure

      Regards

      Philippe C.

      posted in Support
      P
      PhilippeC.
    • RE: OTTER 1.5.0 - Error msg after upgrade in configuraiton Script (PSEnsure)

      Script with the error :

      set $DossierSource = ${DossierRoot}\${EnvDossier}\${DossierBin};
      set $DossierDest = ${DossierSrv}\${DossierBin};
      Ensure-Directory $DossierDest
       (
           Exists: true
       );
       # Try/Catch
       try
       {
           PSEnsure
           (
               Key: SynchroDossierBin,
               Value: 0,
               CollectScript: FolderCompare,
               ConfigureScript: FolderSync,
               UseExitCode: true,
               Debug: true,
               Verbose: true,
               CollectScriptParams: %(DossierSource:$DossierSource,DossierDestination:$DossierDest),
               ConfigureScriptParams: %(DossierSource:$DossierSource,DossierDestination:$DossierDest)
           );
       }
       catch
       {
           Log-Error Synchro C:\DSI\BIN;
       }
      

      }

      Hope this will be helpfull

      Regards

      posted in Support
      P
      PhilippeC.
    • OTTER - Interface improvment request in Plans

      Hi

      When I want to assign an Orchestration Plan to machine,
      The Plan Name list on the Create Job always shows the first Orchestration Job in the Default Raft, whatever the number of existing Jobs.

      It would be better to show the job we want to assign by default as an orchestration plan.

      Not easy to explain in English :-) Hope you understand

      Regards

      posted in Support
      P
      PhilippeC.
    • PSDsc - Syntax to use DependsOn ?

      Hello

      I am migrating our DSC script into Otter and I transcript the following config and the DependsOn did not work :-(

      DSC Script

      Configuration SetupIISRemoteManagement {

           WindowsFeature isWeb-Server {
              Ensure          = "Present"
              Name            = "Web-Server"
          }
         
         WindowsFeature Management {
               Name = 'Web-Mgmt-Service'
              Ensure = 'Present'
              DependsOn = @('[WindowsFeature]isWeb-Server')
          }
      

      Otter Script ???

      ##AH:UseTextMode
      # SetupIISRemoteManagement
      {
      PSDsc WindowsFeature ( 
       Otter_ConfigurationKey: isWeb-Server,  
       Name: 'Web-Server',  
       Ensure: 'present'  
       );` 
      
      PSDsc WindowsFeature (
        Otter_ConfigurationKey:  isWeb-Mgmt-Service,
        Name : 'Web-Mgmt-Service',
        Ensure : 'Present',
        DependsOn : DON'T WHAT TO PUT IN ?????
        );
      
      }
      

      I try DependsOn : isWeb-Server but it did not work

      Any help would be appreciate
      Regards

      Philippe

      posted in Support
      P
      PhilippeC.
    • Otter Agent installation fail on 2008R2 Core server

      Hello
      I ma trying to install the Otter Agent on a 2008R2 Core server and It is not possible !!!

      Doubleclick on the installation and immediatly I got the following error msg :

      Signature du problÚme :
      Nom d’évĂ©nement de problĂšme: APPCRASH
      Nom de l’application: Inedo.Agents.Setup.exe
      Version de l’application: 35.0.0.2
      Horodatage de l’application: 57d9ba81
      Nom du module par défaut: KERNELBASE.dll
      Version du module par défaut: 6.1.7601.23572
      Horodateur du module par défaut: 57fd0696
      Code de l’exception: e0434352
      DĂ©calage de l’exception: 000000000001a06d
      Version du systĂšme: 6.1.7601.2.1.0.272.13
      Identificateur de paramÚtres régionaux: 1036
      Information supplémentaire n° 1: 7878
      Information supplémentaire n° 2: 787854380ac502069a277b7321ff9e3f
      Information supplémentaire n° 3: a5d1
      Information supplémentaire n° 4: a5d1646a6c6d63823162851a677d2380

      Configuraiton of the server :

      • .NET 4.5.1
      • PowerShell 5

      Any help would be helpful

      posted in Support
      P
      PhilippeC.
    • Small bug in Otter 1.4.6

      There is a small bug in Otter 1.4.6.
      Here is the steps to reproduce from fresh installation:

      1. Install Agent on Otter host (SRV 1) and a second server SRV2
      2. Add one role : Baseline
      3. Add SRV1(Otter host) / assign Environment Testing / Role Baseline
      4. Add SRV2 / assign Environment Production / Role Baseline
      5. Create a configuration Plan to Role Baseline (ie Ensure Directory for exemple)

      After Check Configuration and Remediation Job, the reported results are not correct whereas the configuration is correctly applied

      Screen Servers
      -> Show only one server with Current Status (expected 2 )

      Screen Role
      -> Role Baseline shows 2 servers as Current Status as expected

      Screen Environment
      -> Only Testing line is reported as Current

      There the configuration are working correctly

      Regards
      Philippe

      posted in Support
      P
      PhilippeC.
    • Git Raft using Bonobo Git Server

      Hello
      I am trying to setup a Raft based on GIT Repo.
      I got the following error msg if I want to add a script :

      The branch 'otter' ("refs/heads/otter") that you are trying to push does not track an upstream branch.

      I can't figure out where I have to setup git to "track an upstream branch" ...

      Any help would be appreciate

      Best Regards

      posted in Support
      P
      PhilippeC.
    • 1
    • 2
    • 2 / 2