Public bug reported:

[This was also sent to snappy-de...@lists.ubuntu.com.]

Hi,

I followed the steps in the "Launch Snappy locally with KVM on Linux"
section on http://www.ubuntu.com/cloud/tools/snappy. Then I ran the
steps in the "A snappy tour of Ubuntu Core!" section on
http://www.ubuntu.com/cloud/tools/snappy. Sorry, I don't see a way to
link directly to these sections. I ran into a few problems. Please see
below.

kvm is running just fine, no errors.

This is on a 64-bit version of 14.10. I am running with LUKS encrypted
root partition and an ecryptfs encrypted home directory, if that's
relevant.

Thanks.

-Tom


> ssh -p 8022 ubuntu@localhost
The authenticity of host '[localhost]:8022 ([127.0.0.1]:8022)' can't be 
established.
ECDSA key fingerprint is 78:88:86:be:e4:4b:6f:73:3d:b0:1b:5a:1c:ce:1b:dc.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[localhost]:8022' (ECDSA) to the list of known 
hosts.
ubuntu@localhost's password: 
Welcome to Ubuntu Vivid Vervet (development branch) (GNU/Linux 
3.16.0-25-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

Welcome to the Ubuntu Core rolling development release.

 * See https://ubuntu.com/snappy

It's a brave new world here in snappy Ubuntu Core! This machine
does not use apt-get or deb packages. Please see 'snappy --help'
for app installation and transactional updates.

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

ubuntu@localhost:~$ snappy info
release: ubuntu-core/devel
frameworks: 
apps: 
ubuntu@localhost:~$ snappy versions
Part         Tag   Installed  Available  Fingerprint     Active  
ubuntu-core  edge  140        141        184ad1e863e947  *       
ubuntu@localhost:~$ sudo snappy install docker
docker      4 MB     [===============================================]    OK    
Traceback (most recent call last):
  File "/usr/bin/snappy", line 9, in <module>
    status = Main().__main__()
  File "/usr/lib/python3/dist-packages/snappy/main.py", line 159, in __main__
    return callback(args)
  File "/usr/lib/python3/dist-packages/snappy/main.py", line 380, in _do_install
    self._do_versions(args)
  File "/usr/lib/python3/dist-packages/snappy/main.py", line 262, in 
_do_versions
    parts = (SystemImageDataSource().versions(all) +
  File "/usr/lib/python3/dist-packages/snappy/systemimage.py", line 158, in 
versions
    info = self._iface.Information()
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in 
call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not 
receive a reply. Possible causes include: the remote application did not send a 
reply, the message bus security policy blocked the reply, the reply timeout 
expired, or the network connection was broken.
ubuntu@localhost:~$ sudo snappy install docker
Traceback (most recent call 
last):=================================================================================================================================
                         ]          
  File "/usr/bin/click", line 86, in <module>
    sys.exit(main())
  File "/usr/bin/click", line 82, in main
    return mod.run(args)
  File "/usr/lib/python3/dist-packages/click/commands/install.py", line 105, in 
run
    t = download_click(details["anon_download_url"], progress_class)
  File "/usr/lib/python3/dist-packages/click/commands/install.py", line 48, in 
download_click
    acq.fetch(package_uri, package_path)
  File "/usr/lib/python3/dist-packages/click/acquire.py", line 264, in fetch
    self._run_acquire_method(uri, destfile)
  File "/usr/lib/python3/dist-packages/click/acquire.py", line 235, in 
_run_acquire_method
    for number, raw_message in _read_messages(p.stdout, self.TIMEOUT):
  File "/usr/lib/python3/dist-packages/click/acquire.py", line 84, in 
_read_messages
    rl, wl, xl = select.select([infd], [], [], timeout)
InterruptedError: [Errno 4] Interrupted system call
ubuntu@localhost:~$ Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/click/acquire/https", line 30, in <module>
    m.run()
  File "/usr/lib/python3/dist-packages/click/acquire.py", line 295, in run
    self.fetch(message.get("URI"), message.get("FileName"))
  File "/usr/lib/python3/dist-packages/click/acquire.py", line 385, in fetch
    self.uri_done(uri, destfile)
  File "/usr/lib/python3/dist-packages/click/acquire.py", line 321, in uri_done
    """).format(uri=uri, filename=filename, size=os.path.getsize(filename),
  File "/usr/lib/python3.4/genericpath.py", line 50, in getsize
    return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpioh9kw4x'

** Affects: snappy (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  [This was also sent to snappy-de...@lists.ubuntu.com.]
  
  Hi,
  
  I followed the steps in the "Launch Snappy locally with KVM on Linux"
  section on http://www.ubuntu.com/cloud/tools/snappy. Then I ran the
  steps in the "A snappy tour of Ubuntu Core!" section on
  http://www.ubuntu.com/cloud/tools/snappy. Sorry, I don't see a way to
  link directly to these sections. I ran into a few problems. Please see
  below.
  
  kvm is running just fine, no errors.
  
  This is on a 64-bit version of 14.10. I am running with LUKS encrypted
  root partition and an ecryptfs encrypted home directory, if that's
  relevant.
  
  Thanks.
  
  -Tom
  
  
  > ssh -p 8022 ubuntu@localhost
- The authenticity of host '[localhost]:8022 ([127.0.0.1]:8022)' can't
- be established.
+ The authenticity of host '[localhost]:8022 ([127.0.0.1]:8022)' can't be 
established.
  ECDSA key fingerprint is 78:88:86:be:e4:4b:6f:73:3d:b0:1b:5a:1c:ce:1b:dc.
  Are you sure you want to continue connecting (yes/no)? yes
- Warning: Permanently added '[localhost]:8022' (ECDSA) to the list of
- known hosts.
- ubuntu@localhost's password:
- Welcome to Ubuntu Vivid Vervet (development branch) (GNU/Linux
- 3.16.0-25-generic x86_64)
+ Warning: Permanently added '[localhost]:8022' (ECDSA) to the list of known 
hosts.
+ ubuntu@localhost's password: 
+ Welcome to Ubuntu Vivid Vervet (development branch) (GNU/Linux 
3.16.0-25-generic x86_64)
  
   * Documentation:  https://help.ubuntu.com/
  
  The programs included with the Ubuntu system are free software;
  the exact distribution terms for each program are described in the
  individual files in /usr/share/doc/*/copyright.
  
  Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
  applicable law.
  
  Welcome to the Ubuntu Core rolling development release.
  
   * See https://ubuntu.com/snappy
  
  It's a brave new world here in snappy Ubuntu Core! This machine
  does not use apt-get or deb packages. Please see 'snappy --help'
  for app installation and transactional updates.
  
  To run a command as administrator (user "root"), use "sudo <command>".
  See "man sudo_root" for details.
  
  ubuntu@localhost:~$ snappy info
  release: ubuntu-core/devel
- frameworks:
- apps:
+ frameworks: 
+ apps: 
  ubuntu@localhost:~$ snappy versions
- Part         Tag   Installed  Available  Fingerprint     Active
- ubuntu-core  edge  140        141        184ad1e863e947  *
+ Part         Tag   Installed  Available  Fingerprint     Active  
+ ubuntu-core  edge  140        141        184ad1e863e947  *       
  ubuntu@localhost:~$ sudo snappy install docker
- docker      4 MB     [===============================================]    OK
+ docker      4 MB     [===============================================]    OK  
  
  Traceback (most recent call last):
    File "/usr/bin/snappy", line 9, in <module>
      status = Main().__main__()
    File "/usr/lib/python3/dist-packages/snappy/main.py", line 159, in __main__
      return callback(args)
    File "/usr/lib/python3/dist-packages/snappy/main.py", line 380, in 
_do_install
      self._do_versions(args)
-   File "/usr/lib/python3/dist-packages/snappy/main.py", line 262, in
- _do_versions
+   File "/usr/lib/python3/dist-packages/snappy/main.py", line 262, in 
_do_versions
      parts = (SystemImageDataSource().versions(all) +
-   File "/usr/lib/python3/dist-packages/snappy/systemimage.py", line
- 158, in versions
+   File "/usr/lib/python3/dist-packages/snappy/systemimage.py", line 158, in 
versions
      info = self._iface.Information()
    File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
      **keywords)
-   File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651,
- in call_blocking
+   File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in 
call_blocking
      message, timeout)
- dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did
- not receive a reply. Possible causes include: the remote application
- did not send a reply, the message bus security policy blocked the
- reply, the reply timeout expired, or the network connection was
- broken.
+ dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not 
receive a reply. Possible causes include: the remote application did not send a 
reply, the message bus security policy blocked the reply, the reply timeout 
expired, or the network connection was broken.
  ubuntu@localhost:~$ sudo snappy install docker
- Traceback (most recent call
- 
last):=================================================================================================================================
-                         ]
+ Traceback (most recent call 
last):=================================================================================================================================
                         ]          
    File "/usr/bin/click", line 86, in <module>
      sys.exit(main())
    File "/usr/bin/click", line 82, in main
      return mod.run(args)
-   File "/usr/lib/python3/dist-packages/click/commands/install.py",
- line 105, in run
+   File "/usr/lib/python3/dist-packages/click/commands/install.py", line 105, 
in run
      t = download_click(details["anon_download_url"], progress_class)
-   File "/usr/lib/python3/dist-packages/click/commands/install.py",
- line 48, in download_click
+   File "/usr/lib/python3/dist-packages/click/commands/install.py", line 48, 
in download_click
      acq.fetch(package_uri, package_path)
    File "/usr/lib/python3/dist-packages/click/acquire.py", line 264, in fetch
      self._run_acquire_method(uri, destfile)
-   File "/usr/lib/python3/dist-packages/click/acquire.py", line 235, in
- _run_acquire_method
+   File "/usr/lib/python3/dist-packages/click/acquire.py", line 235, in 
_run_acquire_method
      for number, raw_message in _read_messages(p.stdout, self.TIMEOUT):
-   File "/usr/lib/python3/dist-packages/click/acquire.py", line 84, in
- _read_messages
+   File "/usr/lib/python3/dist-packages/click/acquire.py", line 84, in 
_read_messages
      rl, wl, xl = select.select([infd], [], [], timeout)
  InterruptedError: [Errno 4] Interrupted system call
  ubuntu@localhost:~$ Traceback (most recent call last):
    File "/usr/lib/x86_64-linux-gnu/click/acquire/https", line 30, in <module>
      m.run()
    File "/usr/lib/python3/dist-packages/click/acquire.py", line 295, in run
      self.fetch(message.get("URI"), message.get("FileName"))
    File "/usr/lib/python3/dist-packages/click/acquire.py", line 385, in fetch
      self.uri_done(uri, destfile)
    File "/usr/lib/python3/dist-packages/click/acquire.py", line 321, in 
uri_done
      """).format(uri=uri, filename=filename, size=os.path.getsize(filename),
    File "/usr/lib/python3.4/genericpath.py", line 50, in getsize
      return os.stat(filename).st_size
  FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpioh9kw4x'

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to snappy in Ubuntu.
https://bugs.launchpad.net/bugs/1400960

Title:
  Problems with a snappy tour

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snappy/+bug/1400960/+subscriptions

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

Reply via email to