Add excplicit repo connectivity checks for Ubuntu envs
Bug #1439686 reported by
Vyacheslav Struk
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Critical
|
Maciej Kwiek |
Bug Description
Ubuntu environments need an internet access to deploy successfully:
1) Admin network (fuel master acts as gateway)
2) Public network ("public gateway" at fuel settings acts as gateway)
We should check both and warn user if there is no internet connectivity via this networks.
OR
Check connection to all the repositories mentioned in fuel-ui.
Changed in fuel: | |
milestone: | none → 6.1 |
assignee: | nobody → Fuel Python Team (fuel-python) |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Maciej Kwiek (maciej-iai) |
Changed in fuel: | |
status: | Confirmed → In Progress |
Changed in fuel: | |
importance: | High → Critical |
summary: |
- Add excplicit internet connectivity checks for Ubuntu envs + Add excplicit repo connectivity checks for Ubuntu envs |
Changed in fuel: | |
assignee: | Dima Shulyak (dshulyak) → Maciej Kwiek (maciej-iai) |
Changed in fuel: | |
assignee: | Maciej Kwiek (maciej-iai) → Dima Shulyak (dshulyak) |
assignee: | Dima Shulyak (dshulyak) → Maciej Kwiek (maciej-iai) |
Changed in fuel: | |
assignee: | Maciej Kwiek (maciej-iai) → Dima Shulyak (dshulyak) |
assignee: | Dima Shulyak (dshulyak) → Maciej Kwiek (maciej-iai) |
Changed in fuel: | |
assignee: | Maciej Kwiek (maciej-iai) → Dima Shulyak (dshulyak) |
Changed in fuel: | |
assignee: | Dima Shulyak (dshulyak) → Maciej Kwiek (maciej-iai) |
tags: | added: tricky |
Changed in fuel: | |
assignee: | Maciej Kwiek (maciej-iai) → Dima Shulyak (dshulyak) |
Changed in fuel: | |
assignee: | Dima Shulyak (dshulyak) → Maciej Kwiek (maciej-iai) |
Changed in fuel: | |
assignee: | Maciej Kwiek (maciej-iai) → Dima Shulyak (dshulyak) |
Changed in fuel: | |
assignee: | Dima Shulyak (dshulyak) → Maciej Kwiek (maciej-iai) |
Changed in fuel: | |
assignee: | Maciej Kwiek (maciej-iai) → Dima Shulyak (dshulyak) |
Changed in fuel: | |
assignee: | Dima Shulyak (dshulyak) → Maciej Kwiek (maciej-iai) |
Changed in fuel: | |
assignee: | Maciej Kwiek (maciej-iai) → Dima Shulyak (dshulyak) |
Changed in fuel: | |
assignee: | Dima Shulyak (dshulyak) → Maciej Kwiek (maciej-iai) |
Changed in fuel: | |
assignee: | Maciej Kwiek (maciej-iai) → Dima Shulyak (dshulyak) |
Changed in fuel: | |
assignee: | Dima Shulyak (dshulyak) → Maciej Kwiek (maciej-iai) |
Changed in fuel: | |
assignee: | Maciej Kwiek (maciej-iai) → Dima Shulyak (dshulyak) |
Changed in fuel: | |
assignee: | Dima Shulyak (dshulyak) → Maciej Kwiek (maciej-iai) |
To post a comment you must log in.
Changes that are in progress: /review. openstack. org/#/c/ 172954/ (Astute change) /review. openstack. org/#/c/ 172953/ (fuel-web change)
https:/
https:/
The first one adds execute_shell action to astute. It allows nailgun to run arbitrary shell commands on slave nodes. The action in dispatcher.rb uses mcollective agent that was already available and used in Astute internally.
The second one adds new task, which calls execute_shell task in astute to check if wget is able to retrieve Release file from repositories configured in current cluster. If any one of them is unavailable then the task return exit code 1 and the task ends up in error state. kManager. check_before_ deployment method. The manager is waiting on a barrier, which is closed after receiverd process gets a response from astute. Then task status is checked and proceeds as before or fails deployment.
This task is called in ApplyChangesTas
TODO: check only ubuntu nodes (centos nodes don't need access to ubuntu repos). kManager.
TODO: think about way for deployment to not hang if astute fails to give a response (maybe retry the connectivity check).
TODO: fix tests broken by barrier called in ApplyChangesTas