Navigation

    Inedo Community Forums

    Forums

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

    Posts made by philippe.camelio_3885

    • RE: Buildmaster - High CPU database since 6.2.22

      I created on the average 2 servers a week and plenty of roles ...
      I am using Otter for configuration management and script deployment so I need a lot of nested roles for the Linux and Windows servers.
      I also add/change frequently role variables.

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

      @atripp

      SELECT [ExecutionType_Name], COUNT(*) FROM [ManualExecutions] GROUP BY [ExecutionType_Name]

      90b3753d-fa98-4f2c-9f14-05f0082ee30b-image.png

      After my last post I purged again the table and it did not increase today. - no rollback I am pretty sure

      5e9e94e2-0d16-4f6f-8308-756f453b94b7-image.png

      I put again Sync Infra to 1 hour and ran the to following SQL

      use BuildMaster
      SELECT [ExecutionType_Name], COUNT(*) FROM [ManualExecutions] GROUP BY [ExecutionType_Name]
      
      SELECT [ExecutionMode_Code], COUNT(*) FROM [BuildMaster]..[Executions] GROUP BY [ExecutionMode_Code]
      

      we will see tomorrow

      dfe7d786-23f3-49be-bd30-1ab13202bc5a-image.png

      anyway thank you for your time :)

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

      I put some new screenshoots

      3660cc84-6b66-4cdf-aa42-e8a721f52709-image.png

      48e877c1-7edd-476c-92c4-3dad5260532e-image.png

      97dad5a9-12bc-4de0-92c2-61e823c4766e-image.png

      and a lot of this kind of msg

      71cd38bd-caf5-4ed0-9c1f-edb4ea42ad92-image.png

      In 10 hours:

      • ScopedExecutionLogentries x 20 (600k -> 12M)
      • ScopedExecutionLogs : x 34
      • ManualExecutions x 164

      dbf630f4-6f97-4440-9587-bbb74ce79c50-image.png

      I set Service.AgentUpdaterThrottle to -1
      I also increase to 1 hour in order to reduced log.
      540171dc-7cc2-41fe-8c37-19a6958fa18c-image.png

      I will check tomorrow morning

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

      @atripp
      I disabled the Infrastructure sync.
      Then I clean up the table

      Table size before
      c15f62af-2b64-419f-8842-abfebe1b298a-image.png

      Disable Infrastructure sync
      Stop buildmaster
      Cleanup
      637f1405-8347-4127-b10b-1dfafbd70b42-image.png

      Table size after
      7e13bece-c747-4aa5-bcb4-95ab69cfaecd-image.png

      Restart buildmaster

      I will check tomorrow about the size and let you know

      Thanks

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

      @atripp said in Buildmaster - High CPU database since 6.2.22:

      Importing or Exporting Applications **==> ** never done this **
      Cloning and Applying Template to Applications **==> ** one time a month maximum ****
      Sync of Issue Sources ==> Not sure what this is about ???
      Deploying Configuration file **==> ** No ****
      Upgrading Inedo Agents ==> done by Otter in my case
      Sync infrastructure ==> Used to sync every 2 hours from Otter. I increased since the last post to one day

      I have about 100-110 servers (Linux / windows) sync from Otter, whereas I am using a just a few for deploying application (about 25 actually).
      I have plenty of Role

      It could be Sync infrastructure, any way to check ?

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

      This is what is happening if I force Manual Execution Cleanup to run.
      The stop of the BuildMaster Service solved the problem, but BM is down :(

      d53e43a7-39f9-46a0-a71e-8233c85c8dd0-image.png

      To be more complete, here is the steps I followed

      1 Execution of the delete script
      2 Restart buildmaster
      4 Start Manual Execution Cleanup ==> Problem occurs
      4 Start Manual Execution Cleanup ==> Problem occurs

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

      @atripp
      Unfortunately, it is disturbing.

      I join 2 screenshoot about the impact of the delete sql and it is happening during working hours.

      I find that deleting several hours of CPU and IO for only 102 purged executions take too long

      As I said, the problem exists since release 6.2.22.

      I stopped all retention policies,

      The problem occurs when the Manual Execution Cleanup is running

      ae5596e6-3bd1-446f-ad18-819b1b59a11f-image.png

      ==============

      40cb28d8-4c5b-43f5-9e00-19f262b07049-image.png

      f5e93e31-d3df-449a-a846-8a931122ac1a-image.png

      I ran again your code:
      Before the execution:

      b536a5c6-f9f9-4e3a-917e-4888440fd129-image.png

      After

      (255268 rows affected)
      
      Completion time: 2021-01-30T22:06:02.9603752+01:00
      

      21f5c092-4ba4-4616-bdf7-f5254701b24c-image.png

      SELECT [ExecutionMode_Code], COUNT(*) FROM [Executions] GROUP BY [ExecutionMode_Code]
      

      29644d1e-092e-444a-b1d8-40921129c6a6-image.png

      I set Retention.KeepLastManualExecutionCount to 50.

      I will see what is going on

      Best Regards
      Philippe

      PS - Thanks for the help

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

      The request still eating all my CPU :(

      5a911e99-e65c-4b19-bbd8-272be81ded0b-image.png

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

      I had to stop SQL Instance, Restart BM Service
      Everything looks fine

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

      Buildmaster is broken 😥
      Time out when I try to get an access to BM.

      I reboot unsuccessfully

      but the Database is clean

      R	1000
      M	1000
      S	1586
      T	380
      B	1025
      posted in Support
      P
      philippe.camelio_3885
    • RE: Buildmaster - High CPU database since 6.2.22

      I have this error msg from SQL Management Studio or from osql

      Msg 4108, Level 15, State 1, Line 7
      Les fonctions fenêtrées peuvent uniquement apparaître dans les clauses SELECT ou ORDER BY
      

      I am not good enough in SQL to overcome this. Any tricks ?

      posted in Support
      P
      philippe.camelio_3885
    • RE: OTTER 3.0 / Fresh install Install with remote DB from InedoHub failed on non-US system

      I had such problem with localized account with a lot of software :)

      Managing the [Otter / Buildmaster / Proget] service Account from the InedoHub would be nice.

      Philippe

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

      @atripp
      Houps ! 😲

      About the retention policies, when I start them manually, they remove few lines.

      Here is the result of the SQL:

      R 91369
      M 164051
      S 1560
      T 377
      B 999

      Thanks
      Philippe

      posted in Support
      P
      philippe.camelio_3885
    • RE: OTTER 3.0 - Git Based-Raft ?

      Hello @atripp

      That what I thought about git so I installed the extension.

      I will reinstall the extension, and I will update the post

      Philippe

      posted in Support
      P
      philippe.camelio_3885
    • RE: OTTER 3.0 - Agent type SSH

      Hey @atripp
      I know this is still a beta.
      Happy to help you
      Philippe

      posted in Support
      P
      philippe.camelio_3885
    • OTTER 3.0 - Agent type SSH

      Hello again.
      Linux server created as SSH did not work, the field hostName is missing while it exists in Inedo Agent
      Script failed when submitting with the error

      Unhandled exception: System.ArgumentNullException: La valeur ne peut pas être null.
      Nom du paramètre : hostName
         à Inedo.Agents.Ssh.SshConnectionInfo..ctor(String hostName, String tempPath, SshCredentials credentials, Nullable`1 timeout, Int32 port)
         à Inedo.Otter.Service.Agents.SshAgentConnection.<CreateAsync>d__9.MoveNext()
      
      posted in Support
      P
      philippe.camelio_3885
    • OTTER 3.0 - Git Based-Raft ?

      Hello
      is the git rafts-based gone ?

      posted in Support
      P
      philippe.camelio_3885
    • RE: OTTER 3.0 / Fresh install Install with remote DB from InedoHub failed on non-US system

      Hi,

      I succeed to install it.
      The steps I have done:

      • Create Database on the Remote server with correct collation
      • Create file Otter.config in %PROGRAMDATA%\Inedo\SharedConfig
      <?xml version="1.0" encoding="utf-8"?>
      <InedoAppConfig>
        <ConnectionString>Data Source=MYSQLSERVER\MYINSTANCE;Initial Catalog=MYDATABASE;Integrated Security=True</ConnectionString>
        <EncryptionKey>***SOME ENCRYPTION KEY ***</EncryptionKey>
        <WebServer Enabled="false" Urls="http://*:8626/" />
      </InedoAppConfig>
      
      • Create the Inedo Service with the command:
      otter.service.exe install
      

      At this point, nothing is running.

      • Run InedoHub,
        -- Select Uninstall
        this will clean the existing installation
        -- Select Install
        as the DB is already existing, everything is OK

      *In my config, the Otter service have to run with a domain account which owns the Otter DB on the remote server

      During the installation, InedoHub is waiting for the service to start.

      • Go to the Service Manager, change the Service account and start the Service.
      • Change the IIS AppPool with the same account used for the Otter Service

      Et voilà !

      But, if you create the Database before installing Otter, this should make the installation correctly.

      I know it is a little bit messy, I hope this will help if someone meet the same problem

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

      @atripp said in Buildmaster - High CPU database since 6.2.22:

      what are the types of Executions in that table? Manual? Build? Etc?

      Sorry, I am not sure to understand what you expect.
      I guess every log - manual / build / deployement.

      I have setup this in the Administration part:

      • Diagnostics.MinimumLogLevel : 20
      • Retention.KeepLastManualExecutionCount: 1000

      I have 3 Retention policies:

      • Delete deployed release Retain 180 days
      • Delete artifacts for rejected build : Retain 30 days
      • Delete execution logs : retain 30 days

      Therefore, logs haven't been removed for more than 36 month !!!
      I have the same in ScopedExecutionsLogEntries

      SELECT TOP (10) [Execution_Id]
            ,[LogEntry_Sequence]
            ,[Scope_Sequence]
            ,[LogEntry_Level]
            ,[LogEntry_Date]
        FROM [Otter].[dbo].[ScopedExecutionLogEntries]
      
      Execution_Id	LogEntry_Sequence	Scope_Sequence	LogEntry_Level	LogEntry_Date
      14	1	1	0	2019-04-02 09:09:23.500
      14	2	1	0	2019-04-02 09:09:23.500
      14	3	1	10	2019-04-02 09:09:23.500
      
      posted in Support
      P
      philippe.camelio_3885
    • OTTER 3.0 / Fresh install Install with remote DB from InedoHub failed on non-US system

      Hello
      Just to let you know that Installation of Otter 3.0 from scratch with DB on remote Server failed at the DB step due to wrong account.

      1. You should allow to specify the service account
      2. you should use the SID - S-1-5-2 of "NT Authority\Network service" to grab the "real" name to match for non US system to avoid an error during the setup.
        On french system "NT Authority\Network service" is "AUTORITE NT\RESEAU"
        =======
      ** (unnamed scope) **
       ** (unnamed scope) **
        ** Stop $ServiceName service **
          INFO: Stopping service INEDOOTTERSVC...
          INFO: Service INEDOOTTERSVC does not exist.
      
        ** Stop $WebServiceName service **
          INFO: Stopping service INEDOOTTERWEBSVC...
          INFO: Service INEDOOTTERWEBSVC does not exist.
      
        ** Sleep for 5 seconds **
          INFO: Sleeping for 5 seconds...
          INFO: Done sleeping.
      
        ** Deploy Program Files **
         ** Deploy package to $WorkingDirectory **
          DEBUG: Deploying D:\Otter\Extensions\InedoCore.upack...
         ...
          DEBUG: Deploying D:\Otter\Web\bin\System.ValueTuple.dll...
      
      
        ** Write SQL Connection String to $DbConnectionString **
      
        ** Create Database **
         ** Ensure SQL Database $DbName Exists on <unknown> **
          DEBUG: Attempting to connect to *********\INEDO using Initial Catalog=OTTER3...
          DEBUG: Could not connect using Initial Catalog=OTTER3.
          DEBUG: Executing script: CREATE DATABASE [OTTER3] COLLATE SQL_Latin1_General_CP1_CI_AS...
          DEBUG: Executing script: USE [OTTER3];...
          DEBUG: Executing script: CREATE USER [NT AUTHORITY\NETWORK SERVICE] FOR LOGIN [NT AUTHORITY\NETWORK SERVICE]...
          ERROR: Unhandled exception: System.Data.SqlClient.SqlException (0x80131904): Utilisateur ou groupe Windows NT 'NT AUTHORITY\NETWORK SERVICE' introuvable. Vérifiez une nouvelle fois le nom .....
      Error Number :15401,State :1,Class :16
      
      

      Best regards

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

      Hello @atripp
      This the Manual Execution Cleanup.

      This process is really annoying.

      You have no SQL scripts to cleanup the table ?

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

      Hi @atripp
      The problem is stil present.
      Do you have any magic sql scripts to purge my huge tables ?
      Thanks in advance

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

      Hello @atripp

      I repaired the index, and it seems to help :)
      I let you know what I still have the problem

      Best Regards
      PhilippeC.

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

      Hello
      The SQL Serve is anormally overloaded since release 6.2.22.
      One request :
      DELETE [Executions]
      WHERE [Execution_Id] = @Execution_Id
      seems to impact a lot the server

      I have seen two big table (7 Go and 12 Go):
      dbo.ScopedExecutionLogs / dbo.ScopedExecutionLogEntries

      any advice is welcome
      Best regards
      Philippe

      posted in Support
      P
      philippe.camelio_3885
    • RE: SQL Xpress raise 10 Gb for BM DB and during upgrade BM 6.2.20 it breaks the BM Service :(

      ManualExecutions: 162 K records / 8 Go of data
      ScopedExecutionsLogsentries : 1099K records / 1.3 Go ofdata

      posted in Support
      P
      philippe.camelio_3885
    • RE: SQL Xpress raise 10 Gb for BM DB and during upgrade BM 6.2.20 it breaks the BM Service :(

      @philippe-camelio_3885

      Thanks @atripp, I made some space using using script based on your SQL and
      I succeed to reinstall the service (thanks @rhessinger - cmd console has to be in admin mode).
      I purged more logs from BM itself.
      Therefore, the dbo.ManualExecutions did not change a lot .

      I did not found a way to purge it from BM.

      any Sql available ? - I made a test where I truncated the table and it was a very bad idea :)

      posted in Support
      P
      philippe.camelio_3885
    • RE: SQL Xpress raise 10 Gb for BM DB and during upgrade BM 6.2.20 it breaks the BM Service :(

      @philippe-camelio_3885

      I have seen the dbo.ManualExecutions is the largest table 8 Go ....
      It contains mainly Infrastructure sync info

      Can I clear it safely ?

      posted in Support
      P
      philippe.camelio_3885
    • RE: SQL Xpress raise 10 Gb for BM DB and during upgrade BM 6.2.20 it breaks the BM Service :(

      @atripp
      Thanks a lot.

      I will try this to restore BM access
      I had a plan to move to SQL Std, I will do it

      posted in Support
      P
      philippe.camelio_3885
    • RE: SQL Xpress raise 10 Gb for BM DB and during upgrade BM 6.2.20 it breaks the BM Service :(

      Hi
      I haven't seen your answer.
      I modify the topic as it is a DB problem not related to the upgrade
      thanks for the fast reply

      I think if I clean the DB, bmservice will work.

      Any sql magic command to clean the DB ?

      posted in Support
      P
      philippe.camelio_3885
    • SQL Xpress raise 10 Gb for BM DB and during upgrade BM 6.2.20 it breaks the BM Service :(

      Hello
      I upgraded BM to 6.2.20 from 6.2.19 and the service Buildmaster is gone :(
      I haven't seen the DB BuildMaster on the SQL Xpress was up to the 10 Gb limit.

      any help is welcome

      Best Regards

      PhilippeC.

      posted in Support
      P
      philippe.camelio_3885
    • RE: OTTER: Error when using module from default asset to plan from an other asset

      You're welcome 😊

      posted in Support
      P
      philippe.camelio_3885
    • RE: Ensure-DSC and Module version

      Hi @rhessinger
      Sorry for the delay

      Yes this is exactly what it should be.

      posted in Support
      P
      philippe.camelio_3885
    • OTTER: Error when using module from default asset to plan from an other asset

      Hello

      By default, the module from the default asset are not suffixed by Default:: when you select it form the visual editor.
      when you use it from a plan located in a different asset, you have the error : Unable to resolve method: *******
      One should search in the default asset when the asset is not defined for the module to avoid the pb
      or you must add default:: suffixe when you select a module form the UI - I think :-)

      Test case:
      In the default asset :
      Create a module Test

      ##AH:UseTextMode
      module test
      {
          Log-Debug Module from Default Asset;
      }
      

      In a test asset (in my case it is a Git Repository)
      Create a Plan TestPlan
      Select Test module from graphic mode

      ##AH:UseTextMode
      call test();
      

      Execution fail

      DEBUG: 2020-10-07 20:42:25Z - Job 1675 directly targets 1 server(s) by name.
      DEBUG: 2020-10-07 20:42:25Z - Skipping collection run; execute only.
      INFO : 2020-10-07 20:42:25Z - Collection run succeeded.
      DEBUG: 2020-10-07 20:42:25Z - Beginning execution run...
      ERROR: 2020-10-07 20:42:26Z - Unable to resolve method: test
      DEBUG: 2020-10-07 20:42:26Z - Cleaning up temporary files on Inedo Agent (v??, VM000037:46336)...
      

      Edit the Plan and add asset suffix to the module (in text mode)

      ##AH:UseTextMode
      call default::test();
      

      Execution succeed

      DEBUG: 2020-10-07 20:47:50Z - Job 1676 directly targets 1 server(s) by name.
      DEBUG: 2020-10-07 20:47:50Z - Skipping collection run; execute only.
      INFO : 2020-10-07 20:47:50Z - Collection run succeeded.
      DEBUG: 2020-10-07 20:47:50Z - Beginning execution run...
      DEBUG: 2020-10-07 20:47:50Z - Module from Default Asset
      INFO : 2020-10-07 20:47:50Z - Execution run succeeded.
      DEBUG: 2020-10-07 20:47:50Z - Cleaning up temporary files on Inedo Agent (v??, VM000037:46336)...
      

      Hope this help

      OTTER Version 2.2.23 (Build 1)

      Best regards
      PhilippeC.

      posted in Support
      P
      philippe.camelio_3885
    • RE: OTTER 2.22 - Variable inheritance between dependant roles

      @atripp
      Good news
      Thank you

      posted in Support
      P
      philippe.camelio_3885
    • RE: Infrastructure Sync Otter => BuildMaster > Dependant roles missing

      @rhessinger
      Good news thank you

      posted in Support
      P
      philippe.camelio_3885
    • RE: Ensure-DSC and Module version

      The Invoke-DscRessource allows this.
      Ensure-DSC should be improved, if possible. It's been a long time since Otter was updated 😊

      Invoke-DscResource -Method Test -Name WindowsFeature -Property @{Name='RSAT-AD-PowerShell'; IncludeAllSubFeature=$true; ensure='Present'} -ModuleName @{ModuleName=’PSDscResources’; ModuleVersion=2.2.0.0’} -Verbose
      

      As enhancement, it would be nice to have a function Ensure-Module in order to manage properly PS Module.

      I have done a small set of functions based on PackageManagement but it does not work properly for the Module installation as it does remove the old version.

      ##AH:UseTextMode
      ##AH:Description Définition d'un dépôt
      module PackageManagementSource<$Nom, $Ensure = present, $SourceLocation, $ProviderName = PowerShellGet, $InstallationPolicy = Untrusted>
      {
          Ensure-DscResource
          (
              ConfigurationKey: Name,
              Name: PackageManagementSource,
              Module: PackageManagement,
              Properties: %(Name:$Nom,ProviderName:$ProviderName,SourceLocation:$SourceLocation,InstallationPolicy:$InstallationPolicy,Ensure:$Ensure)
          )
      }
      
      ##AH:UseTextMode
      ##AH:Description Installation de modules PS à partir d'un dépôt
      module PackageManagement<$Module, $Version, $Source = internal-psm, $Ensure = Present>
      {
          log-information Module: $Module - $Version - $Ensure;
          Ensure-DscResource
          (
              ConfigurationKey: Name,
              Name: PackageManagement,
              Module: PackageManagement,
              Properties: %(Name:$Module,RequiredVersion:$Version,Source:$Source,Ensure:$Ensure)
          );
      }
      

      note:
      There are some prerequisites to have PackageManagement 1.4.7.

      posted in Support
      P
      philippe.camelio_3885
    • Ensure-DSC and Module version

      Hello

      As PS Module version management is a mess, I am looking to call Ensure-DSC with a specific version of a module as it is possible with the Invoke-DscResource unsuccessfully.
      Any exemple might helpfull

      Thanks in advance

      Best Regards

      PhilippeC.

      posted in Support
      P
      philippe.camelio_3885
    • RE: Release Templates - Need help for dynamic list to get branch from Gitlab CE

      Hi @rhessinger
      I will be out of office for the next weeks.
      I ll make the test when I come back
      Best regards
      PhilippeC.

      posted in Support
      P
      philippe.camelio_3885
    • RE: Release Templates - Need help for dynamic list to get branch from Gitlab CE

      Hi Rich
      Using the extension Gitlab 1.7.6-RC2, it is working as expected if the Secure Resource is defined at the application level.

      Best Regards

      Tested with Buildmaster 6.2.14

      posted in Support
      P
      philippe.camelio_3885
    • RE: OTTER 2.22 - Variable inheritance between dependant roles

      Hello @rhessinger
      Thanks

      posted in Support
      P
      philippe.camelio_3885
    • OTTER 2.22 - Variable inheritance between dependant roles

      Hello

      I meet some problem with variable inheritance between role. Is it a normal behavior ?

      Test Case

      • ROLE : FATHER / Create Variable : TEST = FATHER
      Log-Debug ROLE FATHER - VALEUR = : $TEST
      
      • ROLE : SON / Dependencies: FATHER / Orchestration:
      Log-Debug ROLE SON - VALEUR = : $TEST
      
      • Assign Role SON to a Server.

      Force "Check configuration"

      Results:

      Configuration matches template.
      ROLE : FATHER - VALEUR = FATHER
      Could not resolve variable $TEST 
      Collection run complete.
      Collection run failed.
      

      While I expect :

      ROLE : FATHER - VALEUR = FATHER
      ROLE : SON - VALEUR = FATHER 
      

      Best regards

      PhilippeC.

      posted in Support
      P
      philippe.camelio_3885
    • RE: OTTER 2.2.22 - regression ? on Execute-PowerShell function

      Thanks for the fast resolution

      posted in Support
      P
      philippe.camelio_3885
    • RE: OTTER 2.2.22 - regression ? on Execute-PowerShell function

      Hi @atripp

      I upgraded from 2.2.21.

      windows extension is 1.6.2

      posted in Support
      P
      philippe.camelio_3885
    • OTTER 2.2.22 - regression ? on Execute-PowerShell function

      Hello
      the following plan

      # General
      for server VM121007
      {
          Execute-PowerShell >>"HELLO WORLD">>
      }
      

      is not working on Otter 2.2.22 as expected while it was working fine on the previous version.

      If I rollback to the previous version , it is working.

      The error message is :

      DEBUG: 2020-07-01 15:39:24Z - Job 1389 has no servers, server roles, or environments specified.
      DEBUG: 2020-07-01 15:39:24Z - Skipping collection run; execute only.
      INFO : 2020-07-01 15:39:24Z - Collection run succeeded.
      DEBUG: 2020-07-01 15:39:24Z - Beginning execution run...
      ERROR: 2020-07-01 15:39:24Z - Impossible de trouver le chemin d'accès à "C:\ProgramData\Otter\Executions\_E141722", car il n'existe pas.
      INFO : 2020-07-01 15:39:24Z - HELLO WORLD
      ERROR: 2020-07-01 15:39:24Z - Execution run failed.
      DEBUG: 2020-07-01 15:39:24Z - Cleaning up temporary files on Local Server...
      

      This is a big regression for me 😥 as many of my orchestration plans fail . Any answer would be helpful.

      The extensions are all up to date

      Best Regards

      PhilippeC.

      posted in Support
      P
      philippe.camelio_3885
    • [OTTER] Bug when calling a module in a path from a raft

      Hello

      I just report a bug in Otter 2.2.21.

      Test Case
      Create a new Raft RaftTest (I am using a Git raft, but he pb must exist for any kind of raft)
      Create a module

      • Name : ModuleTest
      • Path : PathTest
      module ModuleTest
      {
          Log-information Hello world
      }
      

      Create a Plan : PlanTest
      Edit the Plan in GUI Mode
      Add the Module RaftTest::PathTest/ModuleTest (drag'n drop)
      After you add it, you have an error message:

      Call template DSC::ModuleTest
      Template Error: template DSC::ModuleTest could not be found.
      

      Switch to Text Mode

      ##AH:UseTextMode
      call RaftTest::ModuleTest();
      

      whereas it shoud be

      ##AH:UseTextMode
      call RaftTest::PathTest/ModuleTest();
      

      If you make the correction and stay in text mode, the plan is working fine.
      If you go back to GUI mode you lose the correction and break the plan.

      Et voilà !

      posted in Support
      P
      philippe.camelio_3885
    • RE: Gitlab::Get-source is different between BM and Otter for credentials

      Hi @rhessinger

      I am an old sysadmin so I am really not fluent with .Net stuff and I don't have VS on my computer 😬
      but you give me a good starting point, I will make a try.

      Best Regards
      PhilippeC.

      posted in Support
      P
      philippe.camelio_3885
    • RE: Gitlab::Get-source is different between BM and Otter for credentials

      Hello @atripp

      I was still looking trying to share the same library in OTTER and Buildmaster despite the difference of the function Gitlab::source.
      Is it possible that you create a built-in variable like

      $InedoProgram=<Otter | BuildMaster>
      

      in some next release, so I could bypass the problem in my module like this.

      If $InedoProgram = Otter
      {
              # OTTER
              {
                  GitLab::Get-Source
                  (
                      Credentials: gitlab-inedo,
                      Group: ansible/playbooks,
                      Project: $tolower($PLAYBOOK),
                      DiskPath: $DOSSIER,
                      Branch: master,
                      KeepInternals: false,
                      GitExePath: /usr/bin/git,
                      CleanWorkspace: true
                  );
              }
      
      }
      else
      {
              # BUILDMASTER
              {
              GitLab::Get-Source global::GitLab
              (
                  Namespace: ansible/playbooks,
                  Project: $tolower($PLAYBOOK),
                  DiskPath: $DOSSIER,
                  Branch: master,
                  KeepInternals: false,
                  GitExePath: /usr/bin/git,
                  CleanWorkspace: false
              );
      }
      

      I did the trick with my own variable but it would be nice to have such variable.

      " small steps for Inedo, giant leap for me" 😊

      Best Regards
      PhilippeC.

      posted in Support
      P
      philippe.camelio_3885
    • RE: Release Templates - Need help for dynamic list to get branch from Gitlab CE

      😞

      Error querying list source: 404 Project Not Found
      

      After I installed the pre release extension, I assigned the Resource - Gitlab resource 😊
      1f88e35c-62cd-4000-b936-d463f9a1445e-image.png

      I used the project name from the resource which is defined at applicaiton level

      dd5e51e5-9406-4978-9895-e1b0a9bb5d8f-image.png

      And I have got the following message:

      Error querying list source: 404 Project Not Found
      

      Do I need to make some config on the gitlab side ?

      posted in Support
      P
      philippe.camelio_3885
    • RE: Release Templates - Need help for dynamic list to get branch from Gitlab CE

      Gitlab Branches only 1 parameter ...

      42bea1c0-b602-4ecb-a721-13ad34c659ee-image.png

      whereas GitHub Branches 2 ...

      c9c239e2-a5c6-471e-80a6-feafe29f758a-image.png

      Bug ?

      posted in Support
      P
      philippe.camelio_3885
    • RE: Buildmaster CI Badge for pipeline step ?

      In my opinion, using $ApplicationName is not possible, at least for Gitlab

      Indeed from GitLab ref, we read :

      The URL a badge points to, as well as the image URL, can contain placeholders which will be evaluated when displaying the badge. 
      The following placeholders are available:
      * %{project_path}: Path of a project including the parent groups
      * %{project_id}: Database ID associated with a project
      * %{default_branch}: Default branch name configured for a project’s repository
      * %{commit_sha}: ID of the most recent commit to the default branch of a project’s repository
      

      As %{project_path} is different from $ApplicationName if the project is defined in a group, the only link between the gitlab project and the builmaster application is the commit_sha var.

      I think you just need to add stage as querystring and make the search for the result of the pipeline named stage for which exists an active build variable ($commitId in my example) with a value of commit_sha.

      • and $commitId has to be unique over all BuidMaster.

      Actually, it is not possible to get more variables (ideally %{project_path} at the GitLab::Get-source step.
      The filter would be then better (Filter for project_path+ commitid + stage), but this is still a build variable and not an implicit variable like $ApplicationName

      I don't know if there a better way because I have just started to use Gitlab.

      posted in Support
      P
      philippe.camelio_3885
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 5 / 6