This repository was archived by the owner on Jun 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
This repository was archived by the owner on Jun 4, 2021. It is now read-only.
Localhost deployment fails on Aliyun #889
Copy link
Copy link
Open
Labels
area/hostarea/provisioningkind/bugkind/networkprovider/localhoststatus/help-wantedFor items we'd love help withFor items we'd love help with
Description
Expected behavior:
edit: going to put all the issues I found with deploying to aliyun in here:
streisand_ipv4_addressshould be set to the external IP- ss config.json should be owned by root:nogroup instead of root:root
- unattended-upgrades service starts automatically.
- openVPN firewall service starts automatically.
ss-serverstarts automatically.
Actual Behavior:
streisand_ipv4_addressgets set to instance's internal IP when deploying with localhost playbook on aliyun, which causes most services to break.- SS config.json is owned by root:root
- unattended-upgrades service does not start
- openVPN firewall service does not start
- using the external ip in
config.jsondoes not bind properly andss-serverfails to start.
Solutions:
- allow user to spec the external IP in a prompt, otherwise continue to do our best effort to get the IP.
- change ownership to
root:nogroup - ?
- ?
- use '0.0.0.0' as the server address in the
config.json.
Additional Details:
Log output from Ansible or other relevant services (link to Gist for longer output):
- SS config:
systemd[1]: Started Shadowsocks-libev Default Server Service.
-- Subject: Unit shadowsocks-libev.service has finished start-up
-- Defined-By: systemd
-- Unit shadowsocks-libev.service has finished starting up.
--
-- The start-up result is done.
ss-server[16718]: 2017-08-19 11:29:44 ERROR: Invalid config path.
systemd[1]: shadowsocks-libev.service: Main process exited, code=exited, status=255/n/a
systemd[1]: shadowsocks-libev.service: Unit entered failed state.
systemd[1]: shadowsocks-libev.service: Failed with result 'exit-code'.
Target Cloud Provider: Aliyun
Operating System of target host: Ubuntu 16.04
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/hostarea/provisioningkind/bugkind/networkprovider/localhoststatus/help-wantedFor items we'd love help withFor items we'd love help with