Questions tagged [octopus]

Octopus is a framework for database sharding with Ruby on Rails' ActiveRecord.

From the README:

Octopus is a better way to do Database Sharding in ActiveRecord. Sharding allows multiple databases in the same rails application. While there are several projects that implement Sharding (e.g. DbCharmer, DataFabric, MultiDb), each project has its own limitations. The main goal of octopus project is to provide a better way of doing Database Sharding.

Octopus supports:

  • Sharding (with multiple shards, and grouped shards).
  • Replication (Master/slave support, with multiple slaves).
  • Moving data between shards with migrations.

Source code for Octopus is on github.

143 questions
1
vote
1 answer

Unit tests cannot find tables

I'm running unit tests on Rails 2.3 and I keep getting errors along these lines when I run rake test:units: 10) Error: test_the_truth(BrokerTest): ActiveRecord::StatementInvalid: Mysql::Error: Table 'shadow_test.users' doesn't exist: DELETE FROM…
Ben G
  • 26,091
  • 34
  • 103
  • 170
0
votes
0 answers

octopus-deploy *.ocl configuration files upload to another octopus server

Is there any way to discard ocl processes saved with the help of VCS enabled in Octopus project on Octopus Server 1 that has access to VCS and upload them directly to another Octopus, another Project, when that Octopus Server 2, has no access to…
plotshe2
  • 1
  • 3
0
votes
1 answer

Deploy multiple projects at a time in one click using Octopus

We have 50+ small projects running on different servers. Projects are the combination of microservices, windows applications, angular micro frontend applications, and SQL database projects. All these projects are deployed using Octopus in a CICD…
0
votes
1 answer

SQL Server Error during dacpac deployment via Octopus

We are using Octopus Deploy to deploy a SQL dacpac project from Visual Studio. We are seeing a very unusual error that we've never encountered before. There is VERY little info available regarding this error when we search the interwebs and we've…
0
votes
0 answers

Why I started get 403 error after update OctopusPush step to v6?

I have azure pipeline which pushes build packages to octopus. I had OctopusPush@4 step which work correctly. When i just updated version to 6 OctopusPush@6 I started get 403 error. Can someone help with this?
Vladyslav
  • 29
  • 1
  • 5
0
votes
1 answer

Set Octopus output variable from sql script

I created octopus ranbook and one of the steps is run sql script. I need get result from sql procedure and set it to output variable which value I need to use on second step. When I try set output variable like Set-OctopusVariable -name "Name"…
Vladyslav
  • 29
  • 1
  • 5
0
votes
1 answer

How to create step template in octopus deploy to copy a file from package to Databricks cluster

I use Artifactory to publish NuGet packages. Package would have a file in publish folder which I should copy to Databricks cluster using Octopus deploy but can't seems to find a way to create step template If I use deploy package step I can copy…
0
votes
1 answer

How to add a Environment Scope and Deployment Target Scope to a variable in OctopusDeploy

I have to generate a variable dynamically and set it to the variable list using Octopus Deploy REST API. I don't know how to set the Environment Scope and Deployment Scope to that variable for different values. Example - ENV_NAME ->…
wehelpdox
  • 339
  • 6
  • 16
0
votes
1 answer

Is it possible to use a release snapshot variable in a new release?

I have an old Octopus release, unfortunately some of the variables from the snapshot variables taken at the time it was created are not longer in the variable configuration section or it has different values and I want to use that same configuration…
CarlosS
  • 161
  • 1
  • 13
0
votes
0 answers

Can Octopus audit logs be filtered by when a Runbook process was created and by whom?

I have a runbook in Octopus which has had process steps added gradually over the past year. Is it possible to obtain Octopus audit logs (Configuration>Audit) which are filtered by each time that a step was added to the runbook, so that I can track…
Paradox
  • 4,602
  • 12
  • 44
  • 88
0
votes
0 answers

Octopus deploy db connection error in linux container

I created Octopus with docker-compose.yml and env file as below. https://hub.docker.com/r/octopusdeploy/octopusdeploy And built it, but I can't connect with database. Error: 18456, Severity:14, State: 8. Login failed for user 'sa'. Reason: Password…
yuuum
  • 3
  • 2
0
votes
1 answer

Using Octopus to configure log4net.config in .NET Core 3.1 Web API project

I'm using Octopus as part of our deployment for a .NET Core 3.1 Web API project. log4net.config exists in .\Utility\Logs. I'm trying to follow the pattern…
Eric Brown - Cal
  • 14,135
  • 12
  • 58
  • 97
0
votes
0 answers

How to set a varialble in octopus CI/CD from ansible output

I have an ansible project where I am running a shell script like shown below. I want to set a variable in octopus CI/CD from the output of that script. Can you please suggest how I can achieve this? This my current ansible code: #verifying expiry…
Ekta
  • 261
  • 1
  • 2
  • 11
0
votes
1 answer

trigger the jenkins job from octopus

I want to call the jenkins job(automated smoke suite) automatically from the octopus(deployment tool), once the deployment is successful. The simplest way of doing this I found is, to create a script that uses the Jenkins REST API to trigger the…