一直在寻找 netfilter-persistent 将其规则存储在哪里,但在 help.ubuntu.com 上找不到任何有关它的文档。
有谁知道 Ubuntu 中的 netfilter-persistent 在哪里保存它的规则,以便它在重启后仍然存在?
一直在寻找 netfilter-persistent 将其规则存储在哪里,但在 help.ubuntu.com 上找不到任何有关它的文档。
有谁知道 Ubuntu 中的 netfilter-persistent 在哪里保存它的规则,以便它在重启后仍然存在?
我在 6 个 KVM 节点上使用 Juju GUI 部署了 Landscape 的 OpenStack Autopilot。如果升级节点的 RAM,如何在 Juju GUI 中编辑硬件详细信息?
在 MaaS GUI 中,我可以轻松编辑 CPU 核心、RAM 大小和存储大小,但 Juju GUI 仍然列出了具有旧硬件详细信息的机器。如何更新或刷新 Juju 中的硬件详细信息?
我经常发现自己在失败时重新下载相同的 lxc 实例包,并尝试使用 Landscape、单模式或多模式选项重新安装 openstack-install,这在慢速连接上需要时间。Juju 引导在下载它需要的包、实例和/或 lxc 容器时不服从系统范围的代理。幸运的是,现在手动设置 MaaS 安装,因此我们可以在 MAAS GUI 中定义 MAAS_HTTP_PROXY。
我已经设置 /etc/environment、/etc/apt/apt.conf 和 /etc/wgetrc 以在本地网络中使用代理服务器,但该工具会忽略该设置并在每次重新安装或重新部署时直接通过 Internet。
我如何配置 openstack-install 以服从系统范围的网络代理设置,以便所有下载包、实例和容器都缓存在 squid 中,以便更轻松、更快速地部署?
嗨 Ubuntu OpenStack Autopilot 团队,
虽然启用了嵌套虚拟化,但我无法在 VMware ESXi 5.5 上安装自动驾驶仪。我正在运行带有最新更新的 Ubuntu 14.04.1。
这是我尝试使用单系统模式安装时的一个:
INFO • 11-12 09:53:36 [LINE:102, FUNC:<module>] • cloudinstall • cloud-install starting
INFO • 11-12 09:53:36 [LINE:73, FUNC:status_context] • cloudinstall.core • Get started by entering an Openstack password to use in your cloud ..
DEBUG • 11-12 09:53:36 [LINE:101, FUNC:_build_widget] • cloudinstall.ui.dialog • Num items: 2, items: <BoxAdapter selectable flow widget <ListBox selectable box widget> height=2>
DEBUG • 11-12 09:53:40 [LINE:108, FUNC:submit] • cloudinstall.ui.dialog • Callback on : OrderedDict([('password', <EditInput selectable flow widget>), ('confirm_password', <EditInput selectable flow widget>)])
INFO • 11-12 09:53:40 [LINE:73, FUNC:status_context] • cloudinstall.core • Choose your installation path ..
DEBUG • 11-12 09:53:40 [LINE:101, FUNC:_build_widget] • cloudinstall.ui.dialog • Num items: 4, items: <BoxAdapter selectable flow widget <ListBox selectable box widget> height=4>
DEBUG • 11-12 09:53:43 [LINE:157, FUNC:submit] • cloudinstall.ui • Callback on : OrderedDict([('Single', <RadioButton selectable flow widget 'Single' state=True>), ('Multi', <RadioButton selectable flow widget 'Multi' state=False>), ('Multi with existing MAAS', <RadioButton selectable flow widget 'Multi with existing MAAS' state=False>), ('Landscape', <RadioButton selectable flow widget 'Landscape' state=False>)])
INFO • 11-12 09:53:43 [LINE:73, FUNC:status_context] • cloudinstall.core • Building environment
DEBUG • 11-12 10:00:36 [LINE:417, FUNC:container_run] • cloudinstall.utils • Running in container: sudo -H -u ubuntu TERM=xterm256-color ssh -t -q -l ubuntu -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile=/dev/null" -i /home/ubuntu/.ssh/id_rsa 10.0.3.169 mkdir -p .juju
DEBUG • 11-12 10:00:38 [LINE:421, FUNC:container_run] • cloudinstall.utils • b''
DEBUG • 11-12 10:00:39 [LINE:417, FUNC:container_run] • cloudinstall.utils • Running in container: sudo -H -u ubuntu TERM=xterm256-color ssh -t -q -l ubuntu -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile=/dev/null" -i /home/ubuntu/.ssh/id_rsa 10.0.3.169 mkdir -p ~/.cloud-install
DEBUG • 11-12 10:00:40 [LINE:50, FUNC:global_exchandler] • cloudinstall.utils • Traceback (most recent call last):
File "/usr/share/openstack/cloudinstall/utils.py", line 420, in container_run
ret = check_output(cmd, stderr=STDOUT, shell=True)
File "/usr/lib/python3.4/subprocess.py", line 616, in check_output
raise CalledProcessError(retcode, process.args, output=output)
subprocess.CalledProcessError: Command 'sudo -H -u ubuntu TERM=xterm256-color ssh -t -q -l ubuntu -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile=/dev/null" -i /home/ubuntu/.ssh/id_rsa 10.0.3.169 mkdir -p ~/.cloud-install' returned non-zero exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/openstack/cloudinstall/utils.py", line 64, in run
super().run()
File "/usr/lib/python3.4/threading.py", line 868, in run
self._target(*self._args, **self._kwargs)
File "/usr/share/openstack/cloudinstall/single_install.py", line 159, in do_install
self.copy_installdata_and_set_perms()
File "/usr/share/openstack/cloudinstall/single_install.py", line 105, in copy_installdata_and_set_perms
utils.container_run(self.container_name, 'mkdir -p ~/.cloud-install')
File "/usr/share/openstack/cloudinstall/utils.py", line 424, in container_run
"({1}:{2}) Error: {3}".format(cmd, name, ip, e))
Exception: There was a problem running (sudo -H -u ubuntu TERM=xterm256-color ssh -t -q -l ubuntu -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile=/dev/null" -i /home/ubuntu/.ssh/id_rsa 10.0.3.169 mkdir -p ~/.cloud-install) in the container (uoi-bootstrap:10.0.3.169) Error: Command 'sudo -H -u ubuntu TERM=xterm256-color ssh -t -q -l ubuntu -o "StrictHostKeyChecking=no" -o "UserKnownHostsFile=/dev/null" -i /home/ubuntu/.ssh/id_rsa 10.0.3.169 mkdir -p ~/.cloud-install' returned non-zero exit status 1
这是我尝试使用横向模式安装时的结果:
INFO • 11-17 02:36:00 [LINE:102, FUNC:<module>] • cloudinstall • cloud-install starting
INFO • 11-17 02:36:00 [LINE:73, FUNC:status_context] • cloudinstall.core • Get started by entering an Openstack password to use in your cloud ..
DEBUG • 11-17 02:36:00 [LINE:101, FUNC:_build_widget] • cloudinstall.ui.dialog • Num items: 2, items: <BoxAdapter selectable flow widget <ListBox selectable box widget> height=2>
DEBUG • 11-17 02:36:05 [LINE:108, FUNC:submit] • cloudinstall.ui.dialog • Callback on : OrderedDict([('password', <EditInput selectable flow widget>), ('confirm_password', <EditInput selectable flow widget>)])
INFO • 11-17 02:36:05 [LINE:73, FUNC:status_context] • cloudinstall.core • Choose your installation path ..
DEBUG • 11-17 02:36:05 [LINE:101, FUNC:_build_widget] • cloudinstall.ui.dialog • Num items: 4, items: <BoxAdapter selectable flow widget <ListBox selectable box widget> height=4>
DEBUG • 11-17 02:36:07 [LINE:157, FUNC:submit] • cloudinstall.ui • Callback on : OrderedDict([('Single', <RadioButton selectable flow widget 'Single' state=False>), ('Multi', <RadioButton selectable flow widget 'Multi' state=False>), ('Multi with existing MAAS', <RadioButton selectable flow widget 'Multi with existing MAAS' state=False>), ('Landscape', <RadioButton selectable flow widget 'Landscape' state=True>)])
INFO • 11-17 02:36:07 [LINE:73, FUNC:status_context] • cloudinstall.core • Please enter your Landscape information and optionally an existing MAAS Server IP. If MAAS is not defined a new one will be created for you.
DEBUG • 11-17 02:36:07 [LINE:101, FUNC:_build_widget] • cloudinstall.ui.dialog • Num items: 5, items: <BoxAdapter selectable flow widget <ListBox selectable box widget> height=5>
DEBUG • 11-17 02:36:22 [LINE:108, FUNC:submit] • cloudinstall.ui.dialog • Callback on : OrderedDict([('admin_email', <EditInput selectable flow widget>), ('admin_name', <EditInput selectable flow widget>), ('system_email', <EditInput selectable flow widget>), ('maas_server', <EditInput selectable flow widget>), ('maas_apikey', <EditInput selectable flow widget>)])
INFO • 11-17 02:36:22 [LINE:73, FUNC:status_context] • cloudinstall.core • Running ..
DEBUG • 11-17 02:36:22 [LINE:70, FUNC:_save_lds_creds] • cloudinstall.landscape_install • No maas credentials entered, doing a new MAAS install
INFO • 11-17 02:36:22 [LINE:73, FUNC:status_context] • cloudinstall.core • Please select a network interface that is not currently listening to any DHCP or DNS requests. This will be the interface MAAS will use to manage its own DNS/DHCP services.
DEBUG • 11-17 02:36:22 [LINE:50, FUNC:global_exchandler] • cloudinstall.utils • Traceback (most recent call last):
File "/usr/bin/openstack-install", line 104, in <module>
install.start()
File "/usr/share/openstack/cloudinstall/core.py", line 263, in start
self.main_loop()
File "/usr/share/openstack/cloudinstall/install.py", line 72, in main_loop
self.loop.run()
File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 274, in run
self.screen.run_wrapper(self._run)
File "/usr/lib/python3/dist-packages/urwid/raw_display.py", line 268, in run_wrapper
return fn()
File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 339, in _run
self.event_loop.run()
File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 669, in run
self._loop()
File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 706, in _loop
self._watch_files[fd]()
File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 390, in _update
self.process_input(keys)
File "/usr/lib/python3/dist-packages/urwid/main_loop.py", line 490, in process_input
k = self._topmost_widget.keypress(self.screen_size, k)
File "/usr/lib/python3/dist-packages/urwid/container.py", line 588, in keypress
*self.calculate_padding_filler(size, True)), key)
File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 836, in keypress
return self._original_widget.keypress((maxcol,), key)
File "/usr/share/openstack/cloudinstall/ui/dialog.py", line 53, in keypress
super().keypress(size, key)
File "/usr/lib/python3/dist-packages/urwid/container.py", line 1583, in keypress
key = self.focus.keypress(tsize, key)
File "/usr/lib/python3/dist-packages/urwid/container.py", line 2265, in keypress
key = w.keypress((mc,) + size[1:], key)
File "/usr/lib/python3/dist-packages/urwid/decoration.py", line 385, in keypress
return self._original_widget.keypress((maxcol, self.height), key)
File "/usr/lib/python3/dist-packages/urwid/listbox.py", line 985, in keypress
key = focus_widget.keypress((maxcol,),key)
File "/usr/lib/python3/dist-packages/urwid/container.py", line 2265, in keypress
key = w.keypress((mc,) + size[1:], key)
File "/usr/lib/python3/dist-packages/urwid/wimp.py", line 535, in keypress
self._emit('click')
File "/usr/lib/python3/dist-packages/urwid/widget.py", line 463, in _emit
signals.emit_signal(self, name, self, *args)
File "/usr/lib/python3/dist-packages/urwid/signals.py", line 264, in emit
result |= self._call_callback(callback, user_arg, user_args, args)
File "/usr/lib/python3/dist-packages/urwid/signals.py", line 294, in _call_callback
return bool(callback(*args_to_pass))
File "/usr/share/openstack/cloudinstall/ui/dialog.py", line 109, in submit
self.emit_done_signal(self.input_items)
File "/usr/share/openstack/cloudinstall/ui/dialog.py", line 115, in emit_done_signal
emit_signal(self, 'done', *args)
File "/usr/lib/python3/dist-packages/urwid/signals.py", line 264, in emit
result |= self._call_callback(callback, user_arg, user_args, args)
File "/usr/lib/python3/dist-packages/urwid/signals.py", line 294, in _call_callback
return bool(callback(*args_to_pass))
File "/usr/share/openstack/cloudinstall/landscape_install.py", line 71, in _save_lds_creds
self._do_install_new_maas()
File "/usr/share/openstack/cloudinstall/landscape_install.py", line 55, in _do_install_new_maas
post_tasks=self.landscape_tasks).run()
File "/usr/share/openstack/cloudinstall/multi_install.py", line 246, in run
self.prompt_for_interface()
File "/usr/share/openstack/cloudinstall/multi_install.py", line 255, in prompt_for_interface
if_names = sorted(get_network_interfaces().keys())
File "/usr/share/openstack/cloudinstall/netutils.py", line 75, in get_network_interfaces
rd[name] = dict(ipaddress=get_ip_addr(name),
File "/usr/share/openstack/cloudinstall/netutils.py", line 35, in get_ip_addr
return str(_networkinfo(interface)['network'].ip)
File "/usr/share/openstack/cloudinstall/netutils.py", line 27, in _networkinfo
nw = re.search("inet (\d+\.\d+\.\d+\.\d+/\d+)", out).groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'
与上面不同的错误日志有更多,但我没有保留它。如果有发现,稍后会发送更多。
关于 Ubuntu MAAS 的菜鸟问题:
我想让它在本地可用,以便更快地部署 Ubuntu MAAS 并节省数据使用量。
提前致谢
我可以运行“7z -b”进行多线程基准测试,并比较 Windows 和 Linux 等平台之间的结果。但是如何在 Ubuntu 上比较单线程 7z 基准测试?:)
我在 7z -h 和http://manpages.ubuntu.com/manpages/trusty/man1/7z.1.html中没有找到关于限制 7z -b 仅在单线程中运行的文档。
我很乐意将结果与 Windows 进行比较,只是为了检查 Intel Haswell Turbo Boost 性能是否在 Ubuntu 14.04 LTS 上工作。
先谢谢了。:)
如何使用软件 RAID1 在 UEFI BIOS 上安装 Ubuntu?
每个驱动器上是否应该有 1 个 EFI 分区和另一个 RAID1(根+交换)分区?
我想知道如果它不处于 RAID1 模式,它将如何将一个 EFI 分区更新到另一个?
update-grub-efi 命令是否会仅使用 update-grub2 命令更新两个驱动器上的两个 EFI 分区,就像旧版 BIOS 中的分区一样?
我使用的是带有 Xeon E-1275 V3 处理器的 Intel Serverboard S1200V3RPL 主板。USB 安装程序被识别为 UEFI: USB 而 SSD 是 P0+P1 SSD。我假设主板像传统 BIOS 一样识别 SSD,对吗?
UEFI 或传统 BIOS 哪个更易于使用和稳定?
一直在谷歌搜索但没有运气。