Hello,
I have problem with port changes of rados gateway node.
I don't know why but I cannot change listening port of civetweb.
My steps to install radosgw:
ceph-deploy install --rgw gateway
ceph-deploy admin gateway
ceph-deploy create rgw gateway
(gateway starts on port 7480 as expected)
To change the port I add the following lines to ceph.conf:
[client.rgw.gateway]
rgw_frontends = "civetweb port=80"
then I update it on all nodes:
ceph-deploy --overwrite-conf config push admin-node node1 node2 node3 gateway
After this I try to restart rados gateway:
systemctl restart ceph-radosgw@rgw.gateway
But after restart it doesn't work and /var/log/ceph/ceph-client.rgw.gateway.log shows this:
2016-02-17 16:06:03.766890 7f3a9215d880 0 set uid:gid to 167:167
2016-02-17 16:06:03.766976 7f3a9215d880 0 ceph version 9.2.0 (bb2ecea240f3a1d525bcb35670cb07bd1f0ca299), process radosgw, pid 2810
2016-02-17 16:06:03.859469 7f3a9215d880 0 framework: civetweb
2016-02-17 16:06:03.859480 7f3a9215d880 0 framework conf key: port, val: 80
2016-02-17 16:06:03.859488 7f3a9215d880 0 starting handler: civetweb
2016-02-17 16:06:03.859534 7f3a9215d880 0 civetweb: 0x7f3a92846b00: set_ports_option: cannot bind to 80: 13 (Permission denied)
2016-02-17 16:06:03.876508 7f3a5f7fe700 0 ERROR: can't read user header: ret=-2
2016-02-17 16:06:03.876516 7f3a5f7fe700 0 ERROR: sync_user() failed, user=alex ret=-2
I have added 80 port to iptables and I haven't any firewalls on nodes.
Please help me change the port.
Regards, Alexandr
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com