Commit Graph

7 Commits

Author SHA1 Message Date
naichuans 12c68d0210 os-xenapi: change dom0 uuid get function
The control domain id of slave nodes in xenserver pools is not 0,
so the old cmd would fail. Change the cmd to fix it.

Change-Id: I2814a1421fd5825d88609057b48fa61254a944cc
Closes-Bug: #1783238
2018-07-24 02:14:19 +00:00
naichuans ca0d98297d os-xenapi: xe cmd failed after set disable journaling to true
need to add "resident-on" to filter dom0 VM uuid

Change-Id: Ie4fb9bac2e65b84949a6f7e1c686a910c6fcced6
2017-09-07 04:03:42 +00:00
naichuans 18cadbe951 os-xenapi: Support deploying devstack in xapi-pool
Currently the install script would exit if the host is pooled,
need to modify the script to support install devstack on the
pooled host.

Change-Id: I3ff5c1c62dbc54fd389ed4622ec60c1b07c2f1c8
2017-09-04 10:19:32 +00:00
naichuans 59eec59cff os-xenpai: add option to disable FS journaling
Add option "-r DISABLE_JOURNALING" to control if FS journaling
would be disable or not.

Change-Id: I0aeddf949a325be630110ece7593c40b7bc80404
2017-08-30 07:25:36 +00:00
Jianghua Wang 0ce6489379 Avoid using sudo in non-interactive execution
By default, sudoers has "requiretty" settings. So it will report
the following error when run sudo in non-interactive script:

sudo: sorry, you must have a tty to run sudo

Actually for the operation on journald.conf in $STAGING_DIR doesn't
require sudo. So let's run it without sudo.

Change-Id: Iea8132f329af122c10d963b88f1aa03814da6593
2017-08-11 03:24:52 +00:00
Jianghua Wang ca220e8e11 Persist journald log storage
Change-Id: I7ca4cad54f40933d3ca88c754c71ad8e30a66ca0
2017-08-10 06:21:35 +00:00
naichuans 85a588e382 os-xenapi: remove install dependence with devstack 2:
Part two: configure ubuntu DomU VM and introduce
install-devstack-xen.sh
Move tools/xen from devstack to os-xenapi which will be the center
place to hold some XenServer/XenAPI specify source code.

This part is used to configure a DomU VM and  install devstack on
domu VM

Change-Id: I20f4663d987266d6ff6d57c5eb3c4447d51f9162
2017-06-19 08:15:54 +00:00