Dear slapos team,
i have read and followed the tutorial of slapos master at http://community.slapos.org/developer-Allocate.SlapOS.Master.cluster.Instance. I successfully installed software with slapos supply , but when i created instance with slapos request(like the tutorial), error showed like this:
[2017-05-08 10:42:26,186] DEBUG Check if slappart14 requires processing...
[2017-05-08 10:42:26,191] INFO Processing Computer Partition slappart14.
[2017-05-08 10:42:26,192] INFO Software URL: https://lab.nexedi.com/nexedi/slapos/raw/master/software/slapos-master/software.cfg
[2017-05-08 10:42:26,192] INFO Software path: /opt/slapgrid/bcb8fbfbae583c14297f14ec8ebc3724
[2017-05-08 10:42:26,192] INFO Instance path: /srv/slapgrid/slappart14
[2017-05-08 10:42:26,193] INFO Instance status: started
[2017-05-08 10:42:26,193] INFO Installing Computer Partition slappart14...
[2017-05-08 10:42:26,193] DEBUG Overridden HOME = '/srv/slapgrid/slappart14'
[2017-05-08 10:42:26,194] DEBUG Copying '/opt/slapgrid/bcb8fbfbae583c14297f14ec8ebc3724/template.cfg' to '/srv/slapgrid/slappart14/buildout.cfg'
[2017-05-08 10:42:26,195] INFO Falling back to default buildout '/opt/slapgrid/bcb8fbfbae583c14297f14ec8ebc3724/bin/buildout'
[2017-05-08 10:42:26,196] DEBUG Set umask from 022 to 027
[2017-05-08 10:42:26,196] DEBUG Invoking: '/opt/slapos/parts/python2.7/bin/python2.7 /opt/slapgrid/bcb8fbfbae583c14297f14ec8ebc3724/bin/buildout -U' in directory '/srv/slapgrid/slappart14'
[2017-05-08 10:42:26,197] DEBUG Overridden HOME = '/srv/slapgrid/slappart14'
[2017-05-08 10:42:26,199] DEBUG Succesfully dropped privileges to uid=983 gid=1016
[2017-05-08 10:42:26,204] INFO 2017-05-08 10:42:26 slapos[10030] DEBUG Succesfully dropped privileges to uid=983 gid=1016
[2017-05-08 10:42:27,256] INFO Updating slap-configuration.
[2017-05-08 10:42:27,258] INFO Updating dynamic-template-balancer.
[2017-05-08 10:42:27,259] INFO Installing switch-softwaretype.
[2017-05-08 10:42:27,505] INFO While:
[2017-05-08 10:42:27,506] INFO Initializing.
[2017-05-08 10:42:27,507] INFO
[2017-05-08 10:42:27,507] INFO An internal error occurred due to a bug in either zc.buildout or in a
[2017-05-08 10:42:27,508] INFO recipe being used:
[2017-05-08 10:42:27,508] INFO Traceback (most recent call last):
[2017-05-08 10:42:27,509] INFO File "/opt/slapgrid/bcb8fbfbae583c14297f14ec8ebc3724/eggs/zc.buildout-2.5.2+slapos007-py2.7.egg/zc/buildout/buildout.py", line 2209, in main
[2017-05-08 10:42:27,510] INFO user_defaults, command, args)
[2017-05-08 10:42:27,510] INFO File "/opt/slapgrid/bcb8fbfbae583c14297f14ec8ebc3724/eggs/zc.buildout-2.5.2+slapos007-py2.7.egg/zc/buildout/buildout.py", line 307, in __init__
[2017-05-08 10:42:27,511] INFO data['buildout'].copy(), override, set()))
[2017-05-08 10:42:27,512] INFO File "/opt/slapgrid/bcb8fbfbae583c14297f14ec8ebc3724/eggs/zc.buildout-2.5.2+slapos007-py2.7.egg/zc/buildout/buildout.py", line 1794, in _open
[2017-05-08 10:42:27,513] INFO fp, filename_for_logging, _default_globals)
[2017-05-08 10:42:27,513] INFO File "/opt/slapgrid/bcb8fbfbae583c14297f14ec8ebc3724/eggs/zc.buildout-2.5.2+slapos007-py2.7.egg/zc/buildout/configparser.py", line 234, in parse
[2017-05-08 10:42:27,513] INFO raise e
[2017-05-08 10:42:27,529] INFO ParsingError: File contains parsing errors: /srv/slapgrid/slappart14/parts/dynamic-template-balancer/instance-balancer.cfg
[2017-05-08 10:42:27,531] INFO [line 113]: ' < = logrotate-entry-base\n'
[2017-05-08 10:42:27,535] INFO While:
[2017-05-08 10:42:27,536] INFO Installing switch-softwaretype.
[2017-05-08 10:42:27,537] INFO
[2017-05-08 10:42:27,537] INFO An internal error occurred due to a bug in either zc.buildout or in a
[2017-05-08 10:42:27,538] INFO recipe being used:
[2017-05-08 10:42:27,539] INFO Traceback (most recent call last):
[2017-05-08 10:42:27,539] INFO File "/opt/slapgrid/bcb8fbfbae583c14297f14ec8ebc3724/eggs/zc.buildout-2.5.2+slapos007-py2.7.egg/zc/buildout/buildout.py", line 2210, in main
[2017-05-08 10:42:27,540] INFO getattr(buildout, command)(args)
[2017-05-08 10:42:27,540] INFO File "/opt/slapgrid/bcb8fbfbae583c14297f14ec8ebc3724/eggs/zc.buildout-2.5.2+slapos007-py2.7.egg/zc/buildout/buildout.py", line 636, in install
[2017-05-08 10:42:27,541] INFO self._install_parts(install_args)
[2017-05-08 10:42:27,549] INFO File "/opt/slapgrid/bcb8fbfbae583c14297f14ec8ebc3724/eggs/zc.buildout-2.5.2+slapos007-py2.7.egg/zc/buildout/buildout.py", line 805, in _install_parts
[2017-05-08 10:42:27,550] INFO installed_files = self[part]._call(recipe.install)
[2017-05-08 10:42:27,550] INFO File "/opt/slapgrid/bcb8fbfbae583c14297f14ec8ebc3724/eggs/zc.buildout-2.5.2+slapos007-py2.7.egg/zc/buildout/buildout.py", line 1578, in _call
[2017-05-08 10:42:27,550] INFO return f()
[2017-05-08 10:42:27,551] INFO File "/opt/slapgrid/bcb8fbfbae583c14297f14ec8ebc3724/parts/slapos.cookbook-repository/slapos/recipe/switch_softwaretype.py", line 60, in install
[2017-05-08 10:42:27,551] INFO subprocess.check_call(args + ["-oc", buildout])
[2017-05-08 10:42:27,552] INFO File "/opt/slapos/parts/python2.7/lib/python2.7/subprocess.py", line 541, in check_call
[2017-05-08 10:42:27,552] INFO raise CalledProcessError(retcode, cmd)
[2017-05-08 10:42:27,553] INFO CalledProcessError: Command '['/opt/slapgrid/bcb8fbfbae583c14297f14ec8ebc3724/bin/buildout', '-U', 'slap-connection:cert-file=', 'slap-connection:server-url=http://127.0.0.1:8080', 'slap-connection:partition-id=slappart14', 'slap-connection:key-file=', 'slap-connection:software-release-url=https://lab.nexedi.com/nexedi/slapos/raw/master/software/slapos-master/software.cfg', 'slap-connection:computer-id=local_computer', 'buildout:directory=/srv/slapgrid/slappart14', 'buildout:eggs-directory=/opt/slapgrid/bcb8fbfbae583c14297f14ec8ebc3724/eggs', 'buildout:develop-eggs-directory=/opt/slapgrid/bcb8fbfbae583c14297f14ec8ebc3724/develop-eggs', 'buildout:installed=.installed-switch-softwaretype.cfg', '-oc', '/srv/slapgrid/slappart14/parts/dynamic-template-balancer/instance-balancer.cfg']' returned non-zero exit status 1
[2017-05-08 10:42:27,581] ERROR Failed to run buildout profile in directory '/srv/slapgrid/slappart14'
[2017-05-08 10:42:27,581] DEBUG Restore umask from 027 to 022
[2017-05-08 10:42:27,591] INFO Finished computer partitions.
How to solve that problem?
regards