Hi,
Can someone tell me what's the difference between Buildmaster 2024.8 and 2024.8-r1 container version
I can't see it based on changelogs...
Thant in advance,
Marc
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!
Hi,
Can someone tell me what's the difference between Buildmaster 2024.8 and 2024.8-r1 container version
I can't see it based on changelogs...
Thant in advance,
Marc
Hi all,
Just to inform that I discovered a "bug" in :
/usr/local/buildmaster/service/agents/linux-x64/links.json
This file contains lines like:
"fr\\Microsoft.Data.SqlClient.resources.dll": "fr\\Microsoft.Data.SqlClient.resources.dll",
From what I can understand, this file makes a mapping (link) between windows named path to Linux named path but in this case the value part should contain "/" instead of "\\"
Because of that, there is an error in server ssh connection as the file name is incorrect.
I changed the file with the help of a configMap replacing the faulty json with a correct one.
This file now contains line like:
"fr\\Microsoft.Data.SqlClient.resources.dll": "fr/Microsoft.Data.SqlClient.resources.dll",
This should be patched in a future release...
Hope this helps,
Marc
Hi Alana,
THanks for your answer. However, in the GUI, I don't have the openLDAP choice:
V1: LDAP or Single Domain Active Directory (Legacy)
BuildMaster will use the user and group information of a single domain or a generic LDAP directory.
V2: Active Directory Domain Forest (Legacy)
BuildMaster will use the global catalog for the current forest, and also all domains which have an inbound trust. If you only have one domain, the LDAP directory should be used instead.
V3: Active Directory (Deprecated)
Queries the current domain, global catalog for trusted domains, or a specific list of domains for users and group membership.
V4: Active Directory/LDAP
Queries the current domain, global catalog for trusted domains, or a specific list of domains for users and group membership.
How can I have access to the openLDAP option?
Kind regards,
Marc
Is there a way to use LDAP authentication in Buildmaster when used in a Docker container (OpenShift)?
Hi @atripp ,
Thanks for the suggestions. Concerning the LogMessages table, we already have those messages displayed on the OpenShift console, but nothing suspect can be seen.
What I'll try is to test a fresh install of the last BuildMaster version and see what difference we have with our "updated" version.
I'll keep you in touch.
Marc
I already checked the console an didn't see anything bad, except those lines:
Unable to auto-activate license. Error was: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
Unable to auto-activate license. Error was: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished HTTP/1.1 GET http://mdw-deploy-bima-alpha.apps.gcloud-04.paas.services.gcloud.belgium.be/ - 302 0 - 100320.3875ms
As we do not have connection to the internet, even by proxy, those messages should be considered as "normal"
What is strange, is that we have listeners on ports, but a curl on those ports are failing in timeout...
Marc
Hi all,
We have a running Buildmaster v 7.0.23 on OpenShift that we want to upgrade to the last version (24.0.x)
Upgrading to 7.0.25 is working. But when I want to upgrade to 22.x or higher, I cannot access to the app: err 504: gateway timeout. A curl inside the container gives the same result.
I already had a look at the thread "[ProGet] Manual database upgrade (docker, kubernetes)", but the solution is using the arg "upgrade" of ProGet that is not existing for BuildMaster.
What hint do you suggest me to solve this problem?
Thanks in advance,
Marc
@atripp Thanks for your reply... This is a good reason to planify an upgrade!
Marc
I forgot to mention: this is an old version: 7.0.23
Hi all,
In BuildMaster, when I want to access an event in the Buildmaster event page, I get a window with :
Unexpected Error
(500) Server Error
Collection is not a wrapped Inedo.Web.Controls.SimpleHtml.Td collection. (Parameter 'collection')
For more information, visit the Error Log Page.
What can be the meaning of this message?
Kind regards,
Marc
Hello people!
We are currently using aan old version of BM (7.0.23) on OpenShift. Therefore the license is validated against a rather dumb host string.
But while I attempted to upgrade to a more recent version (22.0.15), I noticed that this string has changed to a more consistent value.
My question is: on which criteria this string is based on? In other words, what if we decide to move the pod to an other node, or rename the container/pod/project name?
Have a sunny day (just like here in Belgium)
Marc
I've seen your message yesterday. I will investigate as soon I have the correct environment. Thanks for the help!
Hi Alana,
Here is the content of the element:
<a href="https://xx.yyyy.zz//administration/security/built-in/change-password" onclick="$.inedojq_frameddialog(this.href,{resizable: true,refreshOnClose: false,width:640,height:480});return false;">Change Password</a>
As you can see, there is a double / instead of one. I tried to mofify the baseUrl parameter to remove the / at the end but then the server becomes inaccessible. Maybe I have to restart it...
Marc
Hi all,
While running deployments on our migrated Buildmaster instance, we notice strange log messages like:
...
at Inedo.BuildMaster.Extensibility.Agents.ConnectingAgent.GetAgentServiceInternal(Type service) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E236482\Src\BuildMasterSolution\CoreEx\BuildMasterExtensions\Agents\ConnectingAgent.cs:line 36
at Inedo.Extensibility.Agents.Agent.GetService[TService]()
at Inedo.BuildMaster.Windows.ServiceApplication.Executions.PlanExecuter.OtterScriptExecuter.<>c__DisplayClass48_0.
The windows like path is strange by itself, but the IP is even more strange. We do not have such IP rages in our company...
How it comes?
Kind regards,
Marc
Hi all,
We just have migrate our BuildMaster server from Windows to OpenShift.
We are still using version 7.0.23.1
All is working fine up to now, except that since OpenShift cannot access AD, and v 7.0.23.1 does not support LDAP auth, we are using integraded auth, which is not yet a problem as we do no have a lot of users.
However, when we ask a use to change his default password, we have the following message in the popup window:
"There is no page or resource at the URL you requested: //administration/security/built-in/change-password "
I suspect that this should be a complete URL but the heading "https..." is missing.
How can we correct that?
Kind regards,
Marc
Hi all,
I inadvertently created a pipeline. How can I delete it?
Thanks in advance,
Marc
Replying to myself: This is due to chromium protection feature. I successfully downloaded it via Firefox.
Solved then
Hi all,
I currently have a problem downloading he offline installer for BuildMaster 7.0.23: in fact nothing seems to happen. No download is initiating. However, when I try to download the "manual installation files", it works perfectly.
What can I do?
Thanks in advance,
Marc
OK, by selecting the correct version, I managed to upgrade manually the extensions.
Many thanks for your time,
Marc
Thats more clear, but I also have the problem with FTP 1.10.1
Is this normal?
By the way, the .NET installed version is 4.6.2 (after Release DWORD: 394802)
It is BuildMaster v 7.0.22, and I have the problem wit all extensions, for example git 2.1.0
Hi all,
I have an issue while trying to update extensions in BuildMaster. The error is:
Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified
Is there a minimum .net needed for those extensions?
Thanks in advance,
Marc
@rhessinger said in Configure LDAP on BuildMaster on Linux:
f you require a CN a
Hi Rich,
To log in our AD, we are using a binddn (ldapsearch -D "binddn" ) of the form "CN=OurID,OU=users,OU=gcloud,DC=gcloud,DC=dom", tere is no @<something> (i.e. @gcloud.dom) in suffix.
Hi Rich,
It is not clear how the domain suffix should be entered...
Our binddn is in the form:
CN:OurID,OU=Users,OU=gcloud,DC=gcloud,DC=dom
I created a credential (say LDAPuser) with this binddn as user and the corresponding password.
What should I put in the "Domain to search" box?
I tried "gcloud.dom,LDAPuser", but that is not working... It says:
[Debug] Search term: someuser
[Debug] Filter string: (&(|(objectCategory=user)(objectCategory=group))(|(userPrincipalName=someuser*)(sAMAccountName=someuser*)(name=someuser*)(displayName=someuser*)))
[Debug] Building search root paths for search mode SpecificDomains...
[Debug] Searching domain: CN=OurID,OU=users,OU=gcloud,DC=gcloud,DC=dom@gcloud.dom
It doesn't work because of the @gcloud.dom...
Hi all,
I try to configure LDAP (Active Directory) in BuildMaster on Linux platform (OpenShift)
I tried to follow the doc but with no success.
The problem is there is nowhere to find how to specify user DN/password. Therefore I cannot figure out how BuildMaster is querying the LDAP server.
Any help would be welcome!
Thanks in advance,
Marc
Hi all,
Could I have the list of all directories that need to be shared between nodes in a cluster environment and what are their purpose?
The problem is that we plan to use OpenShift, but we need the list of persistent volumes to "order" from the OpenShift team.
Thanks in advance,
Marc
Things are OK now. All by itself
Case closed.
Hi all,
We have a BuildMaster HA test on our OpenShift cluster installed as a StatefulSet, as this permits to have fixed pod names.
There is version 7.0.17 installed, and I tryed to upgrade it to 7.0.18 by deleting the StatefulSet, change the container version to 7.0.18 and restart the StatefulSet.
Everything went fine, except that on the "Cluster Management" page,I have: Unexpected version: v7.0.17.1 on one of the two web services (see attached)
Why?
Thanks in advance,
Marc
OK, I got it.
the servers are the ssh servers tha BM is connecting to while deploying. As this is a test env, there are a lot of faulty servers
Thanks for the help,
Marc
Hi all,
I have configured a cluster of 2 nodes with buildmaster. All seems to work correctly except that I have a red banner that tells:
More than half of the servers are in an error state, consider restarting the BuildMaster service.
but if I clickon the link, everythings looks OK
Is this a false positive?
Just to inform people here:
This was due to an over-fragmented indexes in the DB.
By reorganizing such indexes the problem was solved, even if the request itself still takes 10s.
For more info: https://inedo.com/support/kb/1167/sql-server-recommendations
Thanks to the Inedo team,
Marc
@dean-houston OK, entering the url manually worked.
Thanks
@rhessinger This is an offline activation as our servers cannot reach Internet
@rhessinger Stopped and started both containers, with in final the same problem ...
@Dan_Woolf Thanks for the explanation. I'll try it as soon as I can re-activate my trial license...
Hi,
While trying to activate trial license, I get a freeze window showing "Activate BuildMaster", and nothing happen
What can I do?
Kind regards,
Marc
Hi,
For about two months, we have from time to time (500) Server Error. In the log we have the following:
URL: http://sara.services.gcloud.belgium.be/releases
Referrer: http://sara.services.gcloud.belgium.be/all-applications
User: smals-marled@gcloud.dom
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36
Stack trace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
...
--- 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 Inedo.Web.Handlers.AsyncHandlerWrapper.EndProcessRequest(IAsyncResult result)
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)
It looks like a DB connection timeout, but the connection to DB is OK.
What could this be?
Marc
Hi Alana,
On the BuildMaster Cluster overview page, I see for buildmaster-0 pod:
Service messenger: tcp://buildmaster-0:4242
which is OK, but for buildmaster-1 pod:
Cannot connect to service messenger: tcp://buildmaster-1:4242
So there is a 'connection' from buildmaster-0 (web?) to 'buildmaster-0' service on port 4242 , but the buildmaster-1 (web?) tries to connect to buildmaster-1 service on port 4242 which of course fails. This is really confusing.
The question is: what is running in each pod/container?
I have to admit that I don't understand clearly the communication scheme between the different components of BuildMaster.
However, I changed the messenger endpoint to tcp://*:4242 and things are working better.
However, I still have the red banner indicating that :
More than half of the servers are in an error state, consider restarting the BuildMaster service.
But when I click to the ling, everything looks OK
Hi,
I've managed to create a BuildMaster cluster of two nodes on OpenShift.
It seems to work correctly except that there is a issue configuring the service messenger. Only one is working.
I mean that on the cluster management window, I see one node with:
and the other with:
The value for Service.MessengerEndpoint is:
What is wrong?
What I did is to create a StatefulSet, just to have fixed pod names. Here is the yaml:
apiVersion: apps/v1
kind: StatefulSet
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
labels:
app: buildmaster
name: buildmaster
namespace: gcloud-services-prod-infra-adc
spec:
replicas: 2
selector:
matchLabels:
app: buildmaster
serviceName: buildmaster
template:
metadata:
labels:
app: buildmaster
spec:
containers:
- image: gcloud-docker-release.repo.gcloud.KRAMERICA.COM/inedo/buildmaster:7.0.17
imagePullPolicy: IfNotPresent
name: buildmaster
env:
- name: BUILDMASTER_SQL_CONNECTION_STRING
value: "Data Source=dbtest.services.gcloud.KRAMERICA.COM,50000; Initial Catalog=BM01; User ID=sa; Password=hunter42"
- name: ASPNETCORE_URLS
value: "http://0.0.0.0:8080"
ports:
- containerPort: 8080
protocol: TCP
volumeMounts:
#- mountPath: /var/buildmaster/artifacts
# name: buildmaster-volume-1
#- mountPath: /var/buildmaster/extensions
# name: buildmaster-volume-2
- mountPath: /var/buildmaster
name: buildmaster-volume-nfs
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- name: buildmaster-volume-nfs
nfs:
server: maaalab-001.services.gcloud.KRAMERICA.COM
path: /var/opt/nfs/buildmaster
#- emptyDir: {}
# name: buildmaster-volume-1
#- emptyDir: {}
# name: buildmaster-volume-2
triggers:
- type: ConfigChange
</pre>
Hi all,
I want to figure out where is it possible to configure the reports directory.
On my server, it is located in C:\BuildMaster\Reports, but I don't know where I can change it.
Any idea?
Thanks in advance!
Hi,
Is there a way to configure BuildMaster to use PostgreSQL?
Got it!
The problem was that the option Onboarding.Hide...HomePage is set to "true", but the licence key was not validated (we changed from Windows to Docker version), and my docker has no internet connection, so a manual validation was required.
Therefore, forcing the value of the config key to "false" permits to access the interface to validate the license key.
Solved!
No, we are connecting to an existing database. The idea is to migrate from Windows to OpenShift