fuel2 update don't validate value of --repos argument
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Denis Meltsaykin |
Bug Description
Detailed bug description:
fuel2 update command has --repos argument, where we describe repository for MU installing. This repo need to be taken from repos list described in cluster attributes. And fuel2 update don't validate - this repo exist or not. If we run command with --repos wrong_repo_name - cluster updating process will be started successfully and we got error only from puppet.
So need to add checker to fuel2 update, and retrive list of cluster repos, and check "if --repo repos in cluster_repo_list"
Steps to reproduce:
1)Any 9.0 env
2)update 9.0 master and prepare for update 9.0 env via official instruction
3) run "fuel2 update install --env {env_id} --repos wrong_repo --restart-rabbit --restart-mysql
Expected results:
Cannot find wrong_repo in your cluster repos
Actual result:
command successfully executed and deployment task started
Changed in fuel: | |
assignee: | Fuel Sustaining (fuel-sustaining-team) → Alex Ermolov (aermolov) |
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
assignee: | Alex Ermolov (aermolov) → Denis Meltsaykin (dmeltsaykin) |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: 9.0 /review. fuel-infra. org/29772
Change author: Denis V. Meltsaykin <email address hidden>
Review: https:/