Skip to content

lxc: path support - #23982

Merged
basepi merged 1 commit into
saltstack:developfrom
makinacorpus:lxc_path
Jun 1, 2015
Merged

basepi merged 1 commit into
saltstack:developfrom
makinacorpus:lxc_path

Conversation

@kiorky

@kiorky kiorky commented May 20, 2015

Copy link
Copy Markdown
Contributor

This adds the support for custom path for containers managment, freeing us from the hardcoded /var/lib/lxc.

this will also help to support user containers, as -P switch wasnt supported

depends on #24066 (merged) #24080
refs #23657

@kiorky kiorky changed the title lxc: path support [not ready] lxc: path support May 20, 2015
@kiorky

kiorky commented May 20, 2015

Copy link
Copy Markdown
Contributor Author

@terminalmage @basepi you can begin to review, this is mostly complete, but i stiff need to checkin some stuff for support in clouds/lxc.py and states.

@kiorky

kiorky commented May 20, 2015

Copy link
Copy Markdown
Contributor Author

cc @jpic, is that you is_null on irc ?

@kiorky

kiorky commented May 20, 2015

Copy link
Copy Markdown
Contributor Author

ok, salt cloud side is ok, states is left.

@kiorky

kiorky commented May 20, 2015

Copy link
Copy Markdown
Contributor Author

states support is done, im testing it right now.

@kiorky

kiorky commented May 20, 2015

Copy link
Copy Markdown
Contributor Author

reviewable @terminalmage @basepi

@kiorky kiorky changed the title [not ready] lxc: path support lxc: path support May 20, 2015
@kiorky

kiorky commented May 20, 2015

Copy link
Copy Markdown
Contributor Author

warning, this will make again the lxc module divergent from 2015.5, i m not that sure that this can go in 2015.5 as there is some invasive change, but the maintainance cost of branch divergene is also to consider...

If you want this in 2015.5 just poke me.

@kiorky kiorky closed this May 20, 2015
@kiorky kiorky reopened this May 20, 2015
@kiorky

kiorky commented May 20, 2015

Copy link
Copy Markdown
Contributor Author

im remaking the patches to see if it can be backported a bit more.

@basepi

basepi commented May 20, 2015

Copy link
Copy Markdown
Contributor

The diverging isn't a problem, it happens pretty regularly. New functionality should go to develop branch.

@kiorky kiorky mentioned this pull request May 20, 2015
@kiorky kiorky closed this May 20, 2015
@kiorky kiorky reopened this May 20, 2015
@kiorky kiorky closed this May 20, 2015
@kiorky kiorky reopened this May 20, 2015
@kiorky kiorky closed this May 21, 2015
@kiorky kiorky reopened this May 21, 2015
@jpic

jpic commented May 21, 2015

Copy link
Copy Markdown
Contributor

It's working for me, however I'm blocked by other issue #24017 so that's how far I could test it.

@kiorky

kiorky commented May 21, 2015

Copy link
Copy Markdown
Contributor Author

@jpic discover a bug that just hit users with custom path, we are on it, i think that a path= should have dissappear from all the git foo i did to take the substance that can go in 2015.5

@kiorky

kiorky commented May 21, 2015

Copy link
Copy Markdown
Contributor Author

i do not reproduce the bug, i addressed some lints, on the other hand.

@basepi

basepi commented May 21, 2015

Copy link
Copy Markdown
Contributor

Waiting on #24041

@kiorky

kiorky commented May 21, 2015

Copy link
Copy Markdown
Contributor Author

@basepi rebased, let jenkins selfcheck

@basepi

basepi commented May 21, 2015

Copy link
Copy Markdown
Contributor

OK. I'm actually out of office today, so it may take me awhile before I get a chance to review this.

@kiorky

kiorky commented May 22, 2015

Copy link
Copy Markdown
Contributor Author

hold on merge, ive more to push finally

@kiorky

kiorky commented May 22, 2015

Copy link
Copy Markdown
Contributor Author

@basepi #24066

Comment thread salt/modules/lxc.py Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

s/2015.5.5/Beryllium/

@basepi

basepi commented Jun 1, 2015

Copy link
Copy Markdown
Contributor

@kiorky I was going to comment on all the versionadded changes, but when I realized I was only halfway through the diff, I gave up. Please change all the versionadded directives to Beryllium.

Comment thread salt/modules/lxc.py Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could we rename k to cmd or something more descriptive?

@basepi

basepi commented Jun 1, 2015

Copy link
Copy Markdown
Contributor

@kiorky Alright, it's all reviewed. Just add a new commit with the versionadded changes and the k changes, so I can review the new changes easily. Please don't do a git commit --amend because then it's hard to see what you changed. Thanks!

@kiorky

kiorky commented Jun 1, 2015

Copy link
Copy Markdown
Contributor Author

@basepi no i ll do only one commit there, i ll give you the diff before commiting, believe me, this commit should be reverted if it hurts, we must not split it.

@kiorky

kiorky commented Jun 1, 2015

Copy link
Copy Markdown
Contributor Author

see 4d8f88e @basepi

@kiorky

kiorky commented Jun 1, 2015

Copy link
Copy Markdown
Contributor Author

rebased pushed, enjoy (diff in the above comment)

@basepi

basepi commented Jun 1, 2015

Copy link
Copy Markdown
Contributor

@kiorky Thanks! I will merge this as soon as the tests go green again. =)

Signed-off-by: Mathieu Le Marec - Pasquet <[email protected]>
@kiorky

kiorky commented Jun 1, 2015

Copy link
Copy Markdown
Contributor Author

bc5e1f3673153db20e5b5edc86fa71a7db61e118 @basepi

basepi added a commit that referenced this pull request Jun 1, 2015
@basepi
basepi merged commit e9b3bbb into saltstack:develop Jun 1, 2015
@kiorky
kiorky deleted the lxc_path branch June 8, 2015 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants