ironic-conductor: Failed to install a bootloader when deploying node

Bug #1637759 reported by Waldemar Znoinski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Expired
Undecided
Unassigned

Bug Description

---
config_strategy: "COPY_ALWAYS"
kolla_base_distro: "ubuntu"
kolla_install_type: "source"
openstack_release: "mitaka"
enable_haproxy: "no" # TODO(wznoinsk): enable when have 1 more ethernet port of the server connected to 1GB switch
enable_keepalived: "no"
kolla_internal_vip_address: "10.237.214.199"
docker_registry: "127.0.0.1:4000"
network_interface: "ens3"
neutron_external_interface: "ens8"
enable_cinder: "no"
enable_ironic: "yes"

kolla mitaka

trying to deploy ironic node with pxe_ipmitool driver and boot:local on the flavor/node

ironic-conductor
2016-10-29 18:20:42.483 1 ERROR ironic.drivers.modules.agent_base_vendor [req-ae36e95b-6e34-4c48-83ae-59a78658d364 - - - - -] Failed to install a bootloader when deploying node 117bfb02-94cb-e211-a9dc-001e678eef62. Error: {u'message': u'Command execution failed: Installing GRUB2 boot loader to device /dev/sda failed with Unexpected error while running command.\nCommand: chroot /tmp/tmp_71ZeN /bin/bash -c "/usr/sbin/grub-install /dev/sda"\nExit code: 127\nStdout: u\'\'\nStderr: u\'/bin/bash: /usr/sbin/grub-install: No such file or directory\\n\'.', u'code': 500, u'type': u'CommandExecutionError', u'details': u'Installing GRUB2 boot loader to device /dev/sda failed with Unexpected error while running command.\nCommand: chroot /tmp/tmp_71ZeN /bin/bash -c "/usr/sbin/grub-install /dev/sda"\nExit code: 127\nStdout: u\'\'\nStderr: u\'/bin/bash: /usr/sbin/grub-install: No such file or directory\\n\'.'}

possibly grub2 needs to be installed in the ironic-conductor package

Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :

hmm, ironic in mitaka may be not usable. Do u have any chance to try newton branch? it should work.

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

I actually have an ironic in production based on mitaka and trusty in containers (with all the fixes later submitted and merged in mitaka and newton)

I do have boot_option:local working now tho, I think (long shot) it was a problem with the image as I was using a non-tested one back then, it's working now with trusty as deploy image + xenial as user image

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

+ installing grub in ironic_conductor

not sure whether we should back port firx for this to mitaka/newton at all tho

Changed in kolla:
status: New → Triaged
importance: Undecided → High
Changed in kolla:
milestone: none → ocata-3
Changed in kolla:
milestone: ocata-3 → ocata-rc1
Changed in kolla:
milestone: ocata-rc1 → pike-1
Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :

I think you can push a fix to fix mitaka directly.

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

I'm sorry but I won't have time for this work in a foreseeable future. It would be great if someone could port it to mitaka.

Changed in kolla:
milestone: pike-2 → pike-3
Changed in kolla:
milestone: pike-3 → pike-rc1
Changed in kolla:
milestone: pike-rc1 → queens-1
Changed in kolla:
milestone: queens-2 → queens-3
Changed in kolla:
milestone: queens-3 → queens-rc1
Changed in kolla:
milestone: queens-rc1 → queens-rc2
Changed in kolla:
milestone: queens-rc2 → rocky-1
Changed in kolla:
milestone: rocky-2 → rocky-3
Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote : Cleanup EOL bug report

This is an automated cleanup. This bug report has been closed because it
is older than 18 months and there is no open code change to fix this.
After this time it is unlikely that the circumstances which lead to
the observed issue can be reproduced.

If you can reproduce the bug, please:
* reopen the bug report (set to status "New")
* AND add the detailed steps to reproduce the issue (if applicable)
* AND leave a comment "CONFIRMED FOR: <RELEASE_NAME>"
  Only still supported release names are valid (OCATA, PIKE, QUEENS, ROCKY, ROCKY).
  Valid example: CONFIRMED FOR: OCATA

Changed in kolla:
importance: High → Undecided
status: Triaged → Expired
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.