ironic-conductor container missing iscsci_tcp module

Bug #1632677 reported by narasimha18sv
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Invalid
Undecided
Unassigned

Bug Description

while deploying a baremetal using ironic getting below error which explains missing of a module called iscsi_tcp. as per the internet sources this package should be there with ironic-initiater-utils but this package is present in ironic-conductor container.

(ironic-conductor)[root@node1/]# yum list installed | grep isc
iscsi-initiator-utils.x86_64 6.2.0.873-33.0.1.el7_2.2
iscsi-initiator-utils-iscsiuio.x86_64

http://paste.openstack.org/show/585446/

Revision history for this message
narasimha18sv (narasimha18sv) wrote :

this is issue from ironic-conductor which is unable to talk to iscsid container. when i execute the command which is failing in the log it is working from there.

Changed in kolla:
status: New → Invalid
Revision history for this message
Waldemar Znoinski (wznoinsk) wrote :

do you still see that issue? do you have any more details about environment/kolla you're deploying, host setup, container setup etc.

Revision history for this message
Mark Goddard (mgoddard) wrote :

I also see this issue. I'm using an 'interesting' environment, but I believe the issue is still valid.

OS: CentOS
Kolla release: Fork of Mitaka circa April 2016, back ported to deploy Kilo OpenStack(!)
Ironic release: kilo
Ironic driver: pxe_ssh

I believe that the key piece of information here is the driver. The deployment method used by the pxe_* drivers involves the conductor connecting via iSCSI to a target on the node being deployed. AFAIK this doesn't require the iscsid container to be running on the conductor node as it is an initiator rather than a target.

To make this work, I did the following on the conductor nodes:

$ modprobe iscsi_tcp

I also made the following change to the Dockerfile:

$ git diff
diff --git a/docker/ironic/ironic-conductor/Dockerfile.j2 b/docker/ironic/ironic-conductor/Dockerfile.j2
index cc39356..4590cdc 100644
--- a/docker/ironic/ironic-conductor/Dockerfile.j2
+++ b/docker/ironic/ironic-conductor/Dockerfile.j2
@@ -8,6 +8,7 @@ RUN yum -y install \
         openstack-ironic-conductor \
         gdisk \
         ipmitool \
+ iscsi-initiator-utils \
         parted \
         psmisc \

Revision history for this message
narasimha18sv (narasimha18sv) wrote : Re: [Bug 1632677] Re: ironic-conductor container missing iscsci_tcp module

By default iscsid container is being placed on compute node. If you are
trying to do all in one setup using multinode inventory this issue will
come.

If we can change iscsid container configuration that it gets installed in
controller node this will work.

I have changed little bit of code and it worked for me.

However with the trunk code will get this issue.

On 26 Oct 2016 2:01 p.m., "Mark Goddard" <email address hidden> wrote:

> I also see this issue. I'm using an 'interesting' environment, but I
> believe the issue is still valid.
>
> OS: CentOS
> Kolla release: Fork of Mitaka circa April 2016, back ported to deploy Kilo
> OpenStack(!)
> Ironic release: kilo
> Ironic driver: pxe_ssh
>
> I believe that the key piece of information here is the driver. The
> deployment method used by the pxe_* drivers involves the conductor
> connecting via iSCSI to a target on the node being deployed. AFAIK this
> doesn't require the iscsid container to be running on the conductor node
> as it is an initiator rather than a target.
>
> To make this work, I did the following on the conductor nodes:
>
> $ modprobe iscsi_tcp
>
> I also made the following change to the Dockerfile:
>
> $ git diff
> diff --git a/docker/ironic/ironic-conductor/Dockerfile.j2
> b/docker/ironic/ironic-conductor/Dockerfile.j2
> index cc39356..4590cdc 100644
> --- a/docker/ironic/ironic-conductor/Dockerfile.j2
> +++ b/docker/ironic/ironic-conductor/Dockerfile.j2
> @@ -8,6 +8,7 @@ RUN yum -y install \
> openstack-ironic-conductor \
> gdisk \
> ipmitool \
> + iscsi-initiator-utils \
> parted \
> psmisc \
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1632677
>
> Title:
> ironic-conductor container missing iscsci_tcp module
>
> Status in kolla:
> Invalid
>
> Bug description:
> while deploying a baremetal using ironic getting below error which
> explains missing of a module called iscsi_tcp. as per the internet
> sources this package should be there with ironic-initiater-utils but
> this package is present in ironic-conductor container.
>
>
> (ironic-conductor)[root@node1/]# yum list installed | grep isc
> iscsi-initiator-utils.x86_64 6.2.0.873-33.0.1.el7_2.2
> iscsi-initiator-utils-iscsiuio.x86_64
>
>
> http://paste.openstack.org/show/585446/
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/kolla/+bug/1632677/+subscriptions
>

Revision history for this message
Mark Goddard (mgoddard) wrote :

Sorry for the (very) slow reply. I've just hit this issue again on a kolla 3.0.1 install on RHEL 7.3. It's an all-in-one environment and the iscisd container is running on the same node. Once again, modprobe iscsi_tcp resolved the issue.

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.