Comments (10)
@varun0002 did you run the database migrations after upgrading the code from ivanchuk to jansa?
from manageiq-documentation.
I guess no, are there any steps published to do that?
from manageiq-documentation.
We will need to add upgrade steps for the various forms (in this case the monolithic docker image)...transferring this issue to manageiq-documentation
from manageiq-documentation.
@bdunne Do you have any steps for this?
from manageiq-documentation.
Any update on the steps to upgrade?
from manageiq-documentation.
Sorry @varun0002, no. The docker monolithic image is really meant for "trying out" ManageIQ and it is not expect to be used for production scenarios. Documentation for upgrade also implies that we need documentation for how to deploy with persistent database, and perhaps persistent certificates, and encryption keys. If you have any documentation for any of that, we would welcome a contribution!
from manageiq-documentation.
I don't have any steps for this. As you mentioned, it is meant for "trying out" ManageIQ. And I would expect a production deployment to use either pods or appliances. That being said, it should be possible if the important data (postgresql database, certs, GUID, etc.) is stored on persistent volumes.
from manageiq-documentation.
@Fryguy Yes, I am running this with persistent volumes (postgresql database, certs & GUID) and happy to contribute but couldn't find the file to update this information.
@bdunne I am running all managiq components in a container. I started following below document to migrate (though it talks about K8 & multiple containers). However, it's failing on step 7 with:
Error:
rake aborted!
URI::InvalidURIError: the scheme postgresql does not accept registry part: :@: (or bad hostname?)
/opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/connection_adapters/connection_specification.rb:40:in initialize' /opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/connection_adapters/connection_specification.rb:282:in
new'
/opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/connection_adapters/connection_specification.rb:282:in resolve_url_connection' /opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/connection_adapters/connection_specification.rb:270:in
resolve_hash_connection'
/opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/connection_adapters/connection_specification.rb:245:in resolve_connection' /opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/connection_adapters/connection_specification.rb:143:in
resolve'
/opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/connection_adapters/connection_specification.rb:163:in block in resolve_all' /opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/connection_adapters/connection_specification.rb:162:in
each'
/opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/connection_adapters/connection_specification.rb:162:in resolve_all' /opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/connection_handling.rb:72:in
resolve'
/opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/core.rb:54:in configurations=' /opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/core.rb:56:in
block in module:Core'
/opt/manageiq/manageiq-gemset/gems/activesupport-5.2.4.4/lib/active_support/concern.rb:122:in class_eval' /opt/manageiq/manageiq-gemset/gems/activesupport-5.2.4.4/lib/active_support/concern.rb:122:in
append_features'
/opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/base.rb:293:in include' /opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/base.rb:293:in
class:Base'
/opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/base.rb:277:in <module:ActiveRecord>' /opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/base.rb:27:in
<top (required)>'
/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-schema-a800fbb786e4/lib/reserve.rb:1:in require' /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-schema-a800fbb786e4/lib/reserve.rb:1:in
<top (required)>'
/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-schema-a800fbb786e4/lib/manageiq/schema.rb:11:in require' /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-schema-a800fbb786e4/lib/manageiq/schema.rb:11:in
<top (required)>'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/runtime.rb:88:in require' /opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/runtime.rb:88:in
rescue in block in require'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/runtime.rb:65:in block in require' /opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/runtime.rb:58:in
each'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/runtime.rb:58:in require' /opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler.rb:174:in
require'
/var/www/miq/vmdb/config/application.rb:31:in <top (required)>' /var/www/miq/vmdb/Rakefile:5:in
<top (required)>'
/opt/manageiq/manageiq-gemset/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
Caused by:
LoadError: cannot load such file -- manageiq-schema
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/runtime.rb:74:in require' /opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/runtime.rb:74:in
block (2 levels) in require'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/runtime.rb:69:in each' /opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/runtime.rb:69:in
block in require'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/runtime.rb:58:in each' /opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/runtime.rb:58:in
require'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler.rb:174:in require' /var/www/miq/vmdb/config/application.rb:31:in
<top (required)>'
/var/www/miq/vmdb/Rakefile:5:in <top (required)>' /opt/manageiq/manageiq-gemset/gems/rake-13.0.1/exe/rake:27:in
<top (required)>'
from manageiq-documentation.
The DATABASE_URL env var is built from other env vars, if i recall...I wonder if something is missing there. I've hit this manageiq-schema
error before when I've run a /bin/bash on a container and forgot to specify the DATABASE_URL env vars.
from manageiq-documentation.
I was able to upgrade it.
from manageiq-documentation.
Related Issues (20)
- Need to review/update HA Guide topic "Updating a Highly Available ManageIQ Environment" HOT 3
- Installing on OpenShift Container Platform topic is missing from TOC HOT 6
- Broken links in ManageIQ latest docs HOT 7
- [Lasker] Migration Path from Appliance to Podified
- [RFE] Provider Discovery via `nmap` HOT 1
- [DOC] Missing important guidance for SSO requirements regarding groups HOT 6
- Bad method name in 'methods available for automation' for Kasparov & Jansa HOT 2
- Update PowerVC & PowerVS Cloud Provider Capabilities Matrix HOT 2
- Update providers-overview HOT 3
- Extract service and ansible playbook information from talk article HOT 1
- Need to document create_from_git action on automate_domains API HOT 1
- Need to review and update HA Guide to align with current build process HOT 8
- Dead links in the documentation HOT 1
- Document how to add "additional" regions to providers that support that. HOT 3
- Automate Domain API git import is not documented HOT 3
- External Authentication Revamp HOT 2
- Broken URLs HOT 3
- Adding URL to link back to real doc site HOT 1
- Root-level docs are not rendering HOT 6
- Documentation restructuring HOT 3
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 manageiq-documentation.