Page 3 of 13 FirstFirst 12345 ... LastLast
Results 21 to 30 of 130

Thread: Lucid and OpenVZ and/or LXC ?

  1. #21
    Join Date
    Oct 2007
    Beans
    34

    Re: Lucid and OpenVZ and/or LXC ?

    Really? I know where the arch forums are, believe me... I posted that because anyone who is serious about using lxc in production will be able to glean much valuable information from those scripts. They work. Right now. Did I mention it will soon work for ubuntu? I think so... It only needs a small amount of work to work with ubuntu. Of course there is always the option of writing a solution from scratch yourself, after the pain of research that I have already endured.

    They contain direction about how to get information from the cgroup filesystem, how to create a NAT bridge, lxc config file examples, the kernel configuration, devpts configuration, and many other things that you will need to understand.

    unfortunately, I don't have the time to get ubuntu working flawlessly as a host or container ATM. I put that out there as an oppurtunity for you to get a jumpstart into lxc by looking at a working implementation, that is all.
    Last edited by sweetsinse; January 29th, 2010 at 06:05 PM.

  2. #22
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Lucid and OpenVZ and/or LXC ?

    Quote Originally Posted by sweetsinse View Post
    Really? I know where the arch forums are, believe me... I posted that because anyone who is serious about using lxc in production will be able to glean much valuable information from those scripts. They work. Right now. Did I mention it will soon work for ubuntu? I think so... It only needs a small amount of work to work with ubuntu. Of course there is always the option of writing a solution from scratch yourself, after the pain of research that I have already endured.

    They contain direction about how to get information from the cgroup filesystem, how to create a NAT bridge, lxc config file examples, the kernel configuration, devpts configuration, and many other things that you will need to understand.

    unfortunately, I don't have the time to get ubuntu working flawlessly as a host or container ATM. I put that out there as an oppurtunity for you to get a jumpstart into lxc by looking at a working implementation, that is all.
    Thank you for sharing your scripts. I agree there is some generic information there, I also agree they are indeed sophistocated, give people time to digest the info.

    Along those lines, I tried to get your scipts, but it did not work.

    I entered

    Code:
    git clone git://devel.extof.me/vps
    And nothing happened, no error message.

    Is there something about git I do not understand ?
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  3. #23
    Join Date
    Oct 2007
    Beans
    34

    Re: Lucid and OpenVZ and/or LXC ?

    you should see something like this:
    Code:
    cr@extofme-m0 ~/hi $ git clone git://devel.extof.me/vps
    Initialized empty Git repository in /home/cr/hi/vps/.git/
    remote: Counting objects: 56, done.
    remote: Compressing objects: 100% (49/49), done.
    remote: Total 56 (delta 8), reused 0 (delta 0)
    Receiving objects: 100% (56/56), 18.74 KiB, done.
    Resolving deltas: 100% (8/8), done.
    cr@extofme-m0 ~/hi $ ls -l vps/
    total 0
    drwxr-xr-x 1 cr cr 14 Jan 29 11:30 def
    drwxr-xr-x 1 cr cr 20 Jan 29 11:30 dom
    drwxr-xr-x 1 cr cr 20 Jan 29 11:30 log
    drwxr-xr-x 1 cr cr 20 Jan 29 11:30 tpl
    drwxr-xr-x 1 cr cr 42 Jan 29 11:30 usr
    drwxr-xr-x 1 cr cr 26 Jan 29 11:30 var
    cr@extofme-m0 ~/hi $
    you have git installed right? i think the package is called git-core (i know its not called git) in ubuntu. also my DNS maybe hasnt fully propagated yet, try:
    Code:
    git clone git://extof.me/vps

  4. #24
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Lucid and OpenVZ and/or LXC ?

    The repository is working now, thank you
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  5. #25

    Re: Lucid and OpenVZ and/or LXC ?

    Ok sweetsinse, I didn't understood the contribution.
    Narcis Garcia

  6. #26
    Join Date
    Oct 2007
    Beans
    34

    Re: Lucid and OpenVZ and/or LXC ?

    if i can get a static copy of debootstrap, i can work on building a lucid container under my working host.

    is that what this package is:

    http://packages.debian.org/squeeze/cdebootstrap-static

    seems like it but i haven't tried yet; perhaps one of you already knows. my host is arch so i have to convert the package (i.e. i need to get debootstrap working in non debian), would rather not waste time if its not what i need.

    EDIT: actually it looks like arch has a copy of debootstrap in the user repositories (AUR). i'll see what i can do.
    Last edited by sweetsinse; January 29th, 2010 at 08:19 PM.

  7. #27
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Lucid and OpenVZ and/or LXC ?

    http://packages.ubuntu.com/lucid/debootstrap

    The version from Arch will almost certainly pull Debian.

    You can specify the repo on the command line :

    https://help.ubuntu.com/9.10/install...x-upgrade.html
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  8. #28
    Join Date
    Oct 2007
    Beans
    34

    Re: Lucid and OpenVZ and/or LXC ?

    bodhi.zazen, im getting the same probs as _i think_ you mentioned before:
    Code:
    ph1 ~ # lxc-start -n guest-test-ubuntu_lucid
    init: ureadahead main process (4) terminated with status 5
    mountall: Could not connect to Plymouth                   
    mountall: Event failed                                    
    mountall: Event failed                                    
    mountall: Event failed
    after which upstart sems to do nothing. im not as familiar with upstart... is there a way to enable more verbose output? or what have you done so far?

    this was a raw bootstrap of lucid with no alterations yet, although im going to keep hacking at it

  9. #29
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Lucid and OpenVZ and/or LXC ?

    Quote Originally Posted by sweetsinse View Post
    bodhi.zazen, im getting the same probs as _i think_ you mentioned before:
    Code:
    ph1 ~ # lxc-start -n guest-test-ubuntu_lucid
    init: ureadahead main process (4) terminated with status 5
    mountall: Could not connect to Plymouth                   
    mountall: Event failed                                    
    mountall: Event failed                                    
    mountall: Event failed
    after which upstart sems to do nothing. im not as familiar with upstart... is there a way to enable more verbose output? or what have you done so far?

    this was a raw bootstrap of lucid with no alterations yet, although im going to keep hacking at it
    I believe it is a problem with the upstart scripts as well, similar problems with Ubuntu openvz templates.

    I tried using the same scripts as from an Ubuntu 9.10 openvz template, no joy.

    Need to look at the boot scripts, but I am not overly familiar with them either, lol.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  10. #30
    Join Date
    Jan 2008
    Beans
    4,757

    Re: Lucid and OpenVZ and/or LXC ?

    Thanks for this thread (bodhi poked me to have a look at it after having some minor interest).

    I'll have a play, and see if I can get anything working.

Page 3 of 13 FirstFirst 12345 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •