OpenStack Rally - 是否可以检查 nova 控制台日志?

OpenStack Rally - is it possible to check nova console logs?

Openstack/Rally 这里是新手。在 boot_and_list.json, the boot operation simply checks whether the VM reaches the "ACTIVE" state.

的基本拉力赛场景中

但是,在我的组织中,仅仅因为 VM 已变为 "ACTIVE" 并不意味着它已经完全完成了我们所有网络配置的设置。我们想使用 Rally 来衡量 VM 达到 "Working" 状态所需的时间,其中当特定消息输出到 nova 控制台日志时达到 "Working"。目前,我们的组织已经设置了一条自定义消息,该消息将在控制台日志中打印出来,指示状态,例如 "My image booted!" 或 "My image failed to boot: "。这样我们就可以确信 VM 是 "ACTIVE" 和 "Working."

有没有现成的方法可以使用 Rally 检查 nova 控制台日志中的一些输出?也许通过使用 getConsoleOutput API?

任何见解将不胜感激,谢谢!

boot_and_get_sonsole_output method contains this exact funtionality, which was included with Rally version 0.1.2

由于现在打包在 Rally 中,用户可以使用 boot-and-get-console-server 场景,根据需要编辑参数。