-
Bug
-
Resolution: Fixed
-
Low
-
6.6.0
-
3
-
Severity 3 - Minor
-
Summary
Elastic Image crons, created in the "Image Schedule" UI fail to trigger Elastic Image startup
Steps to Reproduce
- Configure Elastic Bamboo
- Configure an Elastic Image Schedule
- Let it run
Expected Results
Instance Starts at scheduled time
Actual Results
The below exception is thrown in the atlassian-bamboo.log file:
2018-07-26 17:50:00,113 INFO [scheduler_Worker-1] [ElasticFunctionalityFacadeImpl] Adjusting elastic agents with schedule: com.atlassian.bamboo.agent.elastic.schedule.ElasticInstanceScheduleImpl@5429cf[48758785,0 50 17 ? * *,com.atlassian.bamboo.agent.elastic.server.ElasticImageConfigurationImpl@810e8617,EQUALS,1,true] 2018-07-26 17:50:00,113 INFO [scheduler_Worker-1] [ElasticFunctionalityFacadeImpl] Starting up 1 of 'Ubuntu stock image' elastic instances 2018-07-26 17:50:00,123 ERROR [scheduler_Worker-1] [JobRunShell] Job ElasticInstanceSchedule.ElasticInstanceScheduleJob threw an unhandled Exception: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.atlassian.bamboo.agent.elastic.server.ElasticImageConfigurationImpl.startupScripts, could not initialize proxy - no Session ... 2018-07-26 17:50:00,178 ERROR [scheduler_Worker-1] [ErrorLogger] Job (ElasticInstanceSchedule.ElasticInstanceScheduleJob threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.atlassian.bamboo.agent.elastic.server.ElasticImageConfigurationImpl.startupScripts, could not initialize proxy - no Session] .... Caused by: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.atlassian.bamboo.agent.elastic.server.ElasticImageConfigurationImpl.startupScripts, could not initialize proxy - no Session ...
Workaround
There is no known workaround for this. Instances will need to be manually started.
- mentioned in
-
Page Failed to load
[BAM-20008] Scheduled Elastic Instance startup fails with Hibernate error
Workflow | Original: Bamboo Workflow 2016 v1 - Restricted [ 2749089 ] | New: JAC Bug Workflow v3 [ 3385890 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 410151 ] |
Symptom Severity | Original: Minor [ 14432 ] | New: Severity 3 - Minor [ 15832 ] |
Affects Version/s | Original: 6.6.1 [ 80799 ] |
Fix Version/s | New: 6.7.0 [ 80798 ] | |
Fix Version/s | New: 6.6.3 [ 81306 ] | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Support reference count | Original: 1 | New: 3 |
Labels | New: bamboo-bugfix-kanban-candidate da-warranty |
Occurrence Factor | New: 10% [ 12830 ] | |
Status | Original: Needs Triage [ 10030 ] | New: Open [ 1 ] |
Support reference count | New: 1 |
Affects Version/s | New: 6.6.1 [ 80799 ] |