openstack安装vertica的问题
侧边栏壁纸
博主昵称
yuc

  • 累计撰写 291 篇文章
  • 累计收到 0 条评论

openstack安装vertica的问题

yuc
yuc
2024-05-07 / 最后修改: 2025-01-17 02:39 / 0 评论 / 2 阅读 / 正在检测是否收录...
异常问题

在 openstack 上安装vertica的时候出现了几个问题

  1. 无法修改io scheduler,/sys/block/sda/queue/scheduler修改后查看仍然是none
  2. 出现错误 Error: 'NoneType' object has no attribute 'split',在添加参数 --ignore-install-config 后仍然显示HALT 级别的错误,无法跳过

问题的根本原因:

The root of the problem is that if you are installing Vertica on OpenStack it will have a metadata server (169.254.169.254), and if the install python script gets a response from it, it assumes its running under AWS, so it will request AWS specific metadata which doesnt exist, so it gets no response from the OpenStack metadata server.

To fix the issue issue you have to edit the aws_metadata.py (/opt/vertica/oss/ python/lib/python2.7/site-ackages/vertica/system/aws_metadata.py) file. Inside the load function (def load, not in the def init) replace the self.is_aws part to
    self.is_aws = False

在文件中搜索def load后查看最近一行的self.is_aws = XXX ,修改内容为False,然后重新安装

参考链接: https://forum.vertica.com/discussion/235490/vertica-install-on-centos

PS: 不知是否可以使用 --ignore-aws-instance-typ 这个参数跳过

0

评论

博主关闭了当前页面的评论