Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker connector kills erocci because has boolean attributes #173

Closed
mdutoo opened this issue Oct 7, 2016 · 2 comments
Closed

Docker connector kills erocci because has boolean attributes #173

mdutoo opened this issue Oct 7, 2016 · 2 comments
Assignees

Comments

@mdutoo
Copy link

mdutoo commented Oct 7, 2016

Docker connector kills erocci when used through erocci-dbus-java:

=ERROR REPORT==== 7-Oct-2016::17:34:36 ===
[line 36] parse error: {xml, <<"Unexpected error: badarg">>}

The cause is that the Docker OCCI extension has boolean attributes (ex. "privileged"), which are not supported by erocci, just as said in erocci/erocci#85 . Workaround is to [rather use Enums][http://occiware.github.io/content/user-guides/snapshot/howtos.html), upgrade erocci or not use it just the same.

@cgourdin
Copy link
Member

Could you try this with MART server ? I didn't try boolean attribute value on json files on my test sessions. If it's not working i'll made an upgrade.
In your json representation file, do you have a field like this :
"privileged": true ==> this is a boolean
Or like this :
"privileged": "true" ==> this is a string

@fifiant
Copy link
Member

fifiant commented Jan 16, 2017

@mdutoo the corrections provided by @cgourdin fix your problem ?

mdutoo pushed a commit that referenced this issue Aug 3, 2017
…robust => robustness) rather than booleans which are unsupported by erocci #173
@cgourdin cgourdin closed this as completed Dec 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants