5.0.1-0.214-queens - VM fails to boot due to failing metadata
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R5.0 |
Incomplete
|
High
|
Nagendra Prasath | |||
Trunk |
Incomplete
|
High
|
Nagendra Prasath |
Bug Description
Initiated cirros VM, and if fails as below. It boots up without failure if config-drive is flagged. However, the VM cannot get metadata once it boots up.
Console log:
[ 1.370756] Write protecting the kernel read-only data: 14336k
[ 1.373588] Freeing unused kernel memory: 1860K (ffff88000182f000 - ffff880001a00000)
[ 1.377615] Freeing unused kernel memory: 168K (ffff880001dd6000 - ffff880001e00000)
info: initramfs: up at 0.98
modprobe: module virtio_pci not found in modules.dep
modprobe: module virtio_blk not found in modules.dep
modprobe: module virtio_net not found in modules.dep
modprobe: module vfat not found in modules.dep
modprobe: module nls_cp437 not found in modules.dep
info: copying initramfs to /dev/vda1
info: initramfs loading root from /dev/vda1
info: /etc/init.
info: container: none
Starting logging: OK
modprobe: module virtio_pci not found in modules.dep
modprobe: module virtio_blk not found in modules.dep
modprobe: module virtio_net not found in modules.dep
modprobe: module vfat not found in modules.dep
modprobe: module nls_cp437 not found in modules.dep
WARN: /etc/rc3.
Initializing random number generator... [ 3.006022] random: dd urandom read with 8 bits of entropy available
done.
Starting acpid: OK
Starting network...
udhcpc (v1.23.2) started
Sending discover...
Sending select for 10.0.2.4...
Lease of 10.0.2.4 obtained, lease time 268435455
checking http://
failed 1/20: up 2.77. request failed
failed 2/20: up 4.79. request failed
failed 3/20: up 6.81. request failed
failed 4/20: up 8.83. request failed
Instance.yaml:
provider_config:
bms:
ssh_user: contrail
ssh_public_key: /root/.
ssh_
ntpserver: 10.85.130.130
domainsuffix: pslab.net
instances:
bms1:
provider: bms
ip: 10.85.192.5
roles:
config_
config:
control:
analytics
analytics:
webui:
openstack:
vrouter:
openstack
global_
CONTAINER_
CONTAINER_
CONTAINER_
contrail_
OPENSTACK_
CONTRAIL_
CLOUD_
RABBITMQ_
AUTH_MODE: keystone
KEYSTONE_
KEYSTONE_
UPGRADE_KERNEL: true
kolla_config:
kolla_globals:
network_
kolla_
enable_haproxy: "no"
enable_ironic: "no"
enable_swift: "no"
kolla_passwords:
keystone_
[contrail@server7 ~]$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
kolla/centos-
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
hub.juniper.
[contrail@server7 ~]$
Changed in juniperopenstack: | |
milestone: | none → r5.0.2 |
milestone: | r5.0.2 → r5.0.3 |
milestone: | r5.0.3 → r5.1.1 |
summary: |
- 5.0.1-0.214-queens - VM fails to boot due to failing metadata with + 5.0.1-0.214-queens - VM fails to boot due to failing metadata |
information type: | Proprietary → Public |
Changed in juniperopenstack: | |
milestone: | r5.1.1 → r5.0.3 |
milestone: | r5.0.3 → r5.0.2 |
tags: | added: config |
Could you retrieve below info and post here please...
from the config_api_1 container:
netstat -nalp |grep 8082|grep LISTEN | awk '{print $4}' <= should print IP address of the api server
with that run below command: <keystone- passwd> http://<api-server- ip>:8082/ global- vrouter- configs |python -m json.tool
curl -uadmin:
in above o/p, for the url specified at href seen in the section under global- vrouter- configs, run <keystone- passwd> <url> | python -m json.tool
curl -uadmin:
Also: vrouter- agent_1 docker container: contrail- vrouter- agent.conf
from vrouter_
grep metadata /etc/contrail/
from nova_api docker container:
grep metadata /etc/nova/nova.conf