Ask Your Question
0

Helion community will not install and waiting for SSH host key

asked 2014-09-03 12:37:58 -0600

usman.sahota gravatar image

updated 2014-09-03 17:59:18 -0600

smaffulli gravatar image

seed VM created but not able to ssh all output of HP_VM_MODE=y bash -x ~root/tripleo/tripleo-incubator/scripts/hp_ced_start_seed.sh is below

root@cmpak-CloudPOC:~# HP_VM_MODE=y bash -x ~root/tripleo/tripleo-incubator/scripts/hp_ced_start_seed.sh
+ set -e
+ set -o pipefail
++ basename /root/tripleo/tripleo-incubator/scripts/hp_ced_start_seed.sh
+ SCRIPT_NAME=hp_ced_start_seed.sh
++ dirname /root/tripleo/tripleo-incubator/scripts/hp_ced_start_seed.sh
+ SCRIPT_HOME=/root/tripleo/tripleo-incubator/scripts
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/root/tripleo/tripleo-incubator/scripts
++ id -u
+ '[' 0 '!=' 0 ']'
+ '[' /root '!=' /root ']'
+ echo '
This script depends on certain baseline capabilities of the HOST operating system

The following MUST be installed and running:

    openvswitch
    kvm/qemu
    libvirt
    python-libvirt
'

This script depends on certain baseline capabilities of the HOST operating system

The following MUST be installed and running:

    openvswitch
    kvm/qemu
    libvirt
    python-libvirt

+ '[' -n y ']'
+ echo '

You must also have the following for Virtual Baremetal:
    openssh-server
'


You must also have the following for Virtual Baremetal:
    openssh-server

+ apt_updated=
+ check_install_packages
+ '[' -e /etc/debian_version ']'
+ '[' -n y ']'
+ dpkg-query -s openssh-server
+ dpkg-query -s openvswitch-switch
+ dpkg-query -s qemu-system-x86
+ dpkg-query -s libvirt-bin
+ dpkg-query -s python-libvirt
+ which ovs-vsctl
+ which kvm
+ which virsh
+ export TRIPLEO_ROOT=/root/tripleo/tripleo-incubator/scripts/../../
+ TRIPLEO_ROOT=/root/tripleo/tripleo-incubator/scripts/../../
+ export IMAGE_NAME=seed
+ IMAGE_NAME=seed
+ export VM_IP=
+ VM_IP=
+ IMAGE_CACHE_FILE=/root/tripleo/tripleo-incubator/scripts/../..//seed.qcow2
+ '[' '!' -e /root/tripleo/tripleo-incubator/scripts/../..//seed.qcow2 ']'
+ '[' '!' -e /root/tripleo/tripleo-incubator/scripts/../..//local.json ']'
+ '[' '!' -e /root/.ssh/id_rsa.pub ']'
+ SSH_ARGS='-o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'
+ '[' -z y ']'
+ '[' '!' -f /root/.ssh/id_rsa_virt_power ']'
++ cat /root/.ssh/id_rsa_virt_power.pub
+ grep -qF 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCxn5FcwJr47kWHOjroav6jNEtHkxKFumnUe4wTeIGIoZzt+IFkPBB6r0fEVec7aZQ3fJF4tpe7D+oeE5N3CywYFbj7t3s/z3NeSsp/o4u+pDURl9RBN9+BN7EjzLbRFOiRL5VOJy48F17+PMF/+2gudUaEV9Mm4O9LIyqyHOWHw1wDVTjAQvnyW4I3L+4oY0r7uC6lz158UJRD8TvIEBJ8W053b2I/zVrlrYsXSoow3ZSKcZmd7j0y07nHbAssPThvbCkQ9rDxf8rrTv+rKOuhc0VQYmpJKeGVlI4v8hVq+KXQP3UvuSIyZ25b1nJiSe8J8RnfwQJw7hxC/8h7b639 virtual-power-key' /root/.ssh/authorized_keys
+ ssh -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i /root/.ssh/id_rsa_virt_power root@localhost uptime
+ TMPDIR=/tmp
+ IMAGES_DIR=/var/lib/libvirt/images
+ OPTIONS_PATH=/var/lib/libvirt/images/seed_options
+ TMP_MNT_DIR=/tmp/tmp_options_mount
+ OPTIONS_SIZE=5G
+ ARCH=amd64
+ BRIDGE_NAME=brbm
+ BM_NETWORK_CIDR=192.0.2.0/24
+ BM_NETWORK_SEED_IP=192.0.2.1
+ BM_NETWORK_GATEWAY=192.0.2.1
+ MEMORYM=8192
+ MEMORYK=8388608
+ CPUS=1
+ NODE_DISK=512
+ EXTRAOPTS=
+ IMAGES='overcloud-compute overcloud-control overcloud-swift undercloud'
+ DEPLOY_IMAGES='deploy-ramdisk.initramfs deploy-ramdisk.kernel deploy-ramdisk-ironic.initramfs deploy-ramdisk-ironic.kernel'
+ '[' -n y ']'
+ OVERCLOUD_EXT_NET_VLAN_ID=vlan101
+ OVERCLOUD_EXT_NET_GATEWAY=192.0.8.1/21
+ OVERCLOUD_EXT_NET_DEV=ext-gw
+ SEED_ARCH=
+ case ${ARCH} in
+ SEED_ARCH=x86_64
+ [[ -z '' ]]
+ '[' -d /sys/module/kvm ']'
+ ENGINE=kvm
+ LIBVIRT_NIC_DRIVER=virtio
++ grep MemTotal
++ awk '{print $2}'
++ cat /proc/meminfo
+ MEMTOTKB=165027724
+ LIMITKB=8388608
+ '[' -n y ']'
+ LIMITKB=50331648
+ '[' 165027724 -lt 50331648 ']'
++ date
+ echo 'منگل ستمبر  2 15:57:37 PKT 2014 --- starting to configure seed'
منگل ستمبر  2 15:57:37 PKT 2014 --- starting to configure seed
+ cat
+ ovs-vsctl -- --may-exist add-br brbm
+ BRIDGE_INTERFACE=eth0
+ [[ -n y ]]
+ BRIDGE_INTERFACE=
+ '[' -n '' ']'
+ virsh net-list --persistent
+ grep 'brbm '
 brbm                 active     yes           yes
+ virsh net-destroy brbm
Network brbm destroyed

+ virsh net-list --inactive --persistent
+ grep 'brbm '
 brbm                 inactive   yes           yes
+ virsh net-undefine brbm
Network brbm has been undefined

+ BRIDGE_XML='<network>
  <name>brbm</name>
  <forward mode='\''bridge'\''/>
  <bridge name='\''brbm'\''/>
  <virtualport type='\''openvswitch'\''/>
</network>
'
+ virsh net-define /dev/fd/63
++ echo '<network>' '<name>brbm</name>' '<forward' 'mode ...
(more)
edit retag flag offensive close merge delete

Comments

I'm not familiar with Helion but in general, looking around you should be able to find logs with more details than these very limited messages on the UI. Maybe there is a way to launch the script with more verbose debug info?

smaffulli gravatar imagesmaffulli ( 2014-09-04 18:05:41 -0600 )edit

2 answers

Sort by » oldest newest most voted
0

answered 2014-09-03 13:32:07 -0600

updated 2014-09-03 17:52:59 -0600

smaffulli gravatar image

Are you forget to do that part? :

Before you begin the installation process, the user root must have a public key, for example:

 /root/.ssh/id_rsa
 /root/.ssh/id_rsa.pub

If you do not have a public key, you can create one as follows:

Login as root:

$ sudo su -

Determine if .ssh/id_rsa exists:

# ls ~root/.ssh/id_rsa

If the key does not exist, create one, omitting a passphrase and accepting the defaults by pressing Enter:

# ssh-keygen -t rsa
edit flag offensive delete link more

Comments

already done the mentioned step and key exist.

usman.sahota gravatar imageusman.sahota ( 2014-09-03 20:52:10 -0600 )edit

Actually it takes a little longer before asking to enter the Passphrase. Enter passphrase for key '/root/.ssh/id_rsa':

It may eat up to 7/8 sleep timers.so be patient and watch :)

psp0808 gravatar imagepsp0808 ( 2014-09-05 01:48:03 -0600 )edit

usman.sahota, so you can confirm that root had and have public key ?

Ramunas gravatar imageRamunas ( 2014-09-07 05:00:33 -0600 )edit
0

answered 2014-10-21 09:24:40 -0600

kashifkarar gravatar image

when you had created the rsa key do you give any passphrase? If yes, please recreate the rsa key and overrite it this time make sure that you go with blank phrase

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-09-03 12:37:58 -0600

Seen: 474 times

Last updated: Oct 21 '14