[
https://issues.apache.org/jira/browse/CLOUDSTACK-10012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16237636#comment-16237636
]
ASF GitHub Bot commented on CLOUDSTACK-10012:
---------------------------------------------
rhtyd commented on a change in pull request #2226: CLOUDSTACK-10012: Towards
CloudStack fat jar
URL: https://github.com/apache/cloudstack/pull/2226#discussion_r148791182
##########
File path: client/conf/server.properties.in
##########
@@ -0,0 +1,41 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# The binding interface used by the management server
+bind.interface=0.0.0.0
Review comment:
@wido I agree with you, however, for the default I needed to put some
configuration that would work out of the box on most/all systems. I know
several installations where they have put `-Djava.net.preferIPv4Stack=true ` in
their global JAVA opts (or in cloudstack specific env/init/systemd files). That
said, we can have a compromise where I can remove the default value set to
empty, i.e. `bind.interface=`, that way the system picks up the default
interface that could work automatically.
With this approach, on systems without ipv6, this listens on:
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN
And with ipv6 enabled, it listens on:
tcp6 0 0 127.0.0.1:8080 :::* LISTEN
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Migrate to Embedded Jetty based mgmt server
> -------------------------------------------
>
> Key: CLOUDSTACK-10012
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10012
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Rohit Yadav
> Assignee: Rohit Yadav
> Priority: Major
> Fix For: Future, 4.11.0.0
>
>
> CloudStack installation has huge dependency on distro provided tomcat, by
> moving to embedded jetty (like we do use jetty for development) we can sync
> how developers develop/test mgmt servers and users use it. In addition, it
> will be easier to publish pkgs without depending on distro provided
> dependencies.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)