Probably this is the reason:
Regards,
--
Jarosław Owsiewski
2016-02-17 15:28 GMT+01:00 Alexandr Porunov <alexandr.porunov@xxxxxxxxx>:
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 gatewayceph-deploy admin gatewayceph-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 gatewayAfter this I try to restart rados gateway:systemctl restart ceph-radosgw@rgw.gatewayBut 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:1672016-02-17 16:06:03.766976 7f3a9215d880 0 ceph version 9.2.0 (bb2ecea240f3a1d525bcb35670cb07bd1f0ca299), process radosgw, pid 28102016-02-17 16:06:03.859469 7f3a9215d880 0 framework: civetweb2016-02-17 16:06:03.859480 7f3a9215d880 0 framework conf key: port, val: 802016-02-17 16:06:03.859488 7f3a9215d880 0 starting handler: civetweb2016-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=-22016-02-17 16:06:03.876516 7f3a5f7fe700 0 ERROR: sync_user() failed, user=alex ret=-2I 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
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com