lp-delete-fixup-to-work-with-app
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Solum |
Fix Released
|
High
|
Devdatta Kulkarni |
Bug Description
In language_
https:/
With introduction of apps and workflows, there are 'dummy' plans created when deploying the app.
https:/
These plans don't have the 'raw_content' attribute on them.
So due to this the check being done in language_
There are several ways we can solve this.
1) Change the language_
2) Modify creation of the dummy plan to add the required attributes (raw_content). This is not preferred as we don't want to add functionality to something which we may not be using going forward.
3) Add checks in the language_
description: | updated |
Changed in solum: | |
assignee: | nobody → Devdatta (devdatta-kulkarni) |
importance: | Undecided → High |
Changed in solum: | |
status: | New → In Progress |
Changed in solum: | |
milestone: | none → 2015.1.2 |
Changed in solum: | |
milestone: | 2015.1.2 → 4.0.0 |
Changed in solum: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /review. openstack. org/225281 /git.openstack. org/cgit/ openstack/ solum/commit/ ?id=4d469df2d9b 292c9b013a043dd b12fe855877288
Committed: https:/
Submitter: Jenkins
Branch: master
commit 4d469df2d9b292c 9b013a043ddb12f e855877288
Author: Devdatta Kulkarni <email address hidden>
Date: Fri Sep 18 13:52:52 2015 -0500
Languagepack delete fixup to work with app
1) Modified language_ pack_handler' s delete method to accommodate
plans and that are created in the background as part
of app deployment invocations.
2) Added a check to ensure that languagepack is deleted only
if it not being used by any apps and any plans
3) Changed a exception wrapper on the language_ pack_controller 's
methods as it was obscuring the real error message and causing
a spurious exception line to be generated in the solum-api
log (Bug: 1498955)
Change-Id: Iaa71159f9af319 e4bab8cdee8d115 58a8ab00650
Closes-Bug: #1497414
Closes-Bug: #1498955