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
    • OT/BM Configure linux server connection with implicit sudo

      Heĺlo Inedo team
      Is there any way to add a server with ssh connection with implicit sudo ?
      I have this case as ssh root login is not allowed on some of our servers.
      Best regards
      PhilippeC.

      posted in Support ssh otter buildmaster
      P
      philippe.camelio_3885
    • RE: [OTTER 3] Upgrade to 3.0.21 breaks Template variables in Edit Template Details

      Good news

      posted in Support
      P
      philippe.camelio_3885
    • RE: [OTTER 3] Upgrade to 3.0.21 breaks Template variables in Edit Template Details

      @rhessinger said in [OTTER 3] Upgrade to 3.0.21 breaks Template variables in Edit Template Details:

      support@inedo.com

      Done 😊

      posted in Support
      P
      philippe.camelio_3885
    • RE: [OTTER 3] Upgrade to 3.0.21 breaks Template variables in Edit Template Details

      Hi,

      I upgrade again to 3.0.21.
      The problem occurs only for the job I wanted to modify.
      All the others jobs can be edited.

      I have to roll back to 3.0.18.

      If this pb is too complex to resolve, I will recreate the job. Let me know :)

      Best regards

      posted in Support
      P
      philippe.camelio_3885
    • RE: [OTTER 3] Upgrade to 3.0.21 breaks Template variables in Edit Template Details

      Hello @rhessinger
      It happens for all the variables of all the templates jobs.
      I did not try to create a new variables as I needed to modify an existing one.

      posted in Support
      P
      philippe.camelio_3885
    • RE: [OTTER 3] Upgrade to 3.0.21 breaks Template variables in Edit Template Details

      Downgrade to 3.0.18 restore the access.
      Downgrade to 3.0.20 doesn't

      posted in Support
      P
      philippe.camelio_3885
    • [OTTER 3] Upgrade to 3.0.21 breaks Template variables in Edit Template Details

      Hello

      I upgrade to 3.0.21 (build 2) and can't access to Template Variables anymore 😠

      8ebbdf56-e068-4092-8a7f-318ad67b7554-image.png

      Error log :
      Details: URL: http://:8626/jobs/templates/edit-variable?templateId=Default::JobTemplate::VMWARE-VM-Creation&variableIndex=0
      Referrer: https://
      /jobs/templates/template?templateId=Default::JobTemplate::VMWARE-VM-Creation
      User: Admin
      User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.82 Safari/537.36
      Stack trace: à Inedo.Otter.WebApplication.Pages.Jobs.JobTemplates.EditJobTemplateVariablePage.CreateChildControls()
      à Inedo.Otter.WebApplication.Pages.OtterSimplePageBase.<InitializeAsync>d__9.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__57.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__56.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 otter
      P
      philippe.camelio_3885
    • RE: BM 6 - Deploy Configuration file with a lot of special characters

      Thanks you Rich
      it is working !.

      posted in Support
      P
      philippe.camelio_3885
    • BM 6 - Deploy Configuration file with a lot of special characters

      Hello

      I am using BM to deploy HAProxy config and I need some help to add the following rules in a configuration file:

      # ACL LOG4J  https://www.haproxy.com/blog/december-2021-log4shell-mitigation/
         option http-buffer-request
         acl log4shell url,url_dec -m reg \${[^}]*\${
         acl log4shell url,url_dec -m reg \${jndi:(?:ldaps?|iiop|dns|rmi)://
         acl log4shell url,url_dec -i -m reg \${[\w${}\-:]*j[\w${}\-:]*n[\w${}\-:]*d[\w${}\-:]*i[\w${}\-:]*:.*}
         acl log4shell req.hdrs -m reg \${[^}]*\${
         acl log4shell req.hdrs -m reg \${jndi:(?:ldaps?|iiop|dns|rmi)://
         acl log4shell req.hdrs -i -m reg \${[\w${}\-:]*j[\w${}\-:]*n[\w${}\-:]*d[\w${}\-:]*i[\w${}\-:]*:.*}
         acl log4shell_form req.body,url_dec -m reg \${[^}]*\${
         acl log4shell_form req.body,url_dec -m reg \${jndi:(?:ldaps?|iiop|dns|rmi)://
         acl log4shell_form req.body,url_dec -i -m reg \${[\w${}\-:]*j[\w${}\-:]*n[\w${}\-:]*d[\w${}\-:]*i[\w${}\-:]*:.*}
         http-request deny if log4shell
         http-request deny if { req.fhdr(content-type) -m str application/x-www-form-urlencoded } log4shell_form
         
      

      Special characters break the deployment
      I tried to add ` in front of $ unsuccessfully

      Best regards
      Philippe C.

      posted in Support buildmaster
      P
      philippe.camelio_3885
    • RE: OTTER 3.0.12 / jobs scheduling add +2H

      @atripp 👍

      posted in Support
      P
      philippe.camelio_3885
    • RE: OTTER 3.0.12 / jobs scheduling add +2H

      Hi,
      In user preference, I just can select Dark Mode

      Here are some screenshots on what I did - it not a recuring job

      802bea2a-d71b-4037-9d9d-2ce1fb7d5c7f-image.png

      1a240672-ce6e-487b-9b9f-841ce6ebc1f0-image.png

      As it is not a recuring job I change your SQL request:

      SELECT [Job_Id]
            ,[Job_Name]
            ,[LastRun_Date]
            ,[JobState_Code]
            ,[Job_Configuration]
            ,[Recurring_Indicator]
            ,[TriggeredBy_Template_Name]
        FROM [Otter3].[dbo].[Jobs]
        WHERE [Recurring_Indicator] = 'N'
      

      1334c20f-9720-4660-9d52-5e3e5d61470a-image.png

      <Inedo.Otter.Jobs.JobConfiguration Assembly="OtterCoreEx">
        <Properties JobType="Orchestration" ServerTargeting="Specific" Simulation="False" Async="False">
          <ScriptId>Windows::Script::SQL-BackupDatabaseVersTransit.ps1</ScriptId>
          <ServerNames>
            <Item>*********************</Item>
          </ServerNames>
          <ServerRoleNames />
          <EnvironmentNames />
          <Variables>
            <Variable Name="BackupInstance">**************</Variable>
            <Variable Name="BackupDB">*********</Variable>
            <Variable Name="BackupDestination">\\*****************$</Variable>
          </Variables>
        </Properties>
      </Inedo.Otter.Jobs.JobConfiguration>
      

      Best Regards
      PhilippeC.

      posted in Support
      P
      philippe.camelio_3885
    • OTTER 3.0.12 / jobs scheduling add +2H

      Hi,
      Just to report that job scheduling is not working as expected

      I scheduled a job to run the 09 October 2021 @23:30 but the job is scheduled the 10 October @01:30

      My zoneTime is Europe\Paris (French time).
      I am using Otter 3.0.12 on Windows / Install using InedoHub

      posted in Support otter
      P
      philippe.camelio_3885
    • RE: Otter 3 - Error This operation is only valid when run against an SSH agent.

      @gdivis
      Thanks for the resolution

      posted in Support
      P
      philippe.camelio_3885
    • RE: OTTER 3 - Variable at environnement level not found

      @atripp
      Oups
      Sorry about that.
      I made other tests since I created the thread.
      The data I send you are not correct
      I will wait for the 3.0.6 to make a clean test case and update the thread.

      posted in Support
      P
      philippe.camelio_3885
    • RE: Otter 3 - Error This operation is only valid when run against an SSH agent.

      @gdivis
      Oh thanks but I will wait for the release.I won't have so much time to test the week.

      posted in Support
      P
      philippe.camelio_3885
    • RE: Otter 3 - Error This operation is only valid when run against an SSH agent.

      @atripp 👍

      posted in Support
      P
      philippe.camelio_3885
    • RE: Otter 3 - Error This operation is only valid when run against an SSH agent.

      @atripp
      Hi,
      I have made a second test with a second Linux Server with the same result
      6eee0118-0a4c-470c-987c-5472b31139fa-image.png

      posted in Support
      P
      philippe.camelio_3885
    • RE: Otter 3 - Error This operation is only valid when run against an SSH agent.

      @atripp said in Otter 3 - Error This operation is only valid when run against an SSH agent.:

      I have made a test.
      I also made a Configuration Plan (Ensure Directory which works).

      for server VM111021
      {
          SHExec echo hello world;
      }
      

      e67f1995-a8cd-4a8e-a1b8-075380d6a2ec-image.png

      efb6744b-e42b-4643-93c2-743f2014dab2-image.png

      03e377a5-c327-4561-8b30-fbd8c8175841-image.png

      posted in Support
      P
      philippe.camelio_3885
    • RE: How to use PSEnsure Module and Custom PSRepository ?

      Hi
      Good news.

      About your question, typical PSModule with problem is PSDscResources.
      The required version is 2.12.0 according Proget or Powershell Gallery.

      So if I put 2.21.0 as expected, I have this error msg:

      'PSDscResources' matched module 'PSDscResources/2.12.0' from provider: 'PowerShellGet', repository 'public-psm'.
      00:00:02.9523782 Calling New() : MethodName = 'ResolvePackageSources'
      00:00:02.9574228 ProviderName: PowerShellGet
      00:00:02.9588935 Type: Module
      00:00:02.9640191 Source: public-psm
      00:00:02.9647101 AllowClobber: True
      00:00:02.9653443 Force: True
      00:00:02.9661637 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
      00:00:02.9665059 Scope: AllUsers
      00:00:02.9669827 Verbose: True
      00:00:02.9673645 RequiredVersion: 2.12.0
      00:00:02.9680437 AllowPrereleaseVersions: True
      00:00:02.9685090 Name: PSDscResources
      00:00:02.9701497 INVOKING PowerShell Fn Resolve-PackageSource with args  that has length 0
      00:00:02.9714322 In PowerShellGet Provider - 'Resolve-PackageSource'.
      Repository details, Name = 'public-psm', Location = 'http://proget.ocapiat.fr/nuget/public-psm'; IsTrusted = 'True'; IsRegistered = 'True'.
      00:00:02.9748490 Yielding package source for public-psm at location http://proget.ocapiat.fr/nuget/public-psm
      00:00:02.9780498 Done calling powershell «Resolve-PackageSource» «PSModule»
      'PSDscResources' matched module 'PSDscResources/2.12.0.0' from provider: 'PowerShellGet', repository 'public-psm'.
      Unable to install, multiple modules matched 'PSDscResources'. Please specify an exact -Name and -RequiredVersion.
      

      If I put 2.12.0.0, I have this error msg.

      00:00:00.9132094 Done calling powershell «Resolve-PackageSource» «PSModule»
      'PSDscResources' matched module 'PSDscResources/2.12.0' from provider: 'PowerShellGet', repository 'public-psm'.
      00:00:00.9191831 Calling New() : MethodName = 'ResolvePackageSources'
      00:00:00.9195904 ProviderName: PowerShellGet
      00:00:00.9200664 Type: Module
      00:00:00.9203234 Source: public-psm
      00:00:00.9205802 AllowClobber: True
      00:00:00.9210930 Force: True
      00:00:00.9217331 MessageResolver: Microsoft.PowerShell.PackageManagement.Cmdlets.GetMessageString
      00:00:00.9222181 Scope: AllUsers
      00:00:00.9227262 Verbose: True
      00:00:00.9230757 RequiredVersion: 2.12.0.0
      00:00:00.9234290 AllowPrereleaseVersions: True
      00:00:00.9237662 Name: PSDscResources
      00:00:00.9249879 INVOKING PowerShell Fn Resolve-PackageSource with args  that has length 0
      00:00:00.9277038 In PowerShellGet Provider - 'Resolve-PackageSource'.
      Repository details, Name = 'public-psm', Location = 'http://proget.ocapiat.fr/nuget/public-psm'; IsTrusted = 'True'; IsRegistered = 'True'.
      00:00:00.9306787 Yielding package source for public-psm at location http://proget.ocapiat.fr/nuget/public-psm
      00:00:00.9327326 Done calling powershell «Resolve-PackageSource» «PSModule»
      'PSDscResources' matched module 'PSDscResources/2.12.0.0' from provider: 'PowerShellGet', repository 'public-psm'.
      Unable to install, multiple modules matched 'PSDscResources'. Please specify an exact -Name and -RequiredVersion.
      

      As I said, this was an original problem in PSGAllery, I found a trick to overcome it (ie Minimumversion with the DSC PackageManagement)
      Now as I am triyng to move to the new ensure-PSModule, I have again the damned problem.

      posted in Support
      P
      philippe.camelio_3885
    • RE: How to use PSEnsure Module and Custom PSRepository ?

      @rhessinger
      Thank you for the suggestion I did not think about this.
      I did run the Get-PSRepository and there was only the powershell gallery ...

      As PSRepo can t defined at the server level this behaviour is not a big surprise.

      About the version, I had problems with module version month ago as I am using Proget for Powershell Gallery proxy
      Due to a known bug made by Microsoft on Powershell Gallery, version was a mess for some modules.
      I found that using Minimumversion overcomes the problem in my situation.

      I think you should add a function to manage PSRepo to complete the Ensure Module function.
      As you have Proget it would make sense.
      Thanks again.

      posted in Support
      P
      philippe.camelio_3885
    • 1 / 1