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

ncm-opennebula: Open vSwitch support and VNET pools #466

Merged
merged 13 commits into from
Apr 27, 2015

Conversation

alvarosimon
Copy link
Member

This PR includes several bug fixes and new features:

"type" : string = 'FIXED' VNET option is deprecated since OpenNebula 4.8.x and it was removed (now this option is included within AR address range pools ). This is a backwards incompatible change so OpenNebula component requires ONE version 4.8.x or above.

NOTE: This PR requires a new pan/type type_uuid Included in quattor/template-library-core#64

@hpcugentbot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/NCM_Components-pull_requests/611/
Test PASSed.

@@ -133,6 +134,19 @@ type opennebula_ceph_datastore = {
"rbd_format" ? long(1..2)
};

@{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all the annotations must be fixed according to http://quattor-pan.readthedocs.org/en/latest/pan-book/pan-book.html#annotations. in particular, the annotation for a type has to start with @documentation{, should be simple search and replace

@stdweird stdweird added this to the 15.4 milestone Apr 3, 2015
@stdweird
Copy link
Member

stdweird commented Apr 3, 2015

@alvarosimon minor remarks, i don't mind the backwards incompatible stuff if this goes in 15.4
@jrha thoughts?

@alvarosimon
Copy link
Member Author

@stdweird @jrha about the backwards incompatible stuff like:
"type" : string = 'FIXED'
yes this is deprecated since ONE 4.8.0 and we don't support versions below this, so it's safe to remove this. In fact we are still including this value in our templates but it is ignored by the new opennebula versions.

@hpcugentbot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/NCM_Components-pull_requests/613/
Test PASSed.

@hpcugentbot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/NCM_Components-pull_requests/614/
Test PASSed.

@stdweird
Copy link
Member

stdweird commented Apr 8, 2015

@alvarosimon LGTM, simply change the title of the PR and give some feedback wrt testing

@alvarosimon alvarosimon changed the title Opennebula Open vSwitch support and VNET pools ncm-opennebula: Open vSwitch support and VNET pools Apr 8, 2015
@alvarosimon
Copy link
Member Author

@stdweird the PR name was changed, I will test this with the current perl-Net-OpenNebula version during the next days...

@hpcugentbot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/NCM_Components-pull_requests/617/
Test FAILed.

@stdweird
Copy link
Member

stdweird commented Apr 8, 2015

test this please

@hpcugentbot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/NCM_Components-pull_requests/620/
Test PASSed.

@alvarosimon
Copy link
Member Author

Tested in altaria, no issues found. The vnet pool creation also works with the current perl-Net-OpenNebula version, and that's great 😄

@@ -75,4 +92,6 @@ prefix "/software/components/opennebula";
);

"ssh_multiplex" = true;
"host_hyp" = "kvm";
"host_ovs" = true;
"tm_system_ds" = "ssh";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add the missing newline at the end of this file please.

@jrha
Copy link
Member

jrha commented Apr 17, 2015

Cool, I'm happy with this (newline excepted). Any other comments before merge?

@hpcugentbot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/NCM_Components-pull_requests/628/
Test PASSed.

@alvarosimon
Copy link
Member Author

@jrha done! remarks addressed

"network_mask" = "255.255.0.0";
"vlan" = true;
"vlan_id" = 0;
"ar" = nlist(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dict(

@jrha
Copy link
Member

jrha commented Apr 17, 2015

You could consider replacing all nlist with dict.

@hpcugentbot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/NCM_Components-pull_requests/630/
Test PASSed.

@hpcugentbot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/NCM_Components-pull_requests/631/
Test PASSed.

@hpcugentbot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/NCM_Components-pull_requests/632/
Test PASSed.

@hpcugentbot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/NCM_Components-pull_requests/638/
Test FAILed.

@alvarosimon
Copy link
Member Author

@jrha remarks addressed, I think that now is ok, let me know if we need to change something else. About the new type_uuid I have created a new PR in template-library-core repo.

@jrha
Copy link
Member

jrha commented Apr 21, 2015

Awesome thanks! The tests will fail here until quattor/template-library-core#64 is merged.

@jrha
Copy link
Member

jrha commented Apr 27, 2015

retest this please

@hpcugentbot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/NCM_Components-pull_requests/639/
Test FAILed.

@jrha
Copy link
Member

jrha commented Apr 27, 2015

@stdweird, does Jenkins need to update template-library-core?

@stdweird
Copy link
Member

@jrha, yes, i'll automate that once it has unittests of its own

@stdweird
Copy link
Member

test this please

@hpcugentbot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/NCM_Components-pull_requests/641/
Test PASSed.

@jrha
Copy link
Member

jrha commented Apr 27, 2015

Awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants