invalid network.json file in eucalyptus-default environment
jeevanullas opened this issue · 0 comments
Please update eucalyptus-default.json under environments. It uses an old and not supported network.json. If one uses it the error says:
[2015-01-30T09:10:43Z] PID[2194] TID[owa43aq38] INFO: 10.104.10.1 [2015-01-30T01:10:44-08:00] ERROR: execute[Configure network](eucalyptus::configure line 127) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of source /root/eucarc && //usr/sbin/euca-modify-property -f cloud.network.network_configuration=/root/network.json ----
STDOUT: Error(ModifyPropertyValueType): Unrecognized field "PrivateIps" (Class com.eucalyptus.network.config.Subnet), not marked as ignorable
at [Source: property; line: 16, column: 24](through reference chain: com.eucalyptus.network.config.NetworkConfiguration["Clusters"]->com.eucalyptus.network.config.Cluster["Subnet"]->com.eucalyptus.network.config.Subnet["PrivateIps"])
STDERR:
---- End output of source /root/eucarc && //usr/sbin/euca-modify-property -f cloud.network.network_configuration=/root/network.json ----
Ran source /root/eucarc && //usr/sbin/euca-modify-property -f cloud.network.network_configuration=/root/network.json returned 1
[2015-01-30T09:10:43Z] PID[2194] TID[owa43aq38] INFO: 10.104.10.1 [2015-01-30T01:10:44-08:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Below is a valid json file
{
"InstanceDnsDomain": "eucalyptus.internal",
"InstanceDnsServers": ["8.8.4.4"],
"PublicIps": [
"10.104.3.1-10.104.3.10"
],
"PrivateIps": [
"10.104.3.11-10.104.3.21"
],
"Subnets": [
{
"Subnet": "10.104.0.0",
"Netmask": "255.255.0.0",
"Gateway": "10.104.0.1"
}
]
}
Also we should look at updating the release repo and euca2ools repo in default environment to 4.1