Skip to content

CLOUDSTACK-10013: Migrate to Debian9 for systemvmtemplate - #2198

Closed
yadvr wants to merge 1 commit into
apache:masterfrom
shapeblue:debian9-systemvmtemplate
Closed

CLOUDSTACK-10013: Migrate to Debian9 for systemvmtemplate#2198
yadvr wants to merge 1 commit into
apache:masterfrom
shapeblue:debian9-systemvmtemplate

Conversation

@yadvr

Copy link
Copy Markdown
Member

WIP support for Debian9

Refer: #1864

@yadvr

Copy link
Copy Markdown
MemberAuthor

Linked request: jedi4ever/veewee#1106

@wido

wido commented Jul 24, 2017

Copy link
Copy Markdown
Contributor

Looking good! We will probably need a few systemd services with the type OneShot as well, for cloud-early-config and such.

Did you look at that yet?

@yadvr

Copy link
Copy Markdown
MemberAuthor

@wido not yet, still in progress. I'm unable to get partitioning work right, I've asked veewee authors to help with a base debian9 template that I can use, I'm waiting on their comments on the linked request.

${apt_get} -t wheezy-backports install strongswan libcharon-extra-plugins libstrongswan-extra-plugins
sharutils \
keepalived irqbalance open-vm-tools qemu-guest-agent \
strongswan libcharon-extra-plugins libstrongswan-extra-plugins

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

using strongswan needs some extra work in the vpn config python scripts (it is not a one to one replacement). Just wanted to point that out.

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

@resmo but we moved to strongswan since 4.10 see we were installing strongswan from wheezy-backports /cc @swill ?

@resmoresmoJul 24, 2017

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@rhtyd @swill seems I missed that one, and the f045d65 does the changes needed. never mind. :)

@wido

wido commented Jul 26, 2017

Copy link
Copy Markdown
Contributor

@rhtyd: The partitioning is a preseed thing, right? Can you tell what you are stuck on?

It's not a Veewee thing, correct?

@yadvr

Copy link
Copy Markdown
MemberAuthor

@wido it gets stuck and asks questions about some packages, we'll need to go through the questions it is stuck on and configure those boolean/args. See jedi4ever/veewee#1106 discussion.

@wido

wido commented Jul 26, 2017

Copy link
Copy Markdown
Contributor

@rhtyd: Ok, that sounds doable! I've done quite some preseed work. Let me see if I can fix this.

@yadvr
yadvrforce-pushed the debian9-systemvmtemplate branch 4 times, most recently from 4b7809c to 41f16caCompareJuly 28, 2017 13:11
@yadvr

Copy link
Copy Markdown
MemberAuthor

@wido I've got this to a stage where the VM is built and scripts run to install pkgs and configure it. However, given Debian9 is systemd based we'll need a lot of work to migrate existing scripts/code to be systemd aware. I've started some work in this regard but I think it may be a bigger refactoring effort than I previously thought.

@yadvr

Copy link
Copy Markdown
MemberAuthor

a

@yadvr
yadvrforce-pushed the debian9-systemvmtemplate branch 5 times, most recently from 8fcb5d7 to a2fb36dCompareJuly 28, 2017 17:51
@apacheapache deleted a comment from blueorangutanJul 28, 2017
@apacheapache deleted a comment from blueorangutanJul 28, 2017
@apacheapache deleted a comment from blueorangutanJul 28, 2017
@yadvr
yadvrforce-pushed the debian9-systemvmtemplate branch from a2fb36d to 5380da9CompareJuly 28, 2017 18:20
@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-881

 SystemVM changes to work on Debian 9
- Migrate away from chkconfig to systemctl
- Remove xenstore-utils override deb pkg
- Fix runlevel in sysv scripts for systemd
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
@yadvr
yadvrforce-pushed the debian9-systemvmtemplate branch from 5380da9 to 319c457CompareJuly 28, 2017 19:21
@yadvr

Copy link
Copy Markdown
MemberAuthor

Basic template building works now, closing this in favour of #2211 which allows for commits/collaboration with other committers

@yadvryadvr closed this Jul 28, 2017
Sign up for freeto 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

@yadvr@wido@blueorangutan@resmo