HPHelion: Install failing on Azure virtual machine
Following the install guide for HP Helion Openstack, http://docs.hpcloud.com/helion/commun...
I follow these steps
Log in as root:
sudo su -
Determine if .ssh/id_rsa exists:
ls -l ~root/.ssh/id_rsa
NOTE: The output should look like the example below:
drwxr-x--- . 4096 May 11 09:23
-rwxr-x--- ..4096 May 11 09:23
-rwxr-x--- id_rsa1455 May 11 09:24
-rwxr-x--- id_rsa.pub 1455 May 11 09:24
If the key does not exist, create one, omitting a passphrase and accepting the defaults by pressing Enter:
ssh-keygen -t rsa -N
This is the output i get
root@baHPHelion:/datadrive/tripleo# ls -l ~root/.ssh/id_rsa
-rw------- 1 root root 1766 Nov 16 01:32 /root/.ssh/id_rsa
I go on to start the install
root@baHPHelion:/datadrive/tripleo# sudo HP_VM_MODE=y bash -x tripleo-incubator/scripts/hp_ced_host_manager.sh --create seed
+ set -e
+ set -o pipefail
+ umask 077
++ basename tripleo-incubator/scripts/hp_ced_host_manager.sh
+ SCRIPT_NAME=hp_ced_host_manager.sh
++ dirname tripleo-incubator/scripts/hp_ced_host_manager.sh
+ SCRIPT_HOME=tripleo-incubator/scripts
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:tripleo-incubator/scripts
++ id -u
+ '[' 0 '!=' 0 ']'
+ '[' /root '!=' /root ']'
+ export CREATE_SEED=0
+ CREATE_SEED=0
+ export SHUTDOWN_SEED=0
+ SHUTDOWN_SEED=0
+ export BOOT_SEED=0
+ BOOT_SEED=0
+ export EXPORT_SEED=0
+ EXPORT_SEED=0
+ export IMPORT_SEED=0
+ IMPORT_SEED=0
+ export VM_PLAN_FILE=
+ VM_PLAN_FILE=
++ getopt -o ph, -lhelp,create-seed,shutdown-seed,boot-seed,export-seed,import-seed,vm-plan: -n hp_ced_host_manager.sh -- --create seed
+ TEMP=' --create-seed -- '\''seed'\'''
+ '[' 0 '!=' 0 ']'
+ eval set -- ' --create-seed -- '\''seed'\'''
++ set -- --create-seed -- seed
+ print_deps
+ echo 'This script depends on certain baseline capabilities of the HOST operating system'
This script depends on certain baseline capabilities of the HOST operating system
+ echo
+ echo 'The following MUST be installed and running:'
The following MUST be installed and running:
+ echo
+ echo ' openvswitch'
openvswitch
+ echo ' kvm/qemu'
kvm/qemu
+ echo ' libvirt'
libvirt
+ echo ' python-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
+ true
+ case "$1" in
+ CREATE_SEED=1
+ shift
+ true
+ case "$1" in
+ shift
+ break
+ '[' 1 -gt 1 ']'
+ '[' -z y -a -n '' ']'
+ 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=7G
+ 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-control-mgmt overcloud-swift undercloud'
+ DEPLOY_IMAGES='deploy-ramdisk.initramfs deploy-ramdisk.kernel deploy-ramdisk-ironic.initramfs deploy-ramdisk-ironic.kernel'
+ OVERCLOUD_EXT_NET_DEV=ext-gw
+ BM_GATEWAY_DEV=bm-gw
+ ROUTE_DEV=virbr0
+ LIBVIRT_NIC_DRIVER=virtio
+ LIBVIRT_DISK_BUS_TYPE=scsi
+ HOST_IP=192.168.122.1
+ SEED_COMP_PORT=27410
+ SEED_IMAGE_ID=seedImageID
+ apt_updated=
+ check_system_setup
+ 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
+ check_execute_packages
+ which ovs-vsctl
+ which kvm
+ which virsh
+ '[' -e /etc/debian_version ']'
++ lsb_release -cs
+ RELEASE=trusty
+ '[' trusty = trusty ']'
+ '[' '!' -e /usr/bin/kvm ']'
+ '[' -e /usr/bin/kvm ']'
+ export TRIPLEO_ROOT=tripleo-incubator/scripts/../../
+ TRIPLEO_ROOT=tripleo-incubator/scripts/../../
+ export IMAGE_NAME=seed
+ IMAGE_NAME=seed
+ export VM_IP=
+ VM_IP=
+ export IMAGE_CACHE_FILE=tripleo-incubator/scripts/../..//images/seed.qcow2
+ IMAGE_CACHE_FILE=tripleo-incubator/scripts/../..//images/seed.qcow2
+ '[' '!' -e tripleo-incubator/scripts/../..//images/seed ...