[library] Zabbix provision fails, os group allocated on more than one disc

Bug #1341691 reported by Shaun OMeara
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Dima Shulyak

Bug Description

Output of api/version:

{"ostf_sha": "9863db951a6e159f4fa6e6861c8331e1af069cf8", "auth_required": false, "api": "1.0", "nailgun_sha": "4f6463133145d4d65eeb7d51aedf4641a93c04e0", "production": "docker", "fuelmain_sha": "090d046cf7261fe5ed4305c7c6b615c03761cb8d", "astute_sha": "18a6861ecf96e20ead17782ef4ea8d62e7449c14", "feature_groups": ["experimental"], "release": "5.1", "fuellib_sha": "fc4824e17489ceaa1854d3e3ab2336dafa8e8710"}

Operating System : Ubuntu
Reference Architecture: HA
Network model: Neutron+GRE

Result:
1. Install fails looking for repo, attempts to use Ubuntu public Repo not Fuel master repo
2. Install request local username and password
3. Install requests guided partitioning

Reproduce:

Assigned the Zabbix profile to a node left all other settings default.

Workaround:
Attach to node console:
1. Allow node direct access to the Ubuntu Repositories
2. Assign a username and password
3. Select partitioning manually

Impact:
Fuel waits indefinitely for Zabbix server install to complete the Ubuntu install

Changed in fuel:
importance: Undecided → Medium
assignee: nobody → Fuel Library Team (fuel-library)
milestone: none → 5.1
Dmitry Ilyin (idv1985)
summary: - Zabbix install doesn't use Fuel Master Repo
+ [library] Zabbix install doesn't use Fuel Master Repo
Changed in fuel:
importance: Medium → High
Dima Shulyak (dshulyak)
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Dima Shulyak (dshulyak)
Revision history for this message
Dima Shulyak (dshulyak) wrote : Re: [library] Zabbix install doesn't use Fuel Master Repo

Error on provisioning stage

Revision history for this message
Dima Shulyak (dshulyak) wrote :

# File "cheetah_DynamicallyCompiledCheetahTemplate_1406542368_75_35354.py", line 108, in respond
#
# File "/usr/lib/python2.6/site-packages/cobbler/pmanager.py", line 521, in __init__
# self.validate()
#
# File "/usr/lib/python2.6/site-packages/cobbler/pmanager.py", line 542, in validate
# raise Exception("OS volume group must be located on one disk")

The problem is in default allocation

Dima Shulyak (dshulyak)
summary: - [library] Zabbix install doesn't use Fuel Master Repo
+ [library] Zabbix provision fails, os group allocated on more than one
+ disc
Dima Shulyak (dshulyak)
Changed in fuel:
status: New → Confirmed
Revision history for this message
Dima Shulyak (dshulyak) wrote :

The problem here is that we are choosing default allocation strategy for zabbix as os - all.
Which results in broken provisioning on ubuntu.
We need to introudce additiona vg in nailgun, probably /var, and allocate only min to os.

Changed in fuel:
assignee: Dima Shulyak (dshulyak) → Fuel Python Team (fuel-python)
Dima Shulyak (dshulyak)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Dima Shulyak (dshulyak)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/110095

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/111289

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

Reviewed: https://review.openstack.org/111289
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=b36ee0d47cb387e63709015cca17d81fc0c70003
Submitter: Jenkins
Branch: master

commit b36ee0d47cb387e63709015cca17d81fc0c70003
Author: Dima Shulyak <email address hidden>
Date: Fri Aug 1 16:54:32 2014 +0300

    Use mysql-server-wsrep package for zabbix

    The issue with mysql-server - it doesnot do mysql
    install when /var/lib/mysql is present
    it is fixed in mysql-server-wsrep

    Related patch: I2869a7ab341b7069a3b9d943cff9680ea5bf0439

    Change-Id: I3199071295a184d2e9f9861f2e5024580cac78ae
    Partial-Bug: 1341691
    Related-Bug: 1334588

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/110095
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=73c4b20c99c25e1296e6c284ca98cf1337052fe2
Submitter: Jenkins
Branch: master

commit 73c4b20c99c25e1296e6c284ca98cf1337052fe2
Author: Dima Shulyak <email address hidden>
Date: Mon Jul 28 22:23:05 2014 +0300

    Change allocation strategy for zabbix-server

    If user will use zabbix-server on node with more than one
    hard disk, and ubuntu os, it will lead to errors on provsion
    stage for the server

    Mounting /var partition on ubuntu will lead to errors
    cause there is no os volume group on ubuntu

    - add /var/lib/mysql partition, will grow most of all,
      because zabbix is using mysql for storing stats
    - change os vg to use min allocator

    Change-Id: I2869a7ab341b7069a3b9d943cff9680ea5bf0439
    Closes-Bug: 1341691

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #408
"build_id": "2014-08-07_02-01-17",
"ostf_sha": "e33390c275e225d648b36997460dc29b1a3c20ae",
"build_number": "408",
"auth_required": true,
"api": "1.0",
"nailgun_sha": "67c4f1c18ab0833175f6dc7f0f9c49c3eb722287",
"production": "docker",
"fuelmain_sha": "7b2e7ef083f239bd47b5c47aecb1f815c009521f",
"astute_sha": "b52910642d6de941444901b0f20e95ebbcb2b2e9",
"feature_groups": ["mirantis"],
"release": "5.1",
"fuellib_sha": "53633cd9bb149f6c1b9d5ee8321efc85c71cee68"

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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