TritonDataCenter / smartos-live

For more information, please see http://smartos.org/ For any questions that aren't answered there, please join the SmartOS discussion list: https://smartos.topicbox.com/groups/smartos-discuss
1.58k stars 248 forks source link

Abort (core dumped) #192

Open NukeRusich opened 11 years ago

NukeRusich commented 11 years ago

So, I'm unable to find a support area, so based on illumos itself having support on the issue tracker, I'll just come here for SmartOS.

SmartOS Live Image v0.147+ build: 20130222T000747Z (remotely hosted dedicated server)

I keep getting "Abort (core dumped)", no matter what I do to the file. Based on issues extant prior to my posting, I'd say that they're issues with the manifest, but anyway, here's my error:

UNCAUGHT EXCEPTION (a0fe07b9): dumping core

Object.fs.open (fs.js:330:11)
Object.fs.readFile (fs.js:116:6)
readFile (/usr/vm/sbin/vmadm:634:8)
main (/usr/vm/sbin/vmadm:772:9)
/usr/vm/sbin/vmadm:1077:5
exports.rootInSmartosGlobal (/usr/node/0.8/node_modules/onlyif.js:44:9)
ChildProcess.exithandler (child_process.js:538:7)
ChildProcess.EventEmitter.emit (events.js:99:17)
maybeClose (child_process.js:638:16)
Process._handle.onexit (child_process.js:680:5)
Abort (core dumped)

And here is my manifest:

{                              
 "brand": "joyent",            
 "image_uuid": "cf7e2f40-9276-11e2-af9a-0bad2233fb0b",
 "alias": "ekunia-v1.2",             
 "hostname": "ekunia-v1.2",          
 "max_physical_memory": 32340,   
 "zfs_root_compression": "lzjb",
 "dns_domain": "ekunia.com",    
 "quota": 0,                  
 "nics": [                     
  {                            
    "nic_tag": "admin",        
    "ip": "192.95.30.28",       
    "netmask": "ffffff00",
    "mac": "82:3c:a3:ac:44:33",
    "gateway": "192.95.30.28",    
  }                            
 ]                             
}

I have also tried to change out the zone image (thus v1.2), remove the ZFS root compression, dataset_uuid, the dns_domain, and some other things that I probably wouldn't easily remember.

I'd like to thank those who try to help me in advance.

MerlinDMC commented 11 years ago

The exception is thrown because JSON.parse is not happy about syntax errors.

Remove the trailing comma after the gateway definition and set a netmask in dotted form (255.255.255.0).

There should be a better exception handling/error message - if possible.

NukeRusich commented 11 years ago

Thank you, MerlinDMC. It is now provisioning.

EDIT:

STATE failed