Error 'ascii' codec can't decode in introspection nodes overcloud

Bug #1558467 reported by Juan Manuel Torres on 2016-03-17
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Undecided
Unassigned

Bug Description

I use CentOS 7 for undercloud.
I execute "openstack baremetal introspection bulk start" for introspection in two nodes in KVM. I use images from https://repos.fedorapeople.org/repos/openstack-m/rdo-images-centos-liberty-opnfv/

[stack@undercloud ~]$ openstack baremetal introspection bulk start
Setting nodes for introspection to manageable...
Starting introspection of node: 7b189f90-28c8-4f71-9b58-815c171fffc2
Starting introspection of node: 7884c7cb-acd3-438c-a03b-e3ef124cca6e
Waiting for introspection to finish...
Introspection for UUID 7b189f90-28c8-4f71-9b58-815c171fffc2 finished with error: Preprocessing hook ramdisk_error: Ramdisk reported error: The following errors were encountered:
* failed to run hardware-detect utility: [Errno 2] No such file or directory
* collector logs failed: 'ascii' codec can't decode byte 0xe2 in position 242: ordinal not in range(128)
Introspection for UUID 7884c7cb-acd3-438c-a03b-e3ef124cca6e finished with error: Preprocessing hook ramdisk_error: Ramdisk reported error: The following errors were encountered:
* failed to run hardware-detect utility: [Errno 2] No such file or directory
* collector logs failed: 'ascii' codec can't decode byte 0xe2 in position 242: ordinal not in range(128)
Setting manageable nodes to available...
Introspection completed with errors:
7b189f90-28c8-4f71-9b58-815c171fffc2: Preprocessing hook ramdisk_error: Ramdisk reported error: The following errors were encountered:
* failed to run hardware-detect utility: [Errno 2] No such file or directory
* collector logs failed: 'ascii' codec can't decode byte 0xe2 in position 242: ordinal not in range(128)
7884c7cb-acd3-438c-a03b-e3ef124cca6e: Preprocessing hook ramdisk_error: Ramdisk reported error: The following errors were encountered:
* failed to run hardware-detect utility: [Errno 2] No such file or directory
* collector logs failed: 'ascii' codec can't decode byte 0xe2 in position 242: ordinal not in range(128)

At the nodes of the following trace error.
Lines: https://github.com/openstack/ironic-python-agent/blob/master/ironic_python_agent/inspector.py#L296,L318

description: updated

Error in node.

Dmitry Tantsur (divius) wrote :

Hi!

You have 2 errors, and there seems to be something wrong with the images you use.

First, failed to run hardware-detect utility: [Errno 2] No such file or directory: there was a change to install the "python-hardware-detect" package, your images were not updated since then.

Second, the bug about encodings was fixed in ironic-python-agent 1.0.1 which was released on 2016-01-11. Your images are from 2016-01-07 and probably don't have the fix.

Could you please try with more recent images?

Changed in tripleo:
status: New → Incomplete

Thx for you andswer, when I have time again will deploy the stage.

John Trowbridge (trown) wrote :

@Juan,

Could you also tell us how you found https://repos.fedorapeople.org/repos/openstack-m/rdo-images-centos-liberty-opnfv/ ? Those images were put there solely to help opnfv apex team, and I plan to remove them. However, if they are linked in some document, I would like to update it first.

I need reinstall undercloud? I build images of new and no generate complety? (images3)

[stack@undercloud ~]$ tree images*

images
├── deploy-ramdisk-ironic.d
│   └── dib-manifests
│   ├── dib_arguments
│   ├── dib-element-manifest
│   └── dib_environment
├── deploy-ramdisk-ironic.initramfs
├── deploy-ramdisk-ironic.kernel
├── dib-agent-ramdisk.log
├── dib-deploy.log
├── dib-overcloud-full.log
├── fedora-user.qcow2
├── ironic-python-agent.initramfs
├── ironic-python-agent.kernel
├── overcloud-full.d
│   └── dib-manifests
│   ├── dib_arguments
│   ├── dib-element-manifest
│   ├── dib_environment
│   └── dib-manifests-pip
├── overcloud-full.initrd
├── overcloud-full.qcow2
└── overcloud-full.vmlinuz

images2
├── deploy-ramdisk-ironic.initramfs
├── deploy-ramdisk-ironic.kernel
├── ironic-python-agent.initramfs
├── ironic-python-agent.kernel
├── overcloud-full.initrd
├── overcloud-full.qcow2
├── overcloud-full.vmlinuz
└── undercloud.qcow2

images3
├── dib-agent-ramdisk.log
├── dib-deploy.log
├── dib-overcloud-full.log
└── fedora-user.qcow2

@Trown

I found it by searching in Google this error

Command: openstack overcloud image build --all

Error: Required file "ironic-python-agent.initramfs" does not exist.

Dmitry Tantsur (divius) wrote :

I think you'd better use images from https://ci.centos.org/artifacts/rdo/images/ (pick your release).

Launchpad Janitor (janitor) wrote :

[Expired for tripleo because there has been no activity for 60 days.]

Changed in tripleo:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers