简体   繁体   English

Euca 5.0 无节点控制器

[英]Euca 5.0 No Node Controllers

I've used the ansible install to run all services on a single host and have two separate physical node controllers.我使用 ansible 安装在单个主机上运行所有服务,并有两个独立的物理节点控制器。

Everything installed fine and all of my services are green.一切安装正常,我的所有服务都是绿色的。 But I don't think image workers are launching to do my first image uploads.但我不认为图像工作者会启动我的第一个图像上传。 As I'm trying to troubleshoot I see that no node controllers are reported by:当我尝试排除故障时,我发现没有报告节点控制器:

euserv-describe-node-controllers

It doesn't return an error just blank output. I've unregistered and re-registered the two node controllers and copied the CLC admin keys with no errors but still can't see output from that command.它不会仅返回空白 output 的错误。我已经注销并重新注册了两个节点控制器并复制了 CLC 管理密钥,但没有错误,但仍然无法从该命令中看到 output。 cloud-output and the various nc log files seem to show successful startup.云输出和各种 nc 日志文件似乎显示成功启动。

I've switched to ImagingServiceAdministrator to look for imaging worker instances with this and got blank output which was what started me looking at NC's:我已经切换到 ImagingServiceAdministrator 来寻找成像工作者实例,并得到空白 output 这就是我开始查看 NC 的原因:

euca-describe-instances --filter tag-value=euca-internal-imaging-workers

The imaging service is not required for installing instance-store images, eg:安装实例存储镜像不需要镜像服务,例如:

python <(curl -Ls https://eucalyptus.cloud/images)

or (on an ansible deployed cloud):或者(在 ansible 部署的云上):

eucalyptus-images --size 1

To check on the status of node controllers in a deployment you will need to have cloud administrator credentials.要检查部署中节点控制器的状态,您需要拥有云管理员凭据。 You can check this using:您可以使用以下方法检查:

euare-getcallerid
euare-accountlist

and verifying that the eucalyptus account is being used.并验证正在使用eucalyptus帐户。

Node controllers are managed via a cluster controller so you should check the status for both:节点控制器通过集群 controller 进行管理,因此您应该检查两者的状态:

euserv-describe-services -a --filter service-type=cluster
euserv-describe-services -a --filter service-type=node

this differs from euserv-describe-node-controllers as it does not include information on running instances.这与euserv-describe-node-controllers不同,因为它不包含有关正在运行的实例的信息。

If there are any issues you can check for service events:如果有任何问题,您可以检查服务事件:

euserv-describe-events

and look at the logs (/var/log/eucalyptus/...) to further investigate.并查看日志 (/var/log/eucalyptus/...) 以进一步调查。

Check that the IP addresses you registered node controllers using are the ones that the node controllers are listening on ( NC_ADDR in /etc/eucalyptus//eucalyptus.conf )检查您注册节点控制器使用的 IP 地址是否是节点控制器正在侦听的地址( NC_ADDR中的NC_ADDR

If using firewalld restart/reload the configuration after deployment to ensure running with the latest settings.如果使用 firewalld 在部署后重新启动/重新加载配置以确保使用最新设置运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM