Re: [Fwd: Ubuntu Core 16 beta images available]

2016-09-11 Thread Simos Xenitellis
On Thu, Sep 8, 2016 at 5:14 PM, Oliver Grawert  wrote:
> hi,
> On Do, 2016-09-08 at 16:56 +0300, Simos Xenitellis wrote:
>> Hi All,
>>
>> I tried the instructions at https://developer.ubuntu.com/en/snappy/st
>> art/
>> in order to get the new Beta images at
>> http://cdimage.ubuntu.com/ubuntu-snappy/16.04/current/
>> to work on locally on KVM on Linux.
>
> well, that will only start to work once the series 16 images are
> actually released, until then the website will keep point to the
> official 15.04 release indeed :)
>
> these images are betas ...
>
>>
>> Two issues:
>>
>> 1. The command to start kvm should better be like
>>
>> kvm -m 512M -redir :8090::80 -redir :8022::22 -drive
>> format=raw,file=ubuntu-core-16-amd64.img
>>
>> (instead of  kvm -m 512 -redir :8090::80 -redir :8022::22
>> ubuntu-15.04-snappy-amd64-generic.img
>> which causes the warning:
>>
>> WARNING: Image format was not specified for 'ubuntu-core-16-
>> amd64.img'
>> and probing guessed raw.
>>  Automatically detecting the format is dangerous for raw
>> images, write operations on block 0 will be restricted.
>>  Specify the 'raw' format explicitly to remove the
>> restrictions.)
>>
> well, nothing will ever write on block 0 i hope :)
> but yeah, that is a valid concern, please file a bug ...
>

"[DOC] snappy on KVM recommends cmd line that warns about RAW devices"
https://bugs.launchpad.net/snappy/+bug/1622336

>
>> In addition, I think it is better to specify M in "512M".
>
> same thing, please file bugs :)
>

"DOC: Snappy kvm line should have specifier for memory size "
https://bugs.launchpad.net/snappy/+bug/1622342

Simos

>>
>> 2. Once you configure Ubuntu Core and supply your launchpad email
>> address
>> (required so that it can retrieve your SSH public key and install
>> into
>> the running image),
>> it suggests to
>> ssh -p 8022 myusername@10.0.2.15
>> The instructions at the Snappy Start suggest to
>>ssh -p 8022 ubuntu@localhost
>> (mentions that "ubuntu/ubuntu" is a hard-coded account in earlier
>> Ubuntu Core images).
>>
>> What works with Ubuntu Core 16.04 Beta is
>>ssh -p 8022 myusername@localhost
>> (where "myusername" is the Launchpad username. You got it right it
>> https://launchpad.net/~myusername is your personal Launchpad page).
>
> definitely also worth a bug report (though it might be tricky to detect
> from within kvm that you are running inside kvm and conditionally
> change the default message here)...
>
>>
>> All accounts on the Ubuntu Core 16.04 Beta image are locked, so it is
>> not possible to log in through the qemu log in screen straight away.
>
> this is on purpose ... (you can indeed log in via ssh and use "passwd"
> to set a password for the account)
>
> ...
>> > Enjoy the fresh images! If you find any bugs or issues, please let
>> > us
>> > know via:
>> >
>> > https://bugs.launchpad.net/snappy/
>> >
>> > Cheers,
>> >  Michael (on behalf of the snappy team)
>> >
>
> ciao
> oli

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: [Fwd: Ubuntu Core 16 beta images available]

2016-09-08 Thread Oliver Grawert
hi,
On Do, 2016-09-08 at 19:54 +0300, Simos Xenitellis wrote:
> 
> > 
> 
> Where should these reports be filed at?
> 
> 
> > > > 
> > > > Enjoy the fresh images! If you find any bugs or issues, please
> > > > let
> > > > us
> > > > know via:
> > > > 
> > > > https://bugs.launchpad.net/snappy/
> > > > 
> > > > Cheers,
> > > >  Michael (on behalf of the snappy team)
> > > > 
> > 

just there ... we'll sort it out :)

ciao
oli

signature.asc
Description: This is a digitally signed message part
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: [Fwd: Ubuntu Core 16 beta images available]

2016-09-08 Thread Simos Xenitellis
On Thu, Sep 8, 2016 at 5:14 PM, Oliver Grawert  wrote:
> hi,
> On Do, 2016-09-08 at 16:56 +0300, Simos Xenitellis wrote:
>> Hi All,
>>
>> I tried the instructions at https://developer.ubuntu.com/en/snappy/st
>> art/
>> in order to get the new Beta images at
>> http://cdimage.ubuntu.com/ubuntu-snappy/16.04/current/
>> to work on locally on KVM on Linux.
>
> well, that will only start to work once the series 16 images are
> actually released, until then the website will keep point to the
> official 15.04 release indeed :)
>
> these images are betas ...
>
>>
>> Two issues:
>>
>> 1. The command to start kvm should better be like
>>
>> kvm -m 512M -redir :8090::80 -redir :8022::22 -drive
>> format=raw,file=ubuntu-core-16-amd64.img
>>
>> (instead of  kvm -m 512 -redir :8090::80 -redir :8022::22
>> ubuntu-15.04-snappy-amd64-generic.img
>> which causes the warning:
>>
>> WARNING: Image format was not specified for 'ubuntu-core-16-
>> amd64.img'
>> and probing guessed raw.
>>  Automatically detecting the format is dangerous for raw
>> images, write operations on block 0 will be restricted.
>>  Specify the 'raw' format explicitly to remove the
>> restrictions.)
>>
> well, nothing will ever write on block 0 i hope :)
> but yeah, that is a valid concern, please file a bug ...
>
>
>> In addition, I think it is better to specify M in "512M".
>
> same thing, please file bugs :)
>

