-
Bug
-
Resolution: Done
-
Blocker
-
None
-
None
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
3scale 2019-09-09, 3scale 2019-09-30
Hi,
When trying to upgrade from 3scale 2.6 to master branches in the components, I observed the system-app pre-hook pod in OpenShift shows the following error that prevents system-app to start later:
== 20190716110520 CreateTheBackendApisOfServices: migrating ===================
-- Migrating proxies api_backend to slugs...
rake aborted!
StandardError: An error has occurred, all later migrations canceled:
undefined method `state=' for #<BackendApi:0x000000000a518ba0>
Did you mean? state?
/opt/system/vendor/bundle/ruby/2.4.0/gems/activemodel-4.2.11.1/lib/active_model/attribute_methods.rb:433:in `method_missing'
/opt/system/vendor/bundle/ruby/2.4.0/gems/state_machines-0.5.0/lib/state_machines/machine.rb:1078:in `write'
It seems to be a problem related to the migrations that the pre-hook pod applies.
- is related to
-
THREESCALE-3630 Automated procedure to hook requirement data migrations on system upgrade
- Closed
- relates to
-
THREESCALE-3709 Return the proper exit code for the manual rake tasks to upgrade from 2.6 to 2.7
- Closed