Merge "Fixes cinder keystone auth"
authorDan Radez <dradez@redhat.com>
Thu, 28 Jan 2016 21:42:26 +0000 (21:42 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Thu, 28 Jan 2016 21:42:26 +0000 (21:42 +0000)
1  2 
ci/deploy.sh

diff --combined ci/deploy.sh
@@@ -796,12 -796,9 +796,12 @@@ function undercloud_prep_overcloud_depl
      SDN_IMAGE=opendaylight
    elif [ ${deploy_options_array['sdn_controller']} == 'opencontrail' ]; then
      echo -e "${red}ERROR: OpenContrail is currently unsupported...exiting${reset}"
 +    exit 1
 +  elif [[ -z ${deploy_options_array['sdn_controller']} || ${deploy_options_array['sdn_controller']} == 'false' ]]; then
 +    echo -e "${blue}INFO: SDN Controller disabled...will deploy nosdn scenario${reset}"
    else
      echo "${red}Invalid sdn_controller: ${deploy_options_array['sdn_controller']}${reset}"
 -    echo "${red}Valid choices are opendaylight, opendaylight-external, onos, opencontrail${reset}"
 +    echo "${red}Valid choices are opendaylight, opendaylight-external, onos, opencontrail, false, or null${reset}"
      exit 1
    fi
  
@@@ -840,9 -837,9 +840,9 @@@ openstack overcloud image uploa
  echo "Configuring undercloud and discovering nodes"
  openstack baremetal import --json instackenv.json
  openstack baremetal configure boot
 -if [[ -z "$virtual" ]]; then
 -  openstack baremetal introspection bulk start
 -fi
 +#if [[ -z "$virtual" ]]; then
 +#  openstack baremetal introspection bulk start
 +#fi
  echo "Configuring flavors"
  for flavor in baremetal control compute; do
    echo -e "${blue}INFO: Updating flavor: \${flavor}${reset}"
@@@ -863,9 -860,9 +863,9 @@@ echo "Executing overcloud deployment, t
  sleep 60 #wait for Hypervisor stats to check-in to nova
  # save deploy command so it can be used for debugging
  cat > deploy_command << EOF
 -openstack overcloud deploy --templates $DEPLOY_OPTIONS
 +openstack overcloud deploy --templates $DEPLOY_OPTIONS --timeout 90
  EOF
 -openstack overcloud deploy --templates $DEPLOY_OPTIONS
 +openstack overcloud deploy --templates $DEPLOY_OPTIONS --timeout 90
  EOI
  
    if [ "$debug" == 'TRUE' ]; then
@@@ -875,6 -872,7 +875,7 @@@ echo "Keystone Endpoint List:
  keystone endpoint-list
  echo "Keystone Service List"
  keystone service-list
+ cinder quota-show \$(openstack project list | grep admin | awk {'print \$2'})
  EOI
    fi
  }