Where should these reports be filed at?

I could not find the source location of the page
https://developer.ubuntu.com/en/snappy/start/

The closest was this one (for the new 16.04),
http://bazaar.launchpad.net/~developer-ubuntu-com-dev/developer-ubuntu-com/stable/view/head:/md_importer/tests/data/website-test/out/get-started/as-dev/16.04/step2-setup-kvm-ubuntu.md

There is the old and active repository at
https://bugs.launchpad.net/developer-ubuntu-com

There is also the new but not yet active repository on github,
https://github.com/ubuntudesign/developer.ubuntu.com/issues

>>
>> 2. Once you configure Ubuntu Core and supply your launchpad email
>> address
>> (required so that it can retrieve your SSH public key and install
>> into
>> the running image),
>> it suggests to
>> ssh -p 8022 myusername@10.0.2.15
>> The instructions at the Snappy Start suggest to
>>ssh -p 8022 ubuntu@localhost
>> (mentions that "ubuntu/ubuntu" is a hard-coded account in earlier
>> Ubuntu Core images).
>>
>> What works with Ubuntu Core 16.04 Beta is
>>ssh -p 8022 myusername@localhost
>> (where "myusername" is the Launchpad username. You got it right it
>> https://launchpad.net/~myusername is your personal Launchpad page).
>
> definitely also worth a bug report (though it might be tricky to detect
> from within kvm that you are running inside kvm and conditionally
> change the default message here)...
>

Here is the report,
https://bugs.launchpad.net/snappy/+bug/1621550

>>
>> All accounts on the Ubuntu Core 16.04 Beta image are locked, so it is
>> not possible to log in through the qemu log in screen straight away.
>
> this is on purpose ... (you can indeed log in via ssh and use "passwd"
> to set a password for the account)
>

I believe there will be some new users that will not notice this.
An option is to say so on the final page of the installation.

Simos

> ...
>> > Enjoy the fresh images! If you find any bugs or issues, please let
>> > us
>> > know via:
>> >
>> > https://bugs.launchpad.net/snappy/
>> >
>> > Cheers,
>> >  Michael (on behalf of the snappy team)
>> >
>
> ciao
> oli

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: [Fwd: Ubuntu Core 16 beta images available]

2016-09-08 Thread Oliver Grawert
hi,
On Do, 2016-09-08 at 17:30 +0200, Oliver Grawert wrote:
> hi,
> On Do, 2016-09-08 at 16:19 +0100, John Lenton wrote:
> > 
> > On 8 September 2016 at 15:14, Oliver Grawert 
> > wrote:
> > > 
> > > 
> > > though it might be tricky to detect
> > > from within kvm that you are running inside kvm and conditionally
> > > change the default message here
> > 
> > yeah, that'd need dmidecode which isn't in core. Its only 100k
> > though... ;-)
> 
> nah, you can have that cheaper apparently:
> 
> ogra@localhost:~$ grep "model name" /proc/cpuinfo
> model name: QEMU Virtual CPU version 2.4.0
> 

it strikes me though that you can not really know the redirected ssh
port from inside the VM ...

ciao
oli

signature.asc
Description: This is a digitally signed message part
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: [Fwd: Ubuntu Core 16 beta images available]

2016-09-08 Thread Oliver Grawert
hi,
On Do, 2016-09-08 at 16:19 +0100, John Lenton wrote:
> On 8 September 2016 at 15:14, Oliver Grawert  wrote:
> > 
> > though it might be tricky to detect
> > from within kvm that you are running inside kvm and conditionally
> > change the default message here
> 
> yeah, that'd need dmidecode which isn't in core. Its only 100k
> though... ;-)

nah, you can have that cheaper apparently:

ogra@localhost:~$ grep "model name" /proc/cpuinfo
model name  : QEMU Virtual CPU version 2.4.0

;)

ciao
oli

signature.asc
Description: This is a digitally signed message part
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: [Fwd: Ubuntu Core 16 beta images available]

2016-09-08 Thread John Lenton
On 8 September 2016 at 15:14, Oliver Grawert  wrote:
> though it might be tricky to detect
> from within kvm that you are running inside kvm and conditionally
> change the default message here

yeah, that'd need dmidecode which isn't in core. Its only 100k though... ;-)

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: [Fwd: Ubuntu Core 16 beta images available]

2016-09-08 Thread Oliver Grawert
hi,
On Do, 2016-09-08 at 16:56 +0300, Simos Xenitellis wrote:
> Hi All,
> 
> I tried the instructions at https://developer.ubuntu.com/en/snappy/st
> art/
> in order to get the new Beta images at
> http://cdimage.ubuntu.com/ubuntu-snappy/16.04/current/
> to work on locally on KVM on Linux.

well, that will only start to work once the series 16 images are
actually released, until then the website will keep point to the
official 15.04 release indeed :)
 
these images are betas ...

> 
> Two issues:
> 
> 1. The command to start kvm should better be like
> 
> kvm -m 512M -redir :8090::80 -redir :8022::22 -drive
> format=raw,file=ubuntu-core-16-amd64.img
> 
> (instead of  kvm -m 512 -redir :8090::80 -redir :8022::22
> ubuntu-15.04-snappy-amd64-generic.img
> which causes the warning:
> 
> WARNING: Image format was not specified for 'ubuntu-core-16-
> amd64.img'
> and probing guessed raw.
>  Automatically detecting the format is dangerous for raw
> images, write operations on block 0 will be restricted.
>  Specify the 'raw' format explicitly to remove the
> restrictions.)
> 
well, nothing will ever write on block 0 i hope :) 
but yeah, that is a valid concern, please file a bug ...


> In addition, I think it is better to specify M in "512M".

same thing, please file bugs :)

> 
> 2. Once you configure Ubuntu Core and supply your launchpad email
> address
> (required so that it can retrieve your SSH public key and install
> into
> the running image),
> it suggests to
> ssh -p 8022 myusername@10.0.2.15
> The instructions at the Snappy Start suggest to
>    ssh -p 8022 ubuntu@localhost
> (mentions that "ubuntu/ubuntu" is a hard-coded account in earlier
> Ubuntu Core images).
> 
> What works with Ubuntu Core 16.04 Beta is
>    ssh -p 8022 myusername@localhost
> (where "myusername" is the Launchpad username. You got it right it
> https://launchpad.net/~myusername is your personal Launchpad page).

definitely also worth a bug report (though it might be tricky to detect
from within kvm that you are running inside kvm and conditionally
change the default message here)...

> 
> All accounts on the Ubuntu Core 16.04 Beta image are locked, so it is
> not possible to log in through the qemu log in screen straight away.

this is on purpose ... (you can indeed log in via ssh and use "passwd"
to set a password for the account) 

...
> > Enjoy the fresh images! If you find any bugs or issues, please let
> > us
> > know via:
> > 
> > https://bugs.launchpad.net/snappy/
> > 
> > Cheers,
> >  Michael (on behalf of the snappy team)
> > 

ciao
oli

signature.asc
Description: This is a digitally signed message part
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: [Fwd: Ubuntu Core 16 beta images available]

2016-09-08 Thread Simos Xenitellis
Hi All,

I tried the instructions at https://developer.ubuntu.com/en/snappy/start/
in order to get the new Beta images at
http://cdimage.ubuntu.com/ubuntu-snappy/16.04/current/
to work on locally on KVM on Linux.

Two issues:

1. The command to start kvm should better be like

kvm -m 512M -redir :8090::80 -redir :8022::22 -drive
format=raw,file=ubuntu-core-16-amd64.img

(instead of  kvm -m 512 -redir :8090::80 -redir :8022::22
ubuntu-15.04-snappy-amd64-generic.img
which causes the warning:

WARNING: Image format was not specified for 'ubuntu-core-16-amd64.img'
and probing guessed raw.
 Automatically detecting the format is dangerous for raw
images, write operations on block 0 will be restricted.
 Specify the 'raw' format explicitly to remove the restrictions.)

In addition, I think it is better to specify M in "512M".

2. Once you configure Ubuntu Core and supply your launchpad email address
(required so that it can retrieve your SSH public key and install into
the running image),
it suggests to
ssh -p 8022 myusername@10.0.2.15
The instructions at the Snappy Start suggest to
   ssh -p 8022 ubuntu@localhost
(mentions that "ubuntu/ubuntu" is a hard-coded account in earlier
Ubuntu Core images).

What works with Ubuntu Core 16.04 Beta is
   ssh -p 8022 myusername@localhost
(where "myusername" is the Launchpad username. You got it right it
https://launchpad.net/~myusername is your personal Launchpad page).

All accounts on the Ubuntu Core 16.04 Beta image are locked, so it is
not possible to log in through the qemu log in screen straight away.

Simos

On Thu, Sep 8, 2016 at 1:46 PM, Oliver Grawert  wrote:
> hi,
>
> this is a big milestone that is worth to be announced to a wider
> audience ;)
>
> ciao
> oli
>
> -- Forwarded message --
> From: Michael Vogt 
> To: snapcr...@lists.snapcraft.io
> Cc:
> Date: Wed, 7 Sep 2016 23:50:54 +0200
> Subject: Ubuntu Core 16 beta images available
> Ubuntu Core 16 Images
> =
>
> The Ubuntu snappy team is happy to announce the first beta images for
> Ubuntu Core 16.  The images use the snapd package manager to install
> and update all components of the system including kernel, core, gadget
> and applications.
>
> The images are available for PC (amd64, i386) and Raspberry Pi2
> (armhf). More architectures and boards (arm64 dragonboard, pi3) will
> follow shortly. You can download them at:
>
> http://cdimage.ubuntu.com/ubuntu-snappy/16.04/current/
>
> The images are bootable, the pc image can be booted directly in
> qemu-kvm or virtualenv. The pi2 image can be written to a sdcard via:
>
> unxz ubuntu-core-16-pc.img.xz
> dd if= ubuntu-core-16-pc.img of=/dev/sdXX
>
> Where /dev/sdXX is the path of your sd card.
>
> After booting the image you can enter your Ubuntu SSO email and it
> will automatically create a matching user with the right ssh keys. If
> you do not have an Ubuntu SSO account yet you can create one at:
>
> https://login.ubuntu.com/
>
> These images follow the "beta" channel.
>
> Enjoy the fresh images! If you find any bugs or issues, please let us
> know via:
>
> https://bugs.launchpad.net/snappy/
>
> Cheers,
>  Michael (on behalf of the snappy team)
>
>
>
> --
> Snapcraft mailing list
> snapcr...@lists.snapcraft.io
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/listinfo/snapcraft
>
> --
> Ubuntu-devel-discuss mailing list
> Ubuntu-devel-discuss@lists.ubuntu.com
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
>

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss