Giter Club home page Giter Club logo

infrastructure's Introduction

UiPath Infrastructure deployment templates

UiPath deployment solutions

Azure

AWS

Documentation and code here

infrastructure's People

Contributors

0xbadca7 avatar adamstefan avatar adrianpetre avatar alexcabuz avatar andreibarbuoz avatar bluphy avatar bobbyes avatar claudiusodoleanu avatar ctopherwilliams avatar github-cloudinfra-serviceuser avatar hteo1337 avatar k2zinger avatar kkoehncke avatar mihai-cmm avatar ovidiu-bestea avatar tadrian88 avatar ubikusss avatar uispena avatar vladstanciu-uipath avatar wseng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

infrastructure's Issues

UiPath orchestrator AWS template default parameter QSS3KeyPrefix must be quickstart-uipath-orchestrator not quickstart-uipath-robot

Describe the bug
Running the default AWS deployment for full HA fails by default on the nested orchestrator template because the default s3 template variable references quickstart-uipath-robot instead of *-orchestrator - causing a CF failure on the 2nd nested template creation

Product and Cloud
Latest default UiPath template with new VPC in https://aws-quickstart.github.io/quickstart-uipath-orchestrator/#_launch_the_quick_start

Expected behavior
Template should run to completion - it fails

Additional context
in https://aws-quickstart.github.io/quickstart-uipath-orchestrator/#_launch_the_quick_start via
https://github.com/UiPath/Infrastructure
specifically
https://github.com/UiPath/Infrastructure/blob/main/AWS/Orchestrator/templates/main.template.yaml#L983

without the orchestrator change/ for

2021-04-14 19:20:35 UTC-0400
OrchestratorStack
CREATE_FAILED
S3 error: The specified key does not exist.

"finding key"
https://github.com/UiPath/Infrastructure/blob/main/AWS/Orchestrator/templates/main.template.yaml#L983

OrchestratorStack:
Type: 'AWS::CloudFormation::Stack'
Properties:
TemplateURL: !Sub
- >-
https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}templates/uipath-orchestrator.template.yaml
others ok
https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-aws-vpc/templates/aws-vpc.template

S3 URL: https://aws-quickstart.s3.us-east-1.amazonaws.com/quickstart-uipath-orchestrator/templates/main.template.yaml

using

QSS3BucketName = aws-quickstart

QSS3BucketRegion = us-east-1
QSS3KeyPrefix = quickstart-uipath-robot/ (change to quickstart-uipath-orchestrator/

should be (works)
https://aws-quickstart.s3.us-east-1.amazonaws.com/quickstart-uipath-robot/templates/uipath-orchestrator.template.yaml

should be
https://aws-quickstart.s3.us-east-1.amazonaws.com/quickstart-uipath-orchestrator/templates/uipath-orchestrator.template.yaml

continuing/rerun

2021-04-14 20:48:01 UTC-0400 UiPath-Orchestrator CREATE_COMPLETE -
2021-04-14 20:47:58 UTC-0400 OrchestratorStack CREATE_COMPLETE -
2021-04-14 19:44:41 UTC-0400 OrchestratorStack CREATE_IN_PROGRESS Resource creation Initiated
2021-04-14 19:44:40 UTC-0400 OrchestratorStack CREATE_IN_PROGRESS -
2021-04-14 19:44:38 UTC-0400 NetworkStack CREATE_COMPLETE -
2021-04-14 19:41:34 UTC-0400 NetworkStack CREATE_IN_PROGRESS Resource creation Initiated
2021-04-14 19:41:33 UTC-0400 NetworkStack CREATE_IN_PROGRESS -
2021-04-14 19:41:26 UTC-0400 UiPath-Orchestrator CREATE_IN_PROGRESS User Initiated

start 1941
HA slaves up 1945
bastion up 2045

Robot fails to connect with orchestrator after recent change.

Robot now fails to connect to connect to orchestrator after recent change. I have been using the script in my ARM template since long but have started facing this issue recently.

It always logs that robot already exist when there is no such robot connected to orchestator and then it fails to connect with orchestrator.

image

As seen from tray it is understood that it fails to connect with orchestrator.

image

TestIssue2

Describe the bug
A clear and concise description of what the bug is.

Product and Cloud
Which product and cloud combination was deployed.

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here, logs or error messages

fqdn needs RE . validation or derivation from route53 zone - as Cert/Route53 error only occurs during nested CF build

Describe the bug
fqdn needs validation or derivation from zone - as Cert/Route53 error only occurs during nested CF build
Once you select the domain - if you forget to add the FQDN after the prefix - a failure only occurs mid CF deploy
Fix is to append the domain name to the prefix or at least validate using RE that there is at least one . domain separator

working
orchestrator.packet.global
failing
orchestrator (no fqdn)

Product and Cloud
latest AWS template with VPC
https://aws-quickstart.github.io/quickstart-uipath-orchestrator/#_launch_the_quick_start

Expected behavior
template creates successfully

Additional context
missing out on adding .packet.global to the Hosting FQDN will result 
in an error later on that will require a partial manual rollback of the RDS instance.
RDS must be manually deleted before the stack can be deleted
Screen Shot 2021-04-15 at 14 45 25

2021-04-15 09:54:04 UTC-0400

OrchestratorStack

CREATE_FAILED

Embedded stack arn:aws:cloudformation:us-west-1:453279094200:stack/
UiPath-Orchestrator-OrchestratorStack-12EYHJTMLWPX9/03fc1270-9df2-11eb-a5bf-024d78a93fd5
was not successfully created: The following resource(s) failed to create:
[ConfigureSSLStack, FindAmiLambdaRole, StorageStack, DatabaseStack].
Screen Shot 2021-04-15 at 10 40 13

add validation and/or derivation to https://github.com/UiPath/Infrastructure/blob/main/AWS/Orchestrator/templates/main.template.yaml#L819

see also #110

Log response from server on exception

Log-Write -LogPath $sLogFile -LineValue "Robot [$machineName] already exists, trying to connect to [$orchestratorUrl]"

Exception messages from server, such as this:

{
  "message": "Failed to write machine_name\\username to Credential Store type AzureKeyVault. Error type SecretNotFound : Secret not found. ",
  "errorCode": 2305,
  "resourceIds": null
}

are lost and more difficult to reproduce. Should log, at least during debug, the complete response from server

starting container process caused "exec: \"python\": executable file not found in $PATH"

Issue:
docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"python\": executable file not found in $PATH": unknown. ERRO[0006] error waiting for container: context canceled

I am trying to get the linux CV server going on my Azure GPU VM on Ubuntu 16.04 LTS. The VM is NC6_Promo with 6 vCPUs, 56GB of RAM and 128GB SSD.

I ran the install script on a newly created VM and everything seemed to install OK. nvidia-smi shows the correct output and the GPU is working.

I ran docker run -p 8501:80 -e NVIDIA_VISIBLE_DEVICES="0" controls_detection eula=accept but this does not work and results in the error message at the very top of this issue. It appears to be some kind of python environment issue. Possibly in the docker container.

Any ideas on how to fix this? I may try to use RHEL instead of Ubuntu to see if that makes a difference.

Thanks!

testissue3

Describe the bug
A clear and concise description of what the bug is.

Product and Cloud
Which product and cloud combination was deployed.

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here, logs or error messages

SSL Certificate

I have been installing Orchestrater silently and it works well apart from I couldn't get the pre requisites to install and was getting .Net Framework 4.7.2 failed. So I created a custom AMI in AWS with them pre installed. I can install Orchestrator with self signed certificate and use computer name but I want to use my own public URL and third party certificate. How can this be automated?

I have tried removing the creation of the self signed cert and importing the SSL cert I want to use into local machine personal store first and referencing the thumbprint. I have also added to additional MSI properties for Public URL and certificate subject. Using the Ui Path Orchestrator command line reference guide. However the MSI fails to install using the install script.

Any help would be appreciated.

$msiProperties += @{
"ORCHESTRATORFOLDER" = ""$($orchestratorFolder)"";
"DB_SERVER_NAME" = "$($databaseServerName)";
"DB_DATABASE_NAME" = "$($databaseName)";
"CERTIFICATE_SUBJECT" = "$(*.myurl.com)";
# "WEBSITE_NAME" = "$(UiPath Orchestrator)";
"HOSTADMIN_PASSWORD" = "$($orchestratorAdminPassword)";
"DEFAULTTENANTADMIN_PASSWORD" = "$($orchestratorAdminPassword)";
"APP_ENCRYPTION_KEY" = "$($getEncryptionKey.encryptionKey)";
"APP_NUGET_ACTIVITIES_KEY" = "$($getEncryptionKey.nugetKey)";
"APP_NUGET_PACKAGES_KEY" = "$($getEncryptionKey.nugetKey)";
"APP_MACHINE_DECRYPTION_KEY" = "$($getEncryptionKey.DecryptionKey)";
"APP_MACHINE_VALIDATION_KEY" = "$($getEncryptionKey.Validationkey)";
"TELEMETRY_ENABLED" = "0";
"PUBLIC_URL" = "$($orchestratorHostname)";

I have added the parameter -OrchestratorHostname

thanks

Matt

https://github.com/UiPath/Infrastructure has a 404 on the doc link https://github.com/UiPath/Infrastructure/blob/main/AWS/docs

Describe the bug
https://github.com/UiPath/Infrastructure has a 404 on the doc link https://github.com/UiPath/Infrastructure/blob/main/AWS/docs

Product and Cloud
Which product and cloud combination was deployed.

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here, logs or error messages

another test

Describe the bug
A clear and concise description of what the bug is.

Product and Cloud
Which product and cloud combination was deployed.

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here, logs or error messages

UserData fails to execute install

2020/03/30 17:30:53Z: Message: The errors from user scripts: C:\scripts\Install-UiRobot.ps1 : A parameter cannot be found that matches parameter name 'machineName'.
At C:\Windows\TEMP\UserScript.ps1:43 char:219
+ ... ername "robolocal" -machinePassword "R@pVPsf@Fx" -machineName "$newMa ...
+                                                      ~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Install-UiRobot.ps1], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Install-UiRobot.ps1
 
Remove-Item : Cannot remove the item at 'C:\scripts' because it is in use.
At C:\Windows\TEMP\UserScript.ps1:44 char:5
+     Remove-Item -LiteralPath "C:\scripts" -Force -Recurse
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Remove-Item], PSInvalidOperationException
    + FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.RemoveItemCommand
 

2020/03/30 17:30:53Z: Message: The output from user scripts: Ok.

The AWs deployments do not work

After the "terraform apply" has finished, the Orchestrator EC2 machine, have no Orchestrator installed on it.

Havin a look into the logs - seems the was not possible to download the Orchestrator Installer from server.
How can I solve ?
THX

Terraform option for Azure

Hi there,

It would be great to see a terraform option for Azure as well with VM + Azure SQL.
Shows an equivalent to AWS where an App Service isn't to be used.

Install-UiPathRobots.ps1 error

i am facing this error while deploying robot template in powershell after orchestrator template deployment (successful)

{"status":"Failed","error":{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"Conflict","message":"{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"VMExtensionProvisioningError\",\r\n \"message\": \"VM has reported a failure when processing extension 'CSExtension'. Error message: \\\"Command execution finished, but failed because it returned a non-zero exit code of: '1'. The command had an error output of: 'Invoke-RestMethod : {\\\"message\\\":\\\"An error has occurred.\\\",\\\"errorCode\\\":0,\\\"resourceIds\\\":null}\\r\\nAt C:\\\\Packages\\\\Plugins\\\\Microsoft.Compute.CustomScriptExtension\\\\1.10.12\\\\Downloads\\\\0\\\\Install-UiPathRobots.ps1:149 char:17\\r\\n+ ... etFolders = Invoke-RestMethod -Uri \\\"$o...' For more information, check the instance view by executing Get-AzVmssVm or Get-AzVm (https://aka.ms/GetAzVm). These commands can be executed using CloudShell (https://aka.ms/CloudShell)\\\"\\r\\n\\r\\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSEWindowsTroubleshoot \"\r\n }\r\n ]\r\n }\r\n}"},{"code":"Conflict","message":"{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"VMExtensionProvisioningError\",\r\n \"message\": \"VM has reported a failure when processing extension 'CSExtension'. Error message: \\\"Command execution finished, but failed because it returned a non-zero exit code of: '1'. The command had an error output of: 'Add-UiPathRobotFolder : Terminating error: {\\\"message\\\":\\\"An error has occurred.\\\",\\\"errorCode\\\":0,\\\"resourceIds\\\":null}\\r\\nAt C:\\\\Packages\\\\Plugins\\\\Microsoft.Compute.CustomScriptExtension\\\\1.10.12\\\\Downloads\\\\0\\\\Install-UiPathRobots.ps1:86 char:5\\r\\n+ Add-UiPathRobotFo...' For more information, check the instance view by executing Get-AzVmssVm or Get-AzVm (https://aka.ms/GetAzVm). These commands can be executed using CloudShell (https://aka.ms/CloudShell)\\\"\\r\\n\\r\\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSEWindowsTroubleshoot \"\r\n }\r\n ]\r\n }\r\n}"}]}}

test

Describe the bug
A clear and concise description of what the bug is.

Product and Cloud
Which product and cloud combination was deployed.

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here, logs or error messages

TestIssue for automation

Describe the bug
A clear and concise description of what the bug is.

Product and Cloud
Which product and cloud combination was deployed.

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here, logs or error messages

test

Describe the bug
A clear and concise description of what the bug is.

Product and Cloud
Which product and cloud combination was deployed.

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here, logs or error messages

Email validation AWS main.template does not handle new TLD domains like .global (size hardcoded to 5)

Describe the bug
Email validation on main template does not handle new TLD domains like packet.global for example

Product and Cloud
Latest UiPath for AWS

Expected behavior
dont force .com, .org domain emails

Additional context
fix
diff --git a/cloudformation/templates/main.template.yaml b/cloudformation/templates/main.template.yaml
index 2964428..7494086 100644
--- a/cloudformation/templates/main.template.yaml
+++ b/cloudformation/templates/main.template.yaml
@@ -834,7 +834,7 @@ Parameters:
Description: High-availability add-on user name. Must be a valid email address.
Type: String
Default: '[email protected]'

  • AllowedPattern: '^([a-zA-Z0-9_-.]+)@([a-zA-Z0-9_-.]+).([a-zA-Z]{2,5})$'
  • AllowedPattern: '^([a-zA-Z0-9_-.]+)@([a-zA-Z0-9_-.]+).([a-zA-Z]{2,15})$'
    ConstraintDescription: Must be a valid email address.
    HAAPassword:
    Description: High-availability add-on password.

test

Describe the bug
A clear and concise description of what the bug is.

Product and Cloud
Which product and cloud combination was deployed.

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here, logs or error messages

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.