Could not find the service "environment" in the DI container

8 views
Skip to first unread message

Steffen

unread,
Nov 29, 2016, 4:11:21 AM11/29/16
to scalr-discuss
Hi,

we just updated to 5.11.22 from an earlier version and its not possible to create any snapshots. Either EC2 or Openstack is not working.

AWS:
Nov 29, 2016 10:07:25
Snapshot creation failed. Reason: Could not find the service "environment" in the DI container.. Bundle task status changed to: failed
Message: Snapshot creation failed. Reason: Could not find the service "environment" in the DI container.. Bundle task status changed to: failed

Nov 29, 2016 10:07:04
Bundle task status: pending
Message: Bundle task status: pending

Nov 29, 2016 10:07:04
Bundle task created. ServerID: 3b755c60-0684-4dff-8564-7fb28ed2b3c7, FarmID: 47, Platform: ec2.
Message: Bundle task created. ServerID: 3b755c60-0684-4dff-8564-7fb28ed2b3c7, FarmID: 47, Platform: ec2.

Openstack Mitaka:
Nov 29, 2016 10:05:25
Snapshot creation failed. Reason: Could not find the service "environment" in the DI container.. Bundle task status changed to: failed
Message: Snapshot creation failed. Reason: Could not find the service "environment" in the DI container.. Bundle task status changed to: failed

Nov 29, 2016 10:05:25
Prepare result: {"os":{"arch":"x86_64","version":"Ubuntu 14.04 trusty","string_version":"Linux ubuntu 3.19.0-66-generic #74~14.04.1-Ubuntu SMP Tue Jul 19 19:56:11 UTC 2016 x86_64 x86_64"},"dist":{"distributor":"ubuntu","release":"14.04","codename":"trusty"}}
Message: Prepare result: {"os":{"arch":"x86_64","version":"Ubuntu 14.04 trusty","string_version":"Linux ubuntu 3.19.0-66-generic #74~14.04.1-Ubuntu SMP Tue Jul 19 19:56:11 UTC 2016 x86_64 x86_64"},"dist":{"distributor":"ubuntu","release":"14.04","codename":"trusty"}}

Nov 29, 2016 10:05:25
Sending 'prepare' command to scalarizr
Message: Sending 'prepare' command to scalarizr

Nov 29, 2016 10:05:25
Selected platform snapshot type: ostack.linux
Message: Selected platform snapshot type: ostack.linux

Nov 29, 2016 10:05:03
Bundle task status: pending
Message: Bundle task status: pending

Nov 29, 2016 10:05:03
Bundle task created. ServerID: 352c5307-0676-4756-be71-d24383349493, FarmID: 330, Platform: openstack.
Message: Bundle task created. ServerID: 352c5307-0676-4756-be71-d24383349493, FarmID: 330, Platform: openstack.

Any idea what the DI container is? 

Thanks

Steffen

Steffen

unread,
Nov 29, 2016, 4:47:10 AM11/29/16
to scalr-discuss
Okay a /opt/scalr-server/bin/scalr-server-ctl reconfigure solved that problem.

Marc O'Brien

unread,
Nov 30, 2016, 1:51:30 PM11/30/16
to scalr-discuss
Hi Steffen,

Very glad to hear that the reconfigure resolved this for you.  Reconfigure must be run after all updates and after any changes to scalr-server.rb.

By the way, welcome to the Scalr Open Source community! We're excited to have you join us.  Please feel free to post any issues or questions you have moving forward and we will do our best to lend a hand.

Cheers,
Wm. Marc O'Brien
Scalr Technical Support
Reply all
Reply to author
Forward
0 new messages