ceph-osd deployment fails with loop devices

Bug #1834678 reported by Dincer Celik
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Medium
Dincer Celik
Train
Fix Released
Medium
Dincer Celik

Bug Description

    "stderr_lines": [
        "+ sudo -E kolla_set_configs",
        "INFO:__main__:Loading config file at /var/lib/kolla/config_files/config.json",
        "INFO:__main__:Validating config file",
        "INFO:__main__:Kolla config strategy set to: COPY_ALWAYS",
        "INFO:__main__:Copying service configuration files",
        "INFO:__main__:Copying /var/lib/kolla/config_files/ceph.conf to /etc/ceph/ceph.conf",
        "INFO:__main__:Setting permission for /etc/ceph/ceph.conf",
        "INFO:__main__:Copying /var/lib/kolla/config_files/ceph.client.admin.keyring to /etc/ceph/ceph.client.admin.keyring",
        "INFO:__main__:Setting permission for /etc/ceph/ceph.client.admin.keyring",
        "INFO:__main__:Writing out command to execute",
        "++ cat /run_command",
        "+ CMD='/usr/bin/ceph-osd -f --public-addr 10.250.129.3 --cluster-addr 10.250.130.3'",
        "+ ARGS=",
        "+ [[ ! -n '' ]]",
        "+ . kolla_extend_start",
        "++ [[ ! -d /var/log/kolla/ceph ]]",
        "+++ stat -c %a /var/log/kolla/ceph",
        "++ [[ 2755 != \\7\\5\\5 ]]",
        "++ chmod 755 /var/log/kolla/ceph",
        "++ [[ -n 0 ]]",
        "++ CEPH_JOURNAL_TYPE_CODE=45B0969E-9B03-4F30-B4C6-B4B80CEFF106",
        "++ CEPH_OSD_TYPE_CODE=4FBD7E29-9D25-41B8-AFD0-062C0CEFF05D",
        "++ CEPH_OSD_BS_WAL_TYPE_CODE=0FC63DAF-8483-4772-8E79-3D69D8477DE4",
        "++ CEPH_OSD_BS_DB_TYPE_CODE=CE8DF73C-B89D-45B0-AD98-D45332906d90",
        "++ ceph quorum_status",
        "++ [[ False == \\F\\a\\l\\s\\e ]]",
        "++ [[ bluestore == \\b\\l\\u\\e\\s\\t\\o\\r\\e ]]",
        "++ [[ /dev/loop4 =~ /dev/loop ]]",
        "++ sgdisk --zap-all -- /dev/loop4p1",
        "++ '[' -n '' ']'",
        "++ sgdisk --zap-all -- /dev/loop4",
        "++ sgdisk --new=1:0:+100M --mbrtogpt -- /dev/loop4",
        "++ sgdisk --largest-new=2 --mbrtogpt -- /dev/loop4",
        "++ partprobe",
        "++ true",
        "++ sgdisk --zap-all -- /dev/loop42",
        "Problem opening /dev/loop42 for reading! Error is 2.",
        "The specified file does not exist!",
        "Problem opening '' for writing! Program will now terminate.",
        "Warning! MBR not overwritten! Error is 2!"
    ]

Changed in kolla:
assignee: nobody → Dincer Celik (osmanlicilegi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.opendev.org/668222

Changed in kolla:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/668286

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/668291

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

Reviewed: https://review.opendev.org/668222
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=f5ac80e332c2a057ee68d95983492bc7e1156b9a
Submitter: Zuul
Branch: master

commit f5ac80e332c2a057ee68d95983492bc7e1156b9a
Author: Dincer Celik <email address hidden>
Date: Fri Jun 28 21:00:18 2019 +0300

    Fixes ceph-osd deploys with loop devices.

    Change-Id: I98405e3fb32cbec2d9863817a913ed71c5597e15
    Closes-Bug: #1834678

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/stein)

Reviewed: https://review.opendev.org/668291
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=e930fb35ac603a148eb8fabd8684052d9c63e5f6
Submitter: Zuul
Branch: stable/stein

commit e930fb35ac603a148eb8fabd8684052d9c63e5f6
Author: Dincer Celik <email address hidden>
Date: Fri Jun 28 21:00:18 2019 +0300

    Fixes ceph-osd deploys with loop devices.

    Change-Id: I98405e3fb32cbec2d9863817a913ed71c5597e15
    Closes-Bug: #1834678
    (cherry picked from commit f5ac80e332c2a057ee68d95983492bc7e1156b9a)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 8.0.0.0rc2

This issue was fixed in the openstack/kolla 8.0.0.0rc2 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/rocky)

Reviewed: https://review.opendev.org/668286
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=b9d53dacad1bcf39a84d73a32be5db620e7691cb
Submitter: Zuul
Branch: stable/rocky

commit b9d53dacad1bcf39a84d73a32be5db620e7691cb
Author: Dincer Celik <email address hidden>
Date: Fri Jun 28 21:00:18 2019 +0300

    Fixes ceph-osd deploys with loop devices.

    Depends-On: https://review.opendev.org/672775
    Change-Id: I98405e3fb32cbec2d9863817a913ed71c5597e15
    Closes-Bug: #1834678
    (cherry picked from commit f5ac80e332c2a057ee68d95983492bc7e1156b9a)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 7.0.4

This issue was fixed in the openstack/kolla 7.0.4 release.

Mark Goddard (mgoddard)
Changed in kolla:
milestone: none → 9.0.0
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 9.0.0.0rc1

This issue was fixed in the openstack/kolla 9.0.0.0rc1 release candidate.

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.