bare metal: tftp prefix can cause the cloud not find kernel image

Bug #1319661 reported by yangzhenyu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Invalid
Undecided
Unassigned
OpenStack Compute (nova)
Won't Fix
Undecided
Unassigned

Bug Description

hi,
   I boot a baremetal instance, but it has a error "could not find a kernel image" in the PXE . I check the file "/tftpboot/UUID/config":
    label deploy
    kernel /tftpboot/8cbe34a2-d7d0-44b2-a148-adb7d23bb3fb/deploy_kernel

   so I modify it :
     label deploy
     kernel 8cbe34a2-d7d0-44b2-a148-adb7d23bb3fb/deploy_kernel

   and then the PXE can work ok.

    My version is Havana.

Tags: baremetal
Revision history for this message
yangzhenyu (cdyangzhenyu) wrote :

I think should delete the prefix "/tftpboot/" in this path:
pxe.py
def build_pxe_config(deployment_id, deployment_key, deployment_iscsi_iqn,
                      deployment_aki_path, deployment_ari_path,
                      aki_path, ari_path, network_info):

                    ...
                    pxe_options = {
                                                ...
                                               'deployment_aki_path': deployment_aki_path,
                                               'deployment_ari_path': deployment_ari_path,
                                               'aki_path': aki_path,
                                               'ari_path': ari_path,
                                                ...
                                                 }

Revision history for this message
yangzhenyu (cdyangzhenyu) wrote :

      when I start deploy the os, I chose the "Hard drive" as a installation method . It point no hard drives and tell me configure additional devices. so I use sda but has a error "Faild to mount driver disk".why? Whether it is a problem with my image?

Tracy Jones (tjones-i)
tags: added: baremetal
Tracy Jones (tjones-i)
summary: - baremetal:”tftp prefix“ can cause the “cloud not find kernel image”
+ baremetal:tftp prefix can cause the cloud not find kernel image
summary: - baremetal:tftp prefix can cause the cloud not find kernel image
+ bare metal: tftp prefix can cause the cloud not find kernel image
Revision history for this message
Joe Gordon (jogo) wrote :

We are on the process of deprecating nova baremetal in favor of ironic.

Changed in nova:
status: New → Won't Fix
Revision history for this message
Dmitry Tantsur (divius) wrote :

Are you sure this bug can be reproduced on Ironic? AFAIK we have it correct for now. Feel free to reopen the bug against Ironic, if you see a different behaviour.

Changed in ironic:
status: New → Invalid
Revision history for this message
jiang wei (timjiang) wrote :

I met this problem recently which was same to the discription, and also can not reproduce it again in Mitaka version. Does someone know how to deal with it?

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.