Backport logrotate changes to 6.0

Bug #1472179 reported by Bartłomiej Piotrowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Bartłomiej Piotrowski

Bug Description

In 6.1 and master many fixes were introduced to logrotate configuration. As it was dealt with across multiple bug reports, it makes more sense to track backport progress here.

Major patches:
https://review.openstack.org/#/c/187910/
https://review.openstack.org/#/c/180892/
https://review.openstack.org/#/c/175271/

description: updated
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/6.0)

Fix proposed to branch: stable/6.0
Review: https://review.openstack.org/199026

Revision history for this message
OSCI Robot (oscirobot) wrote :

NOTE: Changeset is not merged, created temporary package repository.
RPM package fuel-library6.0 has been built for project stackforge/fuel-library.
Files placed in repository:
fuel-ha-utils6.0-6.0.0-6202.2.gerrit199026.1.gitcf13078.noarch.rpm
fuel-library6.0-6.0.0-6202.2.gerrit199026.1.gitcf13078.noarch.rpm
Repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.0-updates-stable-LP1472179/centos .

Revision history for this message
OSCI Robot (oscirobot) wrote :

NOTE: Changeset is not merged, created temporary package repository.
DEB package fuel-library has been built for project stackforge/fuel-library.
Files placed in repository:
fuel-ha-utils6.0_6.0.0-6202.2.gerrit199026.1.gitcf13078_all.deb
fuel-library6.0_6.0.0-6202.2.gerrit199026.1.gitcf13078_all.deb
Repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0-updates-stable-LP1472179/ubuntu .

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/6.0)

Reviewed: https://review.openstack.org/199026
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=cf13078c4fe492ea13a6698b8ed765bc1a2cdb82
Submitter: Jenkins
Branch: stable/6.0

commit cf13078c4fe492ea13a6698b8ed765bc1a2cdb82
Author: Bartłomiej Piotrowski <email address hidden>
Date: Tue Jul 7 11:12:53 2015 +0200

    Backport logrotate changes from 6.1

    * use tabooext to ensure no overlap between Fuel's cron job and the
      system one
    * run logrotate twice an hour
    * merge weekly and daily configuration files
    * rotate logs basing on two criteria: age and size
    * use dateformat to make rotated logs' filename more readable
    * enable delayed compression to avoid race condition between
      fuel-logrotate and regular logrotate
    * combine CentOS and Ubuntu logrotate wrappers to a single file

    Related-Bug: 1382515
    Related-Bug: 1450039
    Related-Bug: 1461400
    Closes-Bug: 1472179
    Change-Id: I58caf3c93943af818a03e07d534ff8c42a63d2cb

Revision history for this message
OSCI Robot (oscirobot) wrote :

Changeset merged. Package placed on primary repository.
RPM package fuel-library6.0 has been built for project stackforge/fuel-library.
Files placed in repository:
fuel-ha-utils6.0-6.0.0-6202.1.noarch.rpm
fuel-library6.0-6.0.0-6202.1.noarch.rpm
Repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.0-updates-stable/centos .

Revision history for this message
OSCI Robot (oscirobot) wrote :

Changeset merged. Package placed on primary repository.
DEB package fuel-library has been built for project stackforge/fuel-library.
Files placed in repository:
fuel-ha-utils6.0_6.0.0-6202.1_all.deb
fuel-library6.0_6.0.0-6202.1_all.deb
Repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0-updates-stable/ubuntu .

Changed in fuel:
status: Triaged → Fix Committed
Revision history for this message
Denis Klepikov (dklepikov) wrote :

# cat /etc/fuel/version.yaml
VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.0"
  api: "1.0"
  build_number: "58"
  build_id: "2014-12-26_14-25-46"
  astute_sha: "16b252d93be6aaa73030b8100cf8c5ca6a970a91"
  fuellib_sha: "fde8ba5e11a1acaf819d402c645c731af450aff0"
  ostf_sha: "a9afb68710d809570460c29d6c3293219d3624d4"
  nailgun_sha: "5f91157daa6798ff522ca9f6d34e7e135f150a90"
  fuelmain_sha: "81d38d6f2903b5a8b4bee79ca45a54b76c1361b8"

Applied patch https://review.openstack.org/199026
After this fuel can not deploy cluster.
2015-08-26T09:52:40 debug: [424] 6a346667-ac48-4dfb-b87a-659af14081c5: cmd: . /root/openrc && /usr/bin/glance image-list
                                               stdout:.
                                               stderr: sh: 1: .: Can't open /root/openrc
Networks on controller are not configured too
[root@fuel-lab-cz5564 ~]# fuel nodes
id | status | name | cluster | ip | mac | roles | pending_roles | online | group_id
---|-------------|------------------|---------|---------------|-------------------|-------------------|---------------|--------|---------
21 | error | Untitled (be:60) | 5 | 172.16.37.136 | 00:25:90:23:be:60 | mongo | | True | 5
24 | provisioned | Untitled (ae:ce) | 5 | 172.16.37.138 | 00:30:48:bc:ae:ce | compute | | True | 5
22 | provisioned | Untitled (c9:1e) | 5 | 172.16.37.134 | 00:25:90:52:c9:1e | ceph-osd, compute | | True | 5
20 | error | Untitled (b0:34) | 5 | 172.16.37.137 | 00:25:90:70:b0:34 | controller | | True | 5
23 | provisioned | Untitled (48:f6) | 5 | 172.16.37.135 | 00:25:90:7d:48:f6 | ceph-osd, compute | | True | 5
root@node-20:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:25:90:70:b0:34
          inet addr:172.16.37.137 Bcast:172.16.37.191 Mask:255.255.255.192
          inet6 addr: fe80::225:90ff:fe70:b034/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:6063 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2678 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8181770 (8.1 MB) TX bytes:376237 (376.2 KB)
          Interrupt:16 Memory:dfa00000-dfa20000

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:65536 Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:384 (384.0 B) TX bytes:384 (384.0 B)

Revision history for this message
Denis Klepikov (dklepikov) wrote :

Cluster config:
Ubuntu, neutron+vlan
non-ha with ceilometer

Nodes:
1 controller
1 compute
1 compute+ceph-osd
1 ceph-osd
1 mongo

ceph for cinder, glance default
public IP on all nodes

Changed in fuel:
milestone: 6.0-updates → 6.0.1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/5.1)

Fix proposed to branch: stable/5.1
Review: https://review.openstack.org/263639

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (stable/5.1)

Change abandoned by Tony Breeds (<email address hidden>) on branch: stable/5.1
Review: https://review.openstack.org/263639
Reason: This branch (stable/5.1) is at End Of Life

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.