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

automatically use novaclient plugins #15120

Merged
merged 4 commits into from
Aug 21, 2014
Merged

Conversation

gtmanfred
Copy link
Contributor

no more having to specify what module the extension should overwrite

https://pypi.python.org/pypi?:action=search&term=_python_novaclient_ext&submit=search

no more having to specify what module the extension should overwrite
this allows for specifying stuff to configure novaclient plugins, in the
cloud.profiles, such as public: False service_net: True
@ghost
Copy link

ghost commented Aug 20, 2014

Test Failed.

If the failures are unrelated to your code, don't stress, a core developer will know these apart.
In the future, if possible, please branch off a passing commit to avoid false positives.
Refer to this link for build results: http://jenkins.saltstack.com/job/salt-pr-build/7128/

@ghost
Copy link

ghost commented Aug 20, 2014

Test Failed.

If the failures are unrelated to your code, don't stress, a core developer will know these apart.
In the future, if possible, please branch off a passing commit to avoid false positives.
Refer to this link for build results: http://jenkins.saltstack.com/job/salt-pr-build/7129/

@ghost
Copy link

ghost commented Aug 20, 2014

Test Failed.

If the failures are unrelated to your code, don't stress, a core developer will know these apart.
In the future, if possible, please branch off a passing commit to avoid false positives.
Refer to this link for build results: http://jenkins.saltstack.com/job/salt-pr-build/7130/

@ghost
Copy link

ghost commented Aug 20, 2014

Test Failed.

If the failures are unrelated to your code, don't stress, a core developer will know these apart.
In the future, if possible, please branch off a passing commit to avoid false positives.
Refer to this link for build results: http://jenkins.saltstack.com/job/salt-pr-build/7131/

techhat added a commit that referenced this pull request Aug 21, 2014
automatically use novaclient plugins
@techhat techhat merged commit 1f642d8 into saltstack:develop Aug 21, 2014
@gtmanfred
Copy link
Contributor Author

@techhat @thatch45 i would really like to see this get merged back into 2014.7 if at all possible, since this is a new driver for 2014.7 anyway.

@rallytime
Copy link
Contributor

Can we hold of on backporting this, please? There have been some very fishy test-failures on the develop branch and they're pointing to this PR merge. Haven't figured out why yet, but @cachedout and I are looking into it.

@gtmanfred
Copy link
Contributor Author

https://github.com/saltstack/salt/pull/15120/files#diff-87e66d53ad1a09e0e96e344a932839f3L421

Check this change, this would be my guess as to why it might be failling.

@rallytime
Copy link
Contributor

@gtmanfred - Yeah, you're right. This is breaking our tests with OSError: [Errno 12] Cannot allocate memory errors all over the place. Is there a more efficient way to implement this?

@gtmanfred
Copy link
Contributor Author

I know what the problem is, but I don't know a good solution... give me a bit.

It is adding the modify_body_for_create hook a ton of times and probably causing a memory leak cause it never checks if that function was added or not, this really should be fixed by upstream, but I am going to see if I can fix it.

@gtmanfred
Copy link
Contributor Author

http://ix.io/dZ8

I think this will fix it, it will make sure that the extensions don't continue getting loaded and cause it to cascade out of control.

@thatch45
Copy link
Contributor

I am going to revert these because it is not fixing it. We will need to just take this one a little more slowly

@gtmanfred
Copy link
Contributor Author

I blame novaclient for this... they did extensions the worst possible way.

Did yall get any idea what was actually taking up all the memory?

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.

4 participants