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

Make all keystone v3 services (ProjectService, RoleService,..) work #1222

Merged
merged 15 commits into from
Oct 18, 2018

Conversation

jyothisaroja
Copy link
Contributor

No description provided.

@jyothisaroja
Copy link
Contributor Author

This is a continuation for my previous pull request:1199, in this request, I modified all other keystone services (earlier I modified only IdentityService, now I modified ProjectService, RoleService,..).
@vinodborole Kindly review.

@vinodborole vinodborole merged commit 559c914 into ContainX:master Oct 18, 2018
@jyothisaroja
Copy link
Contributor Author

@vinodborole Thank you.

@jyothisaroja
Copy link
Contributor Author

@vinodborole
I am trying to upload large image data(~2gb) to glance using openstack4j glance v2 APIs, but it's giving me OutOfMemory error. I have gone through the issue: #525
but nothing seems to fix this issue.
Below is the code I'm using:
Image image = os.imagesV2().create(Builders.image().name(imageName+"_testAPP").build());
final Payload payload = Payloads.create(new File(imagePath + "/" + imageName));
image =image.toBuilder().containerFormat(ContainerFormat.BARE).diskFormat(DiskFormat.QCOW2).build();
ActionResponse response = os.imagesV2().upload(image.getId(), payload, image);

The last line gives OutOfMemory error as the image file size is ~2gb.
Please let me know how to get this to work.

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

Successfully merging this pull request may close these issues.

2 participants