| Summary: | Introspection is not getting completed | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | VIKRANT <vaggarwa> | ||||||
| Component: | openstack-ironic-python-agent | Assignee: | Dmitry Tantsur <dtantsur> | ||||||
| Status: | CLOSED NOTABUG | QA Contact: | Raviv Bar-Tal <rbartal> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 9.0 (Mitaka) | CC: | dtantsur, jwang, mburns, raywang, slinaber, vaggarwa | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2016-11-03 09:47:43 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
|
Description
VIKRANT
2016-10-30 04:46:42 UTC
Tweaked the agent.ramdisk, and add root passwd for agent.ramdisk following official Red Hat documentation. Confirmed that HW is certified : https://access.redhat.com/ecosystem/hardware/956863 Hi! The screenshot was taken too late, when introspection was already finished. Could you please find the moment when it actually tries to post introspection data? Also please attach openstack-ironic-inspector logs. Please tell me more about your environment. E.g. it seems like you're using PXE instead of iPXE, why is that? Please attach /etc/ironic-inspector/dnsmasq.conf and /tftpboot/pxelinux.cfg/default. AFAIK, they have changed from ipxe to pxe because of the following bug.
change ironic to use pxe istead ipxe as steps ironic-ipxe-to-pxe
https://bugzilla.redhat.com/show_bug.cgi?id=1326086#c4
I don't think it is needed any more, especially for OSP 9. I'd like to know the details of the original issue then. Created attachment 1216481 [details]
ipxe wont boot
If we use ipxe instead of PXE, the server will not boot at all. Hi! I see that the MAC uses for iPXE (98:be:94:41:5d:bb) differs from one used for PXE (98:be:94:41:5e:9b). Have you changed boot order when switching to PXE? Have you tried making iPXE boot from the latter NIC? Also please attach the files requested in comment 10. Created attachment 1216511 [details] /var/log/message of the introspected node The first NIC of IBM x3650 M4 self-contain a DHCP server, and it also share IPMI port with NIC, so the first NIC can not be PXEed, and can not use dhcp to get an IP. So the customer disables PXE on first NIC, and enables PXE on second NIC. I followed the link, https://access.redhat.com/articles/2142881https://access.redhat.com/articles/2142881 The content of default file /tftp/pxelinux.cfg/default default discovery LABEL discovery kernel agent.kernel append initrd=agent.ramdisk inspector_callback_url=http://172.16.0.1:5050/v1/continue RUNBENCH=0 ipappend 3 inspector_callback_url should be inspection_callback_url :) chances are high that will fix your PXE problem. Could you please try? The customer portal documentation is purely wrong, I'll file a separate bug against it. As to iPXE, I wonder why it switches to the first NIC anyway.. Oh, sorry, it should be ipa-inspection-callback-url even I've filed a documentation bug: https://bugzilla.redhat.com/show_bug.cgi?id=1391019. Please check if the recommendations there help your case. Hey Thanks for the helps, "ipa-inspection-callback-url" works for me. I followed the updated document, and introspection can be finished successfully. Thank you so much again. Thanks for confirming! |