New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
analyze return multiple bootRecords for single real boot #3879
Comments
Launchpad user Haitao Chen(haidaocht) wrote on 2021-06-05T08:01:29.862826+00:00 Launchpad attachments: cloud-init.log |
Launchpad user Haitao Chen(haidaocht) wrote on 2021-06-05T16:38:28.975527+00:00 /cloudinit/analyze/show.py
if a event name is repeated (start and finish multiple times). and it's not finished right away(child event will break this condition), finish the event right away won't push the event to stages_seen. then its considered as new boot record. |
Launchpad user Chad Smith(chad.smith) wrote on 2021-06-06T20:19:50.169359+00:00 Haitao Chen (haidaocht), thank you for the bug and contributing to cloud-init to make it better. Do you happen to have a system available to attach the Much thanks. |
Launchpad user Chad Smith(chad.smith) wrote on 2021-06-06T20:37:10.495500+00:00 Nevermind, just grabbed it on a Xenial instance I had available: This does feel like a general bug that needs to be better handled by analyze show output for certain event types on Azure. -- Boot Record 01 -- Starting stage: init-local Finished stage: (azure-ds/read_azure_ovf) 00.00600 seconds Finished stage: (azure-ds/load_azure_ds_dir) 00.00700 seconds Starting stage: azure-ds/get_imds_data_with_api_fallback Finished stage: (azure-ds/get_imds_data_with_api_fallback) 00.12900 seconds |`->_get_random_seed @00.52200s +00.00000s |`->write_files @00.52300s +00.00300s |`->get_public_ssh_keys @00.52700s +00.00000s Starting stage: azure-ds/parse_network_config Finished stage: (init-local) 00.61900 seconds Starting stage: init-network -- Boot Record 02 -- Starting stage: azure-ds/parse_network_config Starting stage: init-network/setup-datasource Starting stage: azure-ds/get_metadata_from_fabric Starting stage: azure-ds/goalstate-retrieval Finished stage: (azure-ds/_get_raw_goal_state_xml_from_azure) 00.04100 seconds Starting stage: azure-ds/_parse_raw_goal_state_xml Finished stage: (azure-ds/_parse_raw_goal_state_xml) 00.01500 seconds Finished stage: (azure-ds/_fetch_goal_state_from_azure) 00.05700 seconds Starting stage: azure-ds/_get_user_pubkeys Starting stage: azure-ds/_get_fingerprint_from_cert Finished stage: (azure-ds/parse_certificates) 00.09100 seconds Finished stage: (azure-ds/_get_user_pubkeys) 00.09100 seconds Starting stage: azure-ds/send_ready_signal |`->http_with_retries @01.66700s +00.00700s Finished stage: (azure-ds/send_ready_signal) 00.02100 seconds Finished stage: (azure-ds/register_with_azure_and_fetch_data) 01.65500 seconds Finished stage: (azure-ds/get_metadata_from_fabric) 01.65600 seconds Finished stage: (azure-ds/_negotiate) 01.66000 seconds Finished stage: (azure-ds/setup) 01.66100 seconds Finished stage: (init-network/setup-datasource) 01.66100 seconds | Finished stage: (azure-ds/address_ephemeral_resize) 00.18300 seconds Total Time: 9.13200 seconds -- Boot Record 03 -- Starting stage: azure-ds/push_log_to_kvp Finished stage: (azure-ds/activate) 00.19500 seconds Finished stage: (init-network/activate-datasource) 00.19900 seconds | Starting stage: init-network/config-ssh Finished stage: (init-network) 02.99900 seconds Starting stage: modules-config Starting stage: modules-final Total Time: 4.79300 seconds 3 boot records analyzed |
This bug was originally filed in Launchpad as LP: #1930956
Launchpad details
Launchpad user Haitao Chen(haidaocht) wrote on 2021-06-05T08:01:29.862826+00:00
cloud-init analyze show return me multiple boot records, while I just have 1.
The text was updated successfully, but these errors were encountered: