MAAS Region install fails to open shared memory segment.
This commit is contained in:
parent
8be843c2a8
commit
9f78f379e4
|
@ -99,31 +99,32 @@ class InstallpathModel(object):
|
|||
'904-maas': ['mount', '-o', 'bind', '/proc', t('proc')],
|
||||
'905-maas': ['mount', '-o', 'bind', '/sys', t('sys')],
|
||||
'906-maas': ['mount', '-o', 'bind', '/dev', t('dev')],
|
||||
'907-maas': ['mount', '-o', 'bind', t('bin/true'),
|
||||
'907-maas': ['mount', '-o', 'bind', '/dev/shm', t('dev/shm')],
|
||||
'908-maas': ['mount', '-o', 'bind', t('bin/true'),
|
||||
t('usr/sbin/invoke-rc.d')],
|
||||
'908-maas': ['chroot', self.target, 'sh', '-c',
|
||||
'909-maas': ['chroot', self.target, 'sh', '-c',
|
||||
'pg_ctlcluster --skip-systemctl-redirect '
|
||||
'$(/bin/ls /var/lib/postgresql/) main start'],
|
||||
# These are called like this, because reconfigure doesn't
|
||||
# create nor change an admin user account, nor regens the
|
||||
# semi-autogenerated maas-url
|
||||
'909-maas':
|
||||
'910-maas':
|
||||
['chroot', self.target, 'sh', '-c', (
|
||||
'debconf -fnoninteractive -omaas-region-controller '
|
||||
'/var/lib/dpkg/info/maas-region-controller.config '
|
||||
'configure')],
|
||||
'910-maas':
|
||||
'911-maas':
|
||||
['chroot', self.target, 'sh', '-c', (
|
||||
'debconf -fnoninteractive -omaas-region-controller '
|
||||
'/var/lib/dpkg/info/maas-region-controller.postinst '
|
||||
'configure')],
|
||||
'911-maas': ['chroot', self.target, 'sh', '-c', (
|
||||
'912-maas': ['chroot', self.target, 'sh', '-c', (
|
||||
'pg_ctlcluster --skip-systemctl-redirect '
|
||||
'$(/bin/ls /var/lib/postgresql/) main stop')],
|
||||
'912-maas': ['umount', t('usr/sbin/invoke-rc.d')],
|
||||
'913-maas': ['umount', t('dev')],
|
||||
'914-maas': ['umount', t('sys')],
|
||||
'915-maas': ['umount', t('proc')],
|
||||
'913-maas': ['umount', t('usr/sbin/invoke-rc.d')],
|
||||
'914-maas': ['umount', t('dev')],
|
||||
'915-maas': ['umount', t('sys')],
|
||||
'916-maas': ['umount', t('proc')],
|
||||
}
|
||||
elif self.path == 'maas_rack':
|
||||
config['debconf_selections'] = {
|
||||
|
|
Loading…
Reference in New Issue