Skip to content

Lxc consistency2 - #24080

Merged
basepi merged 15 commits into
saltstack:2015.5from
makinacorpus:lxc_consistency2
May 29, 2015
Merged

basepi merged 15 commits into
saltstack:2015.5from
makinacorpus:lxc_consistency2

Conversation

@kiorky

@kiorky kiorky commented May 22, 2015

Copy link
Copy Markdown
Contributor

depends on #24065
refs #23657
blocks #23982

@kiorky

kiorky commented May 22, 2015

Copy link
Copy Markdown
Contributor Author

this should wait that we sync with @basepi to merge

@kiorky kiorky changed the title Lxc consistency2 [on hold] Lxc consistency2 May 22, 2015
@kiorky kiorky mentioned this pull request May 22, 2015
@jfindlay jfindlay added the pending-changes The pull request needs additional changes before it can be merged label May 22, 2015
kiorky added 12 commits May 22, 2015 23:21
Signed-off-by: Mathieu Le Marec - Pasquet <[email protected]>
Signed-off-by: Mathieu Le Marec - Pasquet <[email protected]>
Signed-off-by: Mathieu Le Marec - Pasquet <[email protected]>
Signed-off-by: Mathieu Le Marec - Pasquet <[email protected]>
Signed-off-by: Mathieu Le Marec - Pasquet <[email protected]>
Signed-off-by: Mathieu Le Marec - Pasquet <[email protected]>
Signed-off-by: Mathieu Le Marec - Pasquet <[email protected]>
This fixes #24071

Signed-off-by: Mathieu Le Marec - Pasquet <[email protected]>
Signed-off-by: Mathieu Le Marec - Pasquet <[email protected]>
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.

@kiorky, I encountered a KeyError here, the value of ret prior to falling into the comprehension is:

[OrderedDict([('lxc.network.type', 'veth')]),
 OrderedDict([('lxc.network.name', 'eth0')]),
 OrderedDict([('lxc.network.flags', 'up')]),
 OrderedDict([('lxc.network.link', 'lxcbr0')]),
 OrderedDict([('lxc.network.hwaddr', 'AC:DE:48:0D:88:79')])]

I think the comprehension should be True not in ['ipv4.gateway' in a for a in ret]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yep.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@cheuschober pushed.

Signed-off-by: Mathieu Le Marec - Pasquet <[email protected]>
@kiorky kiorky changed the title [on hold] Lxc consistency2 Lxc consistency2 May 29, 2015

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/you ll/you'll/

@basepi

basepi commented May 29, 2015

Copy link
Copy Markdown
Contributor

I am going to just merge this and make the two changes I noted above separately.

basepi added a commit that referenced this pull request May 29, 2015
@basepi
basepi merged commit 75590cf into saltstack:2015.5 May 29, 2015
basepi added a commit that referenced this pull request May 29, 2015
@kiorky
kiorky deleted the lxc_consistency2 branch May 30, 2015 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-changes The pull request needs additional changes before it can be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants