[infinispan-issues] [JBoss JIRA] (ISPN-4653) Local host name missing in /etc/hosts on RH CI agents
Dan Berindei (JIRA)
issues at jboss.org
Wed Aug 20 07:11:30 EDT 2014
[ https://issues.jboss.org/browse/ISPN-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Berindei resolved ISPN-4653.
--------------------------------
Resolution: Done
The solution was to configure {{cloud-init}} to update {{/etc/hosts}} on startup:
{noformat:title=/etc/cloud/cloud.cfg.d/10_hosts.cfg}
#cloud-config
manage_etc_hosts: true
{noformat}
> Local host name missing in /etc/hosts on RH CI agents
> -----------------------------------------------------
>
> Key: ISPN-4653
> URL: https://issues.jboss.org/browse/ISPN-4653
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Build process
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Labels: testsuite_stability
> Fix For: 7.0.0.Beta1
>
>
> The host name in {{/etc/sysconfig/network}} did not match any entry in {{/etc/hosts}}, causing this error:
> {noformat}
> [15:18:54] : [org.infinispan:infinispan-persistence-cli] Error:
> Exception thrown by the agent : java.net.MalformedURLException: Local host name unknown:
> java.net.UnknownHostException: infinispan-ci-1.osop.rhcloud.com: infinispan-ci-1.osop.rhcloud.com:
> Name or service not known
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the infinispan-issues
mailing list