Comment 4 for bug 1632677

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
>