[CLI] Can't delete component from deployed environment with one app
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Murano |
Fix Released
|
Low
|
Valerii Kovalchuk | ||
python-muranoclient |
Invalid
|
Low
|
Unassigned |
Bug Description
Steps to reproduce:
1. Prepare package with application (I used class from python-muranoclient repository from MockApp app)
2. Import application
3. Create environment
4. Create session
5. Add application to the environment (I used following object model:
obj_model = {
'op': 'add',
'path': '/-',
}
}
}
)
6. Deploy environment
7. Try to delete deployed application from env
8. Create new session
9. Update environment object model
obj_model = {
'op': 'remove',
'path': '/0'
}
Observed result:
Environment model was not updated:
400 Bad Request: The server could not comply with the request since it is either malformed or otherwise incorrect.: Request body is empty: please, provide application object model (HTTP 400)
stderr:
None
Note: if I add two applications to the environment and then after deploy try to delete one, it works
Changed in python-muranoclient: | |
assignee: | nobody → Kirill Zaitsev (kzaitsev) |
description: | updated |
Changed in python-muranoclient: | |
assignee: | Kirill Zaitsev (kzaitsev) → nobody |
Changed in python-muranoclient: | |
status: | New → Confirmed |
importance: | Undecided → Low |
milestone: | none → 0.9.0 |
Changed in python-muranoclient: | |
assignee: | nobody → Valerii Kovalchuk (vakovalchuk) |
Changed in python-muranoclient: | |
milestone: | 0.9.0 → 0.9.1 |
Changed in python-muranoclient: | |
milestone: | 0.10.0 → 0.10.1 |
Changed in python-muranoclient: | |
assignee: | Valerii Kovalchuk (vakovalchuk) → nobody |
milestone: | 0.11.0 → 0.12.0 |
Changed in python-muranoclient: | |
milestone: | 0.12.0 → 0.11.1 |
Changed in murano: | |
importance: | Undecided → Low |
Changed in murano: | |
milestone: | none → ocata-1 |
Changed in python-muranoclient: | |
status: | In Progress → Invalid |
Fix proposed to branch: master /review. openstack. org/324631
Review: https:/