fuel-agent has generic names for files in /usr/bin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Confirmed
|
Medium
|
Artem Silenkov | ||
Mitaka |
Won't Fix
|
Medium
|
Artem Silenkov | ||
Newton |
Confirmed
|
Medium
|
Artem Silenkov |
Bug Description
The file in contrib/
/usr/bin/
Please rename it the same way upstream.
The same way, we have contrib/
/usr/bin/
Finally, in the main python code of fuel-agent, we have /usr/bin/provision. Please rename it as:
/usr/bin/
I am well aware that what I have produced in Debian may not work (yet) because of these filename changes, as I did fix the internal code of fuel-agent about a year ago as a Debian patch. It is my hope though, that this will be fixed upstream the way I am suggesting.
Changed in fuel: | |
milestone: | none → 9.0 |
assignee: | nobody → Fuel build team (fuel-build) |
importance: | Undecided → Medium |
status: | New → Confirmed |
tags: | added: area-build bootstrap |
Changed in fuel: | |
assignee: | MOS Packaging Team (mos-packaging) → Artem Silenkov (asilenkov) |
Changed in fuel: | |
status: | New → Confirmed |
tags: | added: area-packaging |
Ah, now I remember! :)
So, only fix-configs- on-startup references send2syslog.py, so it's easy to fix. Then, instead of writing an rc.local (boooooo... ugly...), I just wrote an init script which calls /usr/bin/ fa_fix- configs- on-startup. This has the same effect, but it can be packaged in a Debian policy compliant way.
Many files under contrib/ fuel_bootstrap/ files/trusty/ etc are hardly package-able by the way. For example, contrib/ fuel_bootstrap/ files/trusty/ etc/hostname can't be done this way. Instead, the hostname shall be fixed when preparing the image. Files like contrib/ fuel_bootstrap/ files/trusty/ etc/modules belong to other packages (kmod in this case) and can't be replaced in this way.
So, just installing fuel-agent wont be enough for preparing the image, which is a shame. We should find some better way than just dropping files from contrib/ fuel_bootstrap/ files/trusty in the bootstrap image. Suggestions welcome.