[Rdo-list] [heat]can't access the console of instances created by heat

ICHIBA Sara ichi.sara at gmail.com
Wed May 20 12:11:50 UTC 2015


Hey, I created an instance via heat, but I can't access its console. When I
create a VM the classic way ( with horizon) with exactly the same
parameters I don't get this problem. Do you have any idea what the problem
might be? Plz find below my template.


heat_template_version: 2014-10-16
description: A simple server.
parameters:
  key_name:
    type: string
    description: name of a keypair
    default: userkey
resources:
  server:
    type: OS::Nova::Server
    properties:
      image: cirros
      flavor: m1.tiny
      key_name: {get_param: key_name}
      networks:
        - network: 7512b12e-b9fd-4d64-8496-c6d8fb9ec1bc

the logs says that the instance is created successfully info:

info: initramfs: up at 2.64
GROWROOT: CHANGED: partition=1 start=16065 old: size=64260 end=80325
new: size=2072385,end=2088450
info: initramfs loading root from /dev/vda1
info: /etc/init.d/rc.sysinit: up at 4.27
info: container: none
Starting logging: OK
Initializing random number generator... done.
Starting acpid: OK
cirros-ds 'local' up at 6.06
no results found for mode=local. up 6.49. searched: nocloud configdrive ec2
Starting network...
udhcpc (v1.20.1) started
Sending discover...
Sending select for 10.0.0.7...
Lease of 10.0.0.7 obtained, lease time 86400
cirros-ds 'net' up at 7.95
checking http://169.254.169.254/2009-04-04/instance-id
failed 1/20: up 8.27. request failed
successful after 2/20 tries: up 20.57. iid=i-0000002c
found datasource (ec2, net)
Starting dropbear sshd: generating rsa key... generating dsa key... OK
/run/cirros/datasource/data/user-data was not '#!' or executable
=== system information ===
Platform: Fedora Project OpenStack Nova
Container: none
Arch: x86_64
CPU(s): 1 @ 2533.399 MHz
Cores/Sockets/Threads: 1/1/1
Virt-type: AMD-V
RAM Size: 491MB
Disks:
NAME MAJ:MIN       SIZE LABEL         MOUNTPOINT
vda  253:0   1073741824
vda1 253:1   1061061120 cirros-rootfs /
=== sshd host keys ===
-----BEGIN SSH HOST KEY KEYS-----
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgwCOvtNAdh55hdE03kVs8q+9jLXCCtjlj9NRzCjsOUaPzO9THmfkhJS7BsKObf/GsMo/OiupcjC1ofDfESzXH5mlx4W8CMdp7XNxuhX1K3/jp/Fj6vimSgiEiVQ84FDZKUT+RlIpk3c05E4YAQcItBTZCfwbJ6UvjcUIY9iD/mTeT7X3
root at single-instance-server-2ujbywfyvu6w
ssh-dss AAAAB3NzaC1kc3MAAACBAMz8T2VGHpc6RryB2IHhsWhGEG+hMfLgC1dxfMz/x8s6etEp8SMGlXQJ1blzHluLoZBqPubOGzbgtGYXdxAExD2cAeA8BwcRinIlA3AAVJbwo4mgqH5+sWmEWUxUrbhkiPUnq41KVyd9Js1KTgW5FgdpWQvmuKL5xo7wLBvP4DnFAAAAFQDdUErqwKR4DBwBqaeh+ROwCdqFIwAAAIEAkhVkypxvmuL+KHMy6wA7lLJ7RpOrJ3k0RgGGqh5tTYvXpaRYi/ju0p3xI0P3S+PtnXkVonOPpmnybPMarWolDT5AmtFWwug6YRybMPl0LMFUz9J6RZNwvewoytEhJBN2Zr9eJohlFU3mKN01mPedWCvZLazOuUwUZlpFLQ9NfzkAAACAZwTICpU+vyH+/eCkPR+XJDVTmaeymA9uYiBhtbiANIrq6wLO3SHrOtRZLbUCZRXs3sW5K8kMaF9teEHsdQ0zNx+I7ULaRGFZjZBDum7hiAOwGf0pwq6Xu82sxjxbwlQJGuO1qW4N0sv5y8mekFm+CiiT/37wmvLbDcRcd0KEnB0=
root at single-instance-server-2ujbywfyvu6w
-----END SSH HOST KEY KEYS-----
=== network info ===
if-info: lo,up,127.0.0.1,8,::1
if-info: eth0,up,10.0.0.7,24,fe80::f816:3eff:fec4:c0b4
ip-route:default via 10.0.0.1 dev eth0
ip-route:10.0.0.0/24 dev eth0  src 10.0.0.7
=== datasource: ec2 net ===
instance-id: i-0000002c
name: N/A
availability-zone: nova
local-hostname: single-instance-server-2ujbywfyvu6w.novalocal
launch-index: 0
=== cirros: current=0.3.3 uptime=42.75 ===
  ____               ____  ____
 / __/ __ ____ ____ / __ \/ __/
/ /__ / // __// __// /_/ /\ \
\___//_//_/  /_/   \____/___/
   http://cirros-cloud.net


login as 'cirros' user. default password: 'cubswin:)'. use 'sudo' for root.
single-instance-server-2ujbywfyvu6w login:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20150520/5295f3dc/attachment.html>


More information about the dev mailing list