Comments (17)
After some research, I'm also not very sure on how we do this deployment to Microk8s?
How does the helm command know it has to use the local Kubernetes cluster?
Providing a Kubernetes namespace would be my guess.
from docs-ifa.
Also, I think that we only need to run:
> helm upgrade --install <name> oci://invictusdevacracr.azurecr.io/helm/invictus-on-premise
When getting the Kubernetes pods, you get these already. Maybe we should let the users to inject the values in the values.yaml
instead?
from docs-ifa.
I'm more of a fan to let the use --set with the command an not inject values in values.yaml.
For micok8s you can just do microk8s config > .kube/config an use it as a normal Kubernetes cluster.
from docs-ifa.
Aha, didn't know that. Thx!
from docs-ifa.
just clarified with Matthew. That Framework.InvictusDashboardConnectionString is an outdated variable and isn't needed anymore.
All other needed variables should be clear. right?
from docs-ifa.
just clarified with Matthew. That Framework.InvictusDashboardConnectionString is an outdated variable and isn't needed anymore. All other needed variables should be clear. right?
Some questions on these variables:
{name}
: this is something we can choose freely? Could be anything we want?{username}
/{password}
: 'credentials by Codit products'? So, credentials I still require?{rabbitmqpassword}
: also an Azure resource I have to deploy manually?{erlangcookie}
: something we can choose freely?{releaseverion}
: an existing release version? If so, what are available? If not, can we choose it freely?
Also, if this command succeeds: how do we know if it's ran successfully? Is there a health endpoint or test-scenario for this kind of on-premise deployment to verify success?
from docs-ifa.
Ok, I think I got the deploy commanded working; now I only need something to see if everything works.
I think this already is something:
from docs-ifa.
First thought that the mysql
pod was some built-in stuff, but apparently, this is part of the deploy. It is the only pod that's failing due to missing file permissions: /opt/mssql/bin/sqlservr: Error: The system directory [/.system] could not be created. File: LinuxDirectory.cpp:420 [Status: 0xC0000022 Access Denied errno = 0xD(13) Permission denied]
; this is also via the SQLsapassword
stuff, not the SQLexistingconnectionstring
one.
When accessing other pods, they seem to rely on this one as they fail, so in that sense the deploy succeeded for the functions, but not for the database.
💡 Does the $USER that runs the stuff have access to the database? Seems like maybe it is the same user that runs the deploy, which may not have enough permissions to do something in the SQL cluster?
from docs-ifa.
Status report
Host.Startup[515]
A host error has occurred during startup operation '269663c4-7c3e-47a3-97f6-809ee8fd2006'.
System.UriFormatException: Invalid URI: The hostname could not be parsed.
💡 Reminds me of invalid in-process/isolated configuration of Azure Functions; something to do with package management, maybe.
Host.Startup[402]
The 'RabbitMQTrigger' function is in error: Microsoft.Azure.WebJobs.Host: Error indexing method 'RabbitMQTrigger'. RabbitMQ.Client: None of the specified endpoints were reachable. RabbitMQ.Client: One or more errors occurred. (Connection failed). RabbitMQ.Client: Connection failed. System.Net.NameResolution: Resource temporarily unavailable.
from docs-ifa.
strange,
the SQL one is an issue with the RBAC.
the timesequencer i have no idea what is happening
The pupsub is having an issue with the rabbitmq. can you check if the rabbitmq is deployed successfully?
from docs-ifa.
--set SQL.persistence.dataSize= 10Gi bijvoorbeeld
This does not change the Forbidden
authorization failure on the MSQL pod.
can you check if the rabbitmq is deployed successfully?
Has the Running
status and the logs seem also OK. (started, completed).
the timesequencer i have no idea what is happening
Seems to have to do something with the 'durable task'.
info: Host.Triggers.Warmup[0]
Initializing Warmup Extension.
dbug: Microsoft.Azure.WebJobs.Host.IDistributedLockManager[0]
Using InMemoryDistributedLockManager
info: Host.Triggers.DurableTask[0]
Using the mssql storage provider.
info: Host.Triggers.Warmup[0]
Initializing Warmup Extension.
fail: Host.Startup[515]
A host error has occurred during startup operation '6430af93-365a-42e3-ab3c-b7b4b11329da'.
System.UriFormatException: Invalid URI: The hostname could not be parsed.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
at System.Uri..ctor(String uriString)
at Microsoft.Azure.WebJobs.Script.WebHost.DefaultScriptWebHookProvider.GetExtensionWebHookRoute(String extensionName) in /src/azure-fun
ctions-host/src/WebJobs.Script.WebHost/WebHooks/DefaultScriptWebHookProvider.cs:line 58
at Microsoft.Azure.WebJobs.Script.WebHost.DefaultScriptWebHookProvider.GetUrl(IExtensionConfigProvider extension) in /src/azure-functio
ns-host/src/WebJobs.Script.WebHost/WebHooks/DefaultScriptWebHookProvider.cs:line 52
at Microsoft.Azure.WebJobs.Host.Config.ExtensionConfigContext.GetWebhookHandler() in C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.
Azure.WebJobs.Host\Config\ExtensionConfigContext.cs:line 55
at Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableTaskExtension.Microsoft.Azure.WebJobs.Host.Config.IExtensionConfigProvider.Ini
It's a bit difficult to debug something on my end, of course,
host.json
file.
WEBSITE_HOSTNAME
to the pod hostname. Something missing from the deployment?
from docs-ifa.
let me check, all of this should be automated. but maybe There was a change that wasn't applied everywhere.
from docs-ifa.
about the timesequencer. somewhere that fix was removed from the repo. it think with the switch from github to devops.
I'll add it again.
edit: a fix has been deployed try to remove the helm chart and reinstall it.
from docs-ifa.
about the timesequencer. somewhere that fix was removed from the repo. it think with the switch from github to devops. I'll add it again. edit: a fix has been deployed try to remove the helm chart and reinstall it.
Something got wrong with the update? Some corrupt secret?
Release "release-name" does not exist. Installing it now.
Pulled: invictusdevacracr.azurecr.io/helm/invictus-on-premise:1.0.0
Digest: sha256:ddfad5eddb3ffc8001176f21251045e8ce4e037abb93d82f1f5a656bd6791f8a
Error: Secret in version "v1" cannot be handled as a Secret: illegal base64 data at input byte 12
Maybe the added secret should be saved as BASE64, like the others? (saw that in the code).
from docs-ifa.
indeed, fix that. I don't know why the test run didn't fail.
from docs-ifa.
Additional info on the SQL error: microsoft/mssql-docker#735.
Was thinking, since it is a Linux pod, that we should provide file permissions chown
with the non-root user on the pod?
from docs-ifa.
i already set fsGroup to 10001
from docs-ifa.
Related Issues (20)
- Difference between dashboard roles HOT 3
- Add build and deploy YAML pipelines
- New appInsights importjob name override HOT 1
- Describe the dashboard configuration json used to configure flows through release pipelines HOT 2
- Historical User HOT 2
- Variable groups must be linked to the release pipeline HOT 5
- Folders appear double in dashboard HOT 7
- Use universal `main` default branch instead of `master`
- Missing 'end-result' in hybrid Invictus on-premise installation guide HOT 3
- Installing Multipass (via Microk8s) not always able to activate Hyper-V HOT 2
- Deeper explanation on why using Azure ACR HOT 3
- Q: should we include `cd ~` for PowerShell users in the prerequisites Windows installation? HOT 1
- Enforce TLS 1.2 on SQL Server
- Disable Public Access on internal Storage Account
- Enforce TLS 1.2 on Storage Account
- Prefer Managed Identity over Shared Access Keys for Storage Account HOT 4
- Switch to RBAC for KeyVault access HOT 3
- Bulk resume / resubmit HOT 2
- Publish docs on *.invictus-integration.com HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs-ifa.