createrepo fails to update repo settings via REST API
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Vitaly Parakhin |
Bug Description
Build #461
Steps to repro:
1) change password via UI
2) change password in /etc/fuel/
3) create new ubuntu env
4) run fuel-createmirror. It will have:
....
* INFO: Done
* INFO: MOS mirror was created at: /var/www/
* INFO: Attempting to add created repositories to Nailgun...
* INFO: Failed to add repositories for environment id=1 to Nailgun, please add them MANUALLY
* INFO: Created repositories were set as defaults for new environments
* INFO: In order to setup these repositories MANUALLY, you should
go to Fuel UI, choose your cluster and go to the 'Settings' tab
Replace the URI value for the following repositories:
Repository "mos6.1-updates" URI="deb http://
Repository "mos6.1-security" URI="deb http://
Repository "mos6.1-holdback" URI="deb http://
* INFO: Ubuntu partial mirror was created at: /var/www/
* INFO: Attempting to add created repositories to Nailgun...
* INFO: Failed to add repositories for environment id=1 to Nailgun, please add them MANUALLY
* INFO: Created repositories were set as defaults for new environments
* INFO: In order to setup these repositories MANUALLY, you should
go to Fuel UI, choose your cluster and go to the 'Settings' tab
REMOVE all repositories named "ubuntu-*" and change URI for the following one:
Repository "ubuntu" new URI="deb http://
Expected:
* Script will use /etc/fuel/
* If it doesn't, it should fail right away and show error message, and what exactly doesn't work. Currently it says "failed to add repos" but doesn't explain why. It is not even clear, if it was authz issue or any other.
Changed in fuel: | |
assignee: | nobody → Vitaly Parakhin (vparakhin) |
Changed in fuel: | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in fuel: | |
status: | In Progress → Fix Committed |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
/etc/fuel/ client/ config. yaml is deprecated and will be removed. Do not use it.