This section analyzes the instance start operation in detail through a log file.
here is the flowchart for start instance
Send a request to NOVA-API
Nova-api sending messages
Nova-compute Performing actions
Let's discuss each step in detail below.
send a request to Nova-api
The customer (which can be an OpenStack end-user or other program) sends a request to the API (NOVA-API): "Start this Instance for me"
View Log/opt/stack/logs/n-api.log
Nova-api sending Messages
Nova-api sent a message to Messaging (RabbitMQ): "Start this Instance" to view the 2002 lines of source code/opt/stack/nova/nova/compute/api.py by start.
The function of Self.compute_rpcapi.start_instance () is to send a start instance message to the Nova-compute message queue on RabbitMQ.
Nova-compute Performing Actions
View Log/opt/stack/logs/n-cpu.log
start Start
preparing the Virtual network card
preparing the XML file for instance
preparing the instance image file
successfully started
The Start operation analysis is here, and the next section continues to discuss other Nova operations.
Start Instance Operation Details-5 minutes a day to play OpenStack (31)