发起问题
0

trove password

提问于 2016-09-10 22:18:43 -0500

penny 图像

Hello. I used fuel to deploy the openstack and installed trove according to the book "OpenStack Trove 1484212223".Then I download ubuntu-mysql image on the offical website http://tarballs.openstack.org/trove/images/ubuntu (http://tarballs.openstack.org/trove/i...) . But every time after creating a instance using trove, the state of that instance will become error after build. Plus i cannot ssh it for not knowing the password, but i can ping it using floating IP. My question is: whoever knows the password for the ubuntu-mysql image? Why the state is error? the log shows that the instance doesn't have trove guest agent. but what should i do?

edit retag flag offensive close merge delete
0

回答 2016-09-10 22:20:31 -0500

penny 图像

Hello. I used fuel to deploy the openstack and installed trove according to the book "OpenStack Trove 1484212223".Then I download ubuntu-mysql image on the offical website http://tarballs.openstack.org/trove/images/ubuntu (http://tarballs.openstack.org/trove/i...) . But every time after creating a instance using trove, the state of that instance will become error after build. Plus i cannot ssh it for not knowing the password, but i can ping it using floating IP. My question is: whoever knows the password for the ubuntu-mysql image? Why the state is error? the log shows that “ Cannot find compute instance None for instance”

我用fuel9.0安装了openstack,然后按照官网和书 "OpenStack Trove 1484212223"安装了trove。使用了官网 http://tarballs.openstack.org/trove/images/ubuntu (http://tarballs.openstack.org/trove/i...) 上的ubuntu-mysql镜像。但是每次用trove创建完实例以后,他的状态都会从build变成error,日志返回 Cannot find compute instance None for instance 。而且我只能ping通他,却不能ssh连接,因为不知道密码。 我的问题是:1:官方镜像的密码是什么? 2:镜像状态是error的问题应该怎么解决?

edit flag offensive delete link 更多
0

回答 2017-06-02 02:37:52 -0500

镜像状态error有很多种可能性,镜像的guestagent版本和控制节点的trove版本不符。。。而且默认的镜像中并没有trove的guestagent代码。被设置为从一个主机上copy trove代码到通过镜像启动的instance上,但是这个主机的ip被写死,所以你的instance无法拿到guestagent代码。这些都是有可能的,同样的还有其他的可能。。。同时,那个密码,我也不知道,我们是通过加入用户到镜像中的方式。应该也可以通过在创建时加入ssh-key的方式赋予访问权限

edit flag offensive delete link 更多

你的回答

Please start posting anonymously - your entry will be published after you log in or create a new account.

开始回答

提问工具

统计

已提问: 2016-09-10 22:18:43 -0500

已查看: 136 次

最后更新: Sep 10 '16