vxworks vm did not initialize after nova boot

Bug #1790961 reported by Senthil Mukundakumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Daniel Chavolla

Bug Description

Brief Description
-----------------
vxworks vm did not initialize after nova boot even though it is shown as Active in nova show. i.e., VM console is empty

Severity
--------
Major

Steps to Reproduce
------------------
1. Launch Vxworks VM with e1000 interface
'nova --os-username 'tenant2' --os-password 'Li69nux*' --os-project-name tenant2 --os-auth-url http://192.168.204.2:5000/v3 --os-user-domain-name Default --os-project-domain-name Default --os-region-name RegionOne boot --boot-volume bb82eb47-6603-4700-82e7-d1a34f799a25 --user-data /home/wrsroot//userdatavxworks_1nic_cloud_init_if_conf.sh --key-name keypair-tenant2 --flavor 3287ab92-7806-413a-bdce-4bbe916c50ba --nic net-id=221ed54b-df98-4875-a6e3-c179f02f1c5c,vif-model=e1000 tenant2-if_attach_tenant-14 --poll'

2. Verify it become active

Expected Behavior
------------------
All interfaces should be pingable

Actual Behavior
----------------
[2018-09-02 01:08:10,398] 264 DEBUG MainThread ssh.send :: Send 'nova --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://192.168.204.2:5000/v3 --os-user-domain-name Default --os-project-domain-name Default --os-region-name RegionOne show 5bc39319-2857-4a4d-8f34-c2e8cf6d4616'
[2018-09-02 01:08:12,004] 391 DEBUG MainThread ssh.expect :: Output:
+--------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Property | Value |
+--------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | compute-2 |
| OS-EXT-SRV-ATTR:hostname | tenant2-if-attach-tenant-14 |
| OS-EXT-SRV-ATTR:hypervisor_hostname | compute-2 |
| OS-EXT-SRV-ATTR:instance_name | instance-0000006a |
| OS-EXT-SRV-ATTR:kernel_id | |
| OS-EXT-SRV-ATTR:launch_index | 0 |
| OS-EXT-SRV-ATTR:ramdisk_id | |
| OS-EXT-SRV-ATTR:reservation_id | r-0p88cbwy |
| OS-EXT-SRV-ATTR:root_device_name | /dev/vda |
| OS-EXT-SRV-ATTR:user_data | I2Nsb3VkLWNvbmZpZwpydW5jbWQ6Cg== |
| OS-EXT-STS:power_state | 1 |
| OS-EXT-STS:task_state | - |
| OS-EXT-STS:vm_state | active |
| OS-SRV-USG:launched_at | 2018-09-02T01:04:20.000000 |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2018-09-02T01:04:15Z |
| description | - |
| flavor:disk | 1 |
| flavor:ephemeral | 0 |
| flavor:extra_specs | {"aggregate_instance_extra_specs:storage": "local_image", "sw:wrs:guest:hpet": "True"} |
| flavor:original_name | flavor |
| flavor:ram | 1024 |
| flavor:swap | 0 |
| flavor:vcpus | 1 |
| hostId | df1dc34b5f471b39fb1fa05f242e7e5327a933b38f6964698a7b5924 |
| host_status | UP |
| id | 5bc39319-2857-4a4d-8f34-c2e8cf6d4616 |
| image | Attempt to boot from volume - no image supplied |
| key_name | keypair-tenant2 |
| locked | False |
| metadata | {} |
| name | tenant2-if_attach_tenant-14 |
| os-extended-volumes:volumes_attached | [{"id": "bb82eb47-6603-4700-82e7-d1a34f799a25", "delete_on_termination": false}] |
| progress | 0 |
| status | ACTIVE |
| tags | [] |
| tenant2-mgmt-net network | 192.168.185.5 |
| tenant_id | bb5b3bb7440d4cbc8b279e1f895551e2 |
| updated | 2018-09-02T01:04:42Z |
| user_id | 204c0a61b28f40b3bcbd1805179a8ae5 |
| wrs-if:nics | {"nic1": {"vif_model": "e1000", "mac_address": "fa:16:3e:29:4b:5a", "port_id": "6ee0fdfb-5f1a-4ad2-857d-45ffc24f31cb", "network": "tenant2-mgmt-net", "mtu": 1500}} |
| wrs-res:pci_devices | |
| wrs-res:topology | node:0, 1024MB, pgsize:2M, vcpus:0, pol:sha |
| wrs-res:vcpus | [1, 1, 1] |
| wrs-sg:server_group | |
+--------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
[wrsroot@controller-0 ~(keystone_admin)]$

vxworks vm did not initialize after nova boot even though it is shown as Active in nova show. i.e., VM console is empty

Reproducibility
---------------
Reproducible

System Configuration
--------------------
Any

Branch/Pull Time/Commit
-----------------------
StarlingX master as of 2018-08-31_20-18-00

Changed in starlingx:
assignee: nobody → Steven Webster (swebster-wr)
Ghada Khalil (gkhalil)
Changed in starlingx:
assignee: Steven Webster (swebster-wr) → nobody
Ghada Khalil (gkhalil)
tags: added: stx.distro.openstack
Ghada Khalil (gkhalil)
Changed in starlingx:
assignee: nobody → Daniel Chavolla (dchavoll)
importance: Undecided → Medium
tags: added: stx.2018.10
Revision history for this message
Frank Miller (sensfan22) wrote :

This commit was missed when the stx-nova repo was originally created. It will need to be added into stx-nova.

commit ee9017e6573e826f717c74d317452bbce4b32f64
Author: Daniel Chavolla <email address hidden>
Date: Mon Sep 25 15:57:38 2017 -0400

    Support for vxWorks7 guest - add HPET timer support

    This commit adds support for the HPET Timer needed by VxWorks guests.
    Added "Guest HPET support" to WRS flavor extraspecs.
    When this extra-spec is used The HPET timer is activated in libvirt

Ghada Khalil (gkhalil)
Changed in starlingx:
status: New → Triaged
Revision history for this message
Daniel Chavolla (dchavoll) wrote :

HPET support added to starlingx-staging/stx-nova and starlingx-staging/stx-glance by the following two pull requests:

https://github.com/starlingx-staging/stx-nova/pull/8

https://github.com/starlingx-staging/stx-glance/pull/2

Changed in starlingx:
status: Triaged → In Progress
status: In Progress → Fix Released
Ken Young (kenyis)
tags: added: stx.1.0
removed: stx.2018.10
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.