1.>ONE_AUTH file not found
[root@V-test one]# find / -name one_auth
/var/lib/one/.one/one_auth
解决方法:
[root@V-test one]# export ONE_AUTH="/var/lib/one/.one/one_auth"
2.>centos 6.4网桥设置失败报错如下:
原网卡eth0: Connection activation failed: Master connection not found or invalid
bridge网卡br0:Conncetion activation failed: Failed to determine connection’s virtual interface name
解决方法:
[root@V-test one]# chkconfig NetworkManager off
[root@V-test one]# chkconfig –-levels 35 network on
[root@V-test one]# /etc/init.d/NetworkManager stop
[root@V-test one]# /etc/init.d/network restart
3.>[root@V-test one]# onedatastore update 1
Editor not defined
这是因为如下原因,CentOS默认vi位置是/bin/vi
[root@V-test one]# grep -i editor_path= /usr/lib/one/ruby/cli/one_helper.rb
EDITOR_PATH='/usr/bin/vi'
解决方法:
[root@V-test one]# ln -s /bin/vi /usr/bin/vi
4.>[root@open1 ~]# onedatastore list
/usr/lib/one/ruby/opennebula/client.rb:117:in `initialize': ONE_AUTH file not present (RuntimeError)
from /usr/lib/one/ruby/cli/one_helper.rb:373:in `new'
from /usr/lib/one/ruby/cli/one_helper.rb:373:in `get_client'
from /usr/lib/one/ruby/cli/one_helper.rb:431:in `set_client'
from /usr/bin/onedatastore:41
from /usr/lib/one/ruby/cli/command_parser.rb:445:in `call'
from /usr/lib/one/ruby/cli/command_parser.rb:445:in `run'
from /usr/lib/one/ruby/cli/command_parser.rb:76:in `initialize'
from /usr/bin/onedatastore:34:in `new'
from /usr/bin/onedatastore:34
解决方法:
[root@nebula ~]# vi /root/.bash_profile
export ONE_AUTH=/var/lib/one/.one/one_auth
5.>[E]: [UserPoolInfo] User couldn't be authenticated, aborting call.
解决方法:
[root@open1 lib]# /usr/share/one/install_gems sunstone
阅读(2739) | 评论(0) | 转发(0) |