RHEV3.1问题集-创新互联
#BUGrhevm-shell登录rhevm失败
如下正式版本存在BUG:
rhel-x86_64-server-6-rhevm-3.1/rhevm-cli-3.1.0.17-1.el6ev.noarch.rpm
1、缺少password 参数
-p PASSWORD, --password=PASSWORD
2、-I, --insecure 不生效
3、证书认证失败
网站标题:RHEV3.1问题集-创新互联
转载来于:http://scyanting.com/article/dchpdi.html
如下正式版本存在BUG:
rhel-x86_64-server-6-rhevm-3.1/rhevm-cli-3.1.0.17-1.el6ev.noarch.rpm
1、缺少password 参数
-p PASSWORD, --password=PASSWORD
2、-I, --insecure 不生效
3、证书认证失败
[root@rhevm ~]# wget -O rhevm.cer http://rhevm.example.com/ca.crt[root@rhevm ~]# rhevm-shell -c -l https://rhevm.example.com/api -u admin@internal-p password -A /root/rhevm.cer
or:
[root@rhevm~]# rhevm-shell -c -l https://rhevm.example.com/api -u admin@internal-p password -A /etc/pki/ovirt-engine/ca.pem
如下Beta版本没有问题:
rhel-x86_64-server-6-rhevm-3-beta/rhevm-cli-3.1.0.15-1.el6ev.noarch.rpm
Beta版本帮助文档:
[root@rhevm ~]# rhevm-shell -h
Usage: rhevm-shell [options]
rhevm-shell [options] command...
This program is a command-line interface to RHEVM Virtualization.
Options:
-h, --help show this help message and exit
-d, --debug enable debugging
-l URL, --url=URL specifies the API entry point URL
(http[s]://server[:port]/api) -u USERNAME, --username=USERNAME
connect as this user
-p PASSWORD, --password=PASSWORD
specify password
-K KEY_FILE, --key-file=KEY_FILE
specify client PEM key-file -C CERT_FILE, --cert-file=CERT_FILE
specify client PEM cert-file -A CA_FILE, --ca-file=CA_FILE
specify server CA cert-file -I, --insecure allow connecting to SSL sites without certificates
-F, --filter enables user permission based filtering
-P PORT, --port=PORT specify port
-T TIMEOUT, --timeout=TIMEOUT
specify timeout
-c, --connect automatically connect
-f FILE, --file=FILE read commands from FILE instead of stdin
网站标题:RHEV3.1问题集-创新互联
转载来于:http://scyanting.com/article/dchpdi.html