ironic: iSCSI connection not seen by file system

Bug #1613298 reported by Waldemar Znoinski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
High
Waldemar Znoinski
Mitaka
Won't Fix
High
Waldemar Znoinski

Bug Description

when trying to deploy an ironic node and iscsiadm discovery has finished, filesystem of the deployed node is not seen on the ironic_conductor side as expected at: https://github.com/openstack/ironic/blob/stable/mitaka/ironic/drivers/modules/deploy_utils.py#L143

reason for this is ironic_conductor doesn't have access to /dev from the host hence can't access the path:
/dev/disk/by-path/...

FIX seems to be giving ironic_conductor container 'rw' binding /dev:/dev

Revision history for this message
Waldemar Znoinski (wznoinsk) wrote :

Host:
 cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"
NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.1 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
UBUNTU_CODENAME=xenial

Linux silpixa00385229 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

ansible 1.9.5
  configured module search path = None

kolla stable/mitaka
Kolla globals:
config_strategy: "COPY_ALWAYS"
kolla_base_distro: "ubuntu"
kolla_install_type: "source"
openstack_release: "mitaka"
enable_haproxy: "no"
enable_keepalived: "no"
kolla_internal_vip_address: "10.237.222.18"
docker_registry: "192.168.100.1:4000"
network_interface: "eno1"
neutron_external_interface: "enp130s0f0"
enable_ironic: "yes"

Container:
 cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS"
NAME="Ubuntu"
VERSION="14.04.5 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.5 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

python --version
Python 2.7.6

Ironic:
driver: pxe_ipmitool

Changed in kolla:
assignee: nobody → Waldemar Znoinski (wznoinsk)
Ryan Hallisey (rthall14)
no longer affects: kolla/milestone-3
Changed in kolla:
milestone: none → newton-3
status: New → Triaged
importance: Undecided → High
Ryan Hallisey (rthall14)
Changed in kolla:
status: Triaged → Confirmed
Changed in kolla:
milestone: newton-3 → newton-rc1
Changed in kolla:
milestone: newton-rc1 → newton-rc2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

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

Changed in kolla:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla (master)

Change abandoned by Waldemar Znoinski (wznoinsk) (<email address hidden>) on branch: master
Review: https://review.openstack.org/372119
Reason: change included in https://review.openstack.org/#/c/379106/

Revision history for this message
Waldemar Znoinski (wznoinsk) wrote :

still seeing this today based on
commit b58147bcc0a98f694075b9593bffced1ab63bec0
Merge: 9413e4d dcd8dda
Author: Jenkins <email address hidden>
Date: Wed Oct 5 16:18:39 2016 +0000

    Merge "Heka template missing optional params"

+ https://review.openstack.org/#/c/381942/ applied

2016-10-12 20:26:15.624 7 ERROR ironic.drivers.modules.agent_base_vendor InstanceDeployFailure: Deploy failed for instance 8823b13a-0c1e-497b-89b3-51f8047b575f. Error: Unable to stat device /dev/disk/by-path/ip-192.168.202.13:
3260-iscsi-iqn.2008-10.org.openstack:1bf3934b-a3f4-e211-a2ef-001e67984a5c-lun-1-part1 after attempting to verify 3 times.

Steven Dake (sdake)
Changed in kolla:
milestone: newton-rc2 → ocata-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Waldemar Znoinski (<email address hidden>) on branch: master
Review: https://review.openstack.org/372119
Reason: this change is now included in https://review.openstack.org/#/c/379106/

Revision history for this message
Waldemar Znoinski (wznoinsk) wrote :
Changed in kolla:
status: In Progress → Fix Released
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.