Puppet script cannot handle the Debian package type properly

Bug #1512665 reported by Sergey Kolekonov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Won't Fix
Medium
Ivan Udovichenko
9.x
Fix Released
High
Ivan Udovichenko

Bug Description

Horizon package has been imported from Debian recently. It doesn't work with Fuel for multiple reasons:
- static collection is enabled by default in puppet-horizon module and in Fuel, but it doesn't work at all
- permission errors are observed in /var/log/apache2/error.log - http://paste.openstack.org/show/477843/

The issues can be reproduced on ISO #112 https://product-ci.infra.mirantis.net/job/8.0.all/112/

Changed in mos:
assignee: nobody → MOS Packaging Team (mos-packaging)
importance: Undecided → High
milestone: none → 8.0
status: New → Confirmed
description: updated
Revision history for this message
Mikhail Ivanov (mivanov) wrote :

Package was reverted with commit https://review.fuel-infra.org/#/c/13605/, so I think that we should close bug

Changed in mos:
status: Confirmed → Fix Committed
Revision history for this message
Thomas Goirand (thomas-goirand) wrote :

This bug shall not be closed. The problem is in Puppet, *NOT* in the package.

1/ The patch should never have been reverted. I discussed the mater already. I voted -1. The patch was still reverted

2/ The package, in its current form, is still full of issues, which are present in the Ubuntu package. It is unacceptable to keep the Horizon package in its' current state, so I will have the patch merged again.

3/ The package is synced from Debian, and we will continue to do so. If you think there's a problem in the Debian package, let's fix it there first.

4/ There's been some efforts upstream to fix the situation. The following commits from upstream puppet, should be merged to MOS instead. Here's the commits:

https://review.openstack.org/#/c/241615/ <--- Prepare os_package_type
https://review.openstack.org/#/c/241218/ <--- Fix the problem with the Horizon package

While the first one has already been merged, we shall add a manual fact in /etc/facter/facts.d/os_package_type.txt and put in it: os_package_type = debian

If we do what's above, then the problem is fixed once and for all, instead of going back and forth with commits, revert, commits. Please let's move forward with this. Do not close this bug until the resolution is done properly. Also, please change the title as: "Puppet script cannot handle the Debian package type properly".

Thanks for your attention.

Changed in mos:
status: Fix Committed → Confirmed
summary: - Horizon package is incompatible with Fuel
+ Puppet script cannot handle the Debian package type properly
Revision history for this message
Thomas Goirand (thomas-goirand) wrote :

FYI, the above Puppet Horizon patch has been merged. So the only thin we need to do is populate the os_package_type = debian.

Revision history for this message
Ivan Udovichenko (iudovichenko) wrote :

We're going to adopt Debian package according to MOS requirements, and drop Ubuntu version once transition is done. I hope 2 days will be enough for this process.

Changed in mos:
assignee: MOS Packaging Team (mos-packaging) → Ivan Udovichenko (iudovichenko)
Changed in mos:
status: Confirmed → In Progress
Revision history for this message
Ivan Udovichenko (iudovichenko) wrote :
Changed in mos:
milestone: 8.0 → 9.0
milestone: 9.0 → 8.0
status: In Progress → Won't Fix
Changed in mos:
importance: High → Medium
Revision history for this message
Igor Yozhikov (iyozhikov) wrote :

We switched back to Ubuntu source package until adaptation will be done, and behavior will be as expected from Ubuntu package.
User's experience should not get worse with this change.

Revision history for this message
Ivan Udovichenko (iudovichenko) wrote :
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack-build/horizon-build (openstack-ci/fuel-8.0/liberty)

Change abandoned by Ivan Udovichenko <email address hidden> on branch: openstack-ci/fuel-8.0/liberty
Review: https://review.fuel-infra.org/14825
Reason: Not required anymore.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.