Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. philippe.camelio_3885
    3. Posts

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    P Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 81
    • Posts 272
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: OTTER 3 - $CredentialProperty not working after migration from Otter 2.X

      Hi @atripp
      I made the change, and I got this new error:

      The specified credential "myaccount" could not be deserialized correctly: Persisted object is not a ResourceCredentials.
      

      The Credential is defined in Secure Credential like this
      0bf717a3-1a00-4fe9-a54d-1d7388ef5892-image.png

      what am I doing wrong ?

      posted in Support
      P
      philippe.camelio_3885
    • Agent 49 - Otter 2 / Otter 3 ?

      Hi
      I have 2 small questions :

      • Does agent v49 work with Otter 2.2.23 ?
      • Does server connect with 2 Otter instances (2.2.23 and 3.0.4) in a "not collected" configuration ?

      Thanks

      posted in Support
      P
      philippe.camelio_3885
    • OTTER 3 - $CredentialProperty not working after migration from Otter 2.X

      Hi,

      I trying to migrate to Otter 3, it is a very long journey :(

      $CredentialProperty function is not working in Otter 3.0.

      Create a Secure Credentials as "UserName & Password"
      Check  Allow encrypter properties ...
      

      Use in otter script:

      set $CredentialUser = $CredentialProperty(UsernamePassword::myaccount, Username);
      set $CredentialPwd = $CredentialProperty(UsernamePassword::myaccount, Password);
      

      I got the following error msg:

      The specified credential "UsernamePassword::svc-inedo" was not found.
      

      Same script on Otter 2.X is working.

      Best regards

      posted in Support
      P
      philippe.camelio_3885
    • RE: [OTTER 3.0] Adding dependencies in role break server access

      Thank you

      posted in Support
      P
      philippe.camelio_3885
    • RE: [Otter 3] Upgrade Inedo Agent failed

      Hi @NanciCalo

      There is also some regressions with the role and the depencies
      I made a thread in the forum about this.

      posted in Support
      P
      philippe.camelio_3885
    • [OTTER 3.0] Adding dependencies in role break server access

      Hi
      I found a bug in otter 3.0

      • Create a server SVRTEST
      • Create role ROLE1
      • Create role ROLE2 with dependancy to ROLE1
      • Assign role 2 to server

      Access to server is broken

      If dependancy is removed, access to server is OK

      Error Message

      URL: https://otter3.test.lan/servers/details?serverName=SVRTEST
      Referrer: https://otter3.test.lan/roles/role?serverRoleName=role2
      User: (unknown)
      User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36
      Stack trace: à Inedo.Otter.WebApplication.Pages.Servers.ConflatedStatus.<.ctor>g__getStatus|66_0(<>c__DisplayClass66_0& )
      à Inedo.Otter.WebApplication.Pages.Servers.ServerDetailsPage.CreateChildControls()
      à Inedo.Otter.WebApplication.Pages.OtterSimplePageBase.<InitializeAsync>d__7.MoveNext()
      --- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
      à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      à Inedo.Web.PageFree.SimplePageBase.<ExecutePageLifeCycleAsync>d__55.MoveNext()
      --- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
      à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      à Inedo.Web.PageFree.SimplePageBase.<ProcessRequestAsync>d__54.MoveNext()
      --- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
      à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      à System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar)
      à Inedo.Web.Handlers.AsyncHandlerWrapper.EndProcessRequest(IAsyncResult result)
      à System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
      à System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
      à System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
      
      posted in Support
      P
      philippe.camelio_3885
    • [Otter 3] Upgrade Inedo Agent failed

      Hello
      The "Upgrade Agent" has a bug.
      Steps to reproduce:

      Defined a server with old version agent (46)

      6a3df08b-0df6-484c-8ba3-900c73c8b3d3-image.png

      click on Upgrade Agents

      Get the following msg error
      2c5745f3-05f2-48a7-a50e-dc1e84823975-image.png

      posted in Support
      P
      philippe.camelio_3885
    • RE: [BuildMaster] Configuration files history is empty

      @stevedennis
      Thanks

      posted in Support
      P
      philippe.camelio_3885
    • [BuildMaster] Configuration files history is empty

      I may have misused BuildMaster but when I want to check where some config files are deployed the history page is empty:

      Example:

      I deployed a config file on 2 servers only in the Integration step

      c98c0d1c-abe4-4466-a18f-0f374621bbc6-image.png

      the history is empty
      666bc18f-7d02-4f0d-b002-ea545d4cfd0a-image.png

      ** Buildmaster 6.2.27

      Best regards

      posted in Support
      P
      philippe.camelio_3885
    • RE: Buildmaster sync from multiple Otter servers ?

      Good idea 😁
      Thanks

      posted in Support
      P
      philippe.camelio_3885
    • Buildmaster sync from multiple Otter servers ?

      Hi
      Is there a way to sync infra on a single Buildmaster from 2 Otter server ?

      I actually have a BM 6.2 synchronized with one Otter 2 instance and I can't figure out how to start an Otter 3 instance and migrate smoothly from Otter 2 to Otter 3 the servers (and the scripts) without breaking all the Buildmaster stuff we have done.

      Cheers

      posted in Support
      P
      philippe.camelio_3885
    • RE: Otter 3.0.2. PSEnsure operations broken

      Here is an Inedo example of the Otter 3 PSEnsure.

      Create a Powerscript like test-psensure.ps1

      <# 
      .PARAMETER HotFixID
      ID of the HotFix to check, such as "KB4562830"
      .AHCONFIGKEY 
      $HotFixID
      .AHCONFIGTYPE
      HotFix
      .AHEXECMODE
      $ExecutionMode
      #>
      param ([string]$HotFixID)
      if ($ExecutionMode -eq "Collect") {
        return !!((Get-HotFix -Id  $HotFixID) 2> $null)
      } else if ($ExecutionMode -eq "Configure") {
        # install Hot Fix ... Which is complex
      }
      

      Create an Otter script:

      ##AH:UseTextMode
      PSEnsure Test-PSEnsure
      (
          HotFixID: KB4532938
      );
      

      In visual mode, you will have :

      9f91a0b7-1c5c-45a8-aef9-cab58d4a50af-image.png

      posted in Support
      P
      philippe.camelio_3885
    • RE: Otter 3.0.2. PSEnsure operations broken

      Hi @JonathanEngstrom
      Since 3.0.2 PSEnsure has changed a lot but Inedo team has not yet updated the doc about that.
      PSEnsure will work more like PSVerify ie one single powershell. I think they will updated soon the doc and I think the new PSEnsure is in the demo.

      posted in Support
      P
      philippe.camelio_3885
    • [OTTER3] Creation/Modification of PSVerify did not work as expected

      Hi
      Juste to report that the creation of PSVerify is not possible in GUI Mode
      953088e3-1afe-420f-bbf7-aa4b8bd3651d-image.png

      Best regards

      posted in Support otter
      P
      philippe.camelio_3885
    • RE: Buildmaster - High CPU database since 6.2.22

      Hello @atripp

      Update ofthe day
      Infra sync done every 3600 s

      2f74d268-4117-4c51-80a0-2d413f25d6a8-image.png

      90404f4c-2890-4f1f-8afb-ebf5db230d1c-image.png

      Few change in Otter this week - 12 new VM

      I am not sure this the Infra sync the cause of the log ....
      anyway, the Delete command worked fine specially after the commit 😊

      Cheers

      posted in Support
      P
      philippe.camelio_3885
    • RE: OTTER - Capture Logs from block execution and assign to variables ?

      OK
      I understand I have to manage this at the script level (SHExec ou PSExec).
      I hoped I could do it inside Otter Script, something like :

      SHExec >>
      Some command
      >>
      (
        OutputLog: $MyOutput
      );
      

      Thanks you @atripp

      posted in Support
      P
      philippe.camelio_3885
    • OTTER - Capture Logs from block execution and assign to variables ?

      Hello

      I am looking a way to get catch values from the log of a block execution in order and assign to variables for a second block / module.

      Exemple:
      Otter Orchestration to create VM.
      The name and its IP adress are dynamically created by the ansible script.

      ##AH:UseTextMode
      ##AH:Description Deploiement d'une VM à partird'un template
      set $octet2=100;
      set $octet3=4;
      set $YML=linux.yml;
      set $template=GI-DCS-UBUNTU-20.04.1-20210121
      
      for server ANSIBLE-MASTER
      {
          # Loop
          foreach $VM in @Range(1, 2)
          {
              call ANSIBLE::BM-AnsiblePlayBook
              (
                  PLAYBOOK: vmware,
                  EXTRAVARS: %(octet2:$octet2,octet3:$octet3,template:$template,annotation:$annotation'),
                  YML: $YML,
                  Role: NON
              );
          }
      }
      

      The ANSIBLE::BM-Playbook module returns the log:

      PLAY [127.0.0.1] ***************************************************************
      TASK [Definition du nom de la VM et de son IP] *********************************
      changed: [127.0.0.1]
      TASK [set_fact] ****************************************************************
      ok: [127.0.0.1]
      TASK [set_fact] ****************************************************************
      ok: [127.0.0.1]
      TASK [set_fact] ****************************************************************
      ok: [127.0.0.1]
      TASK [set_fact] ****************************************************************
      ok: [127.0.0.1]
      TASK [set_fact] ****************************************************************
      ok: [127.0.0.1]
      TASK [Creation de la VM VM004011 avec IP 10.100.4.11] **************************
      changed: [127.0.0.1]
      PLAY RECAP *********************************************************************
      127.0.0.1                  : ok=7    changed=2    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
      

      Is it possible to get the VM Name (VM004001) and the IP (10.100.4.11) to pass them to some module in the same Otter Orchestration Job ?

      call ANSIBLE::BM-AnsiblePlayBook
      call SomeOtterModule ($VM,$IP)
      

      Thanks
      Philippe

      posted in Support
      P
      philippe.camelio_3885
    • RE: Config apt Proget feed like Apt-Cacher NG

      Ok
      Thanks for the reply

      posted in Support
      P
      philippe.camelio_3885
    • Config apt Proget feed like Apt-Cacher NG

      Hello
      Is there any way to config an apt feed to work like apt-cacher ?
      Thanks

      posted in Support
      P
      philippe.camelio_3885
    • 1 / 1