Merge "Revert "Migrate from keystone v2.0 to v3""
This commit is contained in:
commit
7bcf514994
@ -45,11 +45,11 @@ WEBROOT = '/'
|
|||||||
# NOTE: The version should be formatted as it appears in the URL for the
|
# NOTE: The version should be formatted as it appears in the URL for the
|
||||||
# service API. For example, The identity service APIs have inconsistent
|
# service API. For example, The identity service APIs have inconsistent
|
||||||
# use of the decimal point, so valid options would be 2.0 or 3.
|
# use of the decimal point, so valid options would be 2.0 or 3.
|
||||||
OPENSTACK_API_VERSIONS = {
|
#OPENSTACK_API_VERSIONS = {
|
||||||
# "data-processing": 1.1,
|
# "data-processing": 1.1,
|
||||||
"identity": 3,
|
# "identity": 3,
|
||||||
# "volume": 2,
|
# "volume": 2,
|
||||||
}
|
#}
|
||||||
|
|
||||||
# Set this to True if running on multi-domain model. When this is enabled, it
|
# Set this to True if running on multi-domain model. When this is enabled, it
|
||||||
# will require user to enter the Domain name in addition to username for login.
|
# will require user to enter the Domain name in addition to username for login.
|
||||||
|
@ -58,9 +58,6 @@ function all_install
|
|||||||
write_install_log "install keystone rpm"
|
write_install_log "install keystone rpm"
|
||||||
install_rpm_by_yum "openstack-keystone"
|
install_rpm_by_yum "openstack-keystone"
|
||||||
|
|
||||||
write_install_log "install python-openstackclient rpm"
|
|
||||||
install_rpm_by_yum "python-openstackclient"
|
|
||||||
|
|
||||||
write_install_log "install ironic-discoverd depend rpm"
|
write_install_log "install ironic-discoverd depend rpm"
|
||||||
install_rpm_by_yum "python-flask"
|
install_rpm_by_yum "python-flask"
|
||||||
|
|
||||||
@ -128,11 +125,6 @@ function all_install
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
openstack project create --domain default --description "Demo Project" demo
|
|
||||||
openstack user create --domain default --password daisy daisy
|
|
||||||
openstack role create user
|
|
||||||
openstack role add --project demo --user daisy user
|
|
||||||
|
|
||||||
# creat daisy datebase
|
# creat daisy datebase
|
||||||
local create_db_sql="create database IF NOT EXISTS $db_name default charset=utf8"
|
local create_db_sql="create database IF NOT EXISTS $db_name default charset=utf8"
|
||||||
write_install_log "create $db_name database in mariadb"
|
write_install_log "create $db_name database in mariadb"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user