[Bug 1791814] Re: The core snap was renamed to system in the 2.35 release

2018-09-10 Thread Tony Espy
And after reverting core back to 2.34.1, it's reported as:

{
"snap": "core",
"slot": "optical-drive",
"interface": "optical-drive",
"label": ""
},

So yes, this looks like a valid bug.  Also looks like "label:" was
dropped?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1791814

Title:
  [2.35.1] /v2/interfaces returns "system" instead of "core" as owning
  snap of core interface slots

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1791814] Re: The core snap was renamed to system in the 2.35 release

2018-09-10 Thread Tony Espy
I *think* (I don't have a pre-2.35 core snap at hand) the issue is that
the 'snap' attribute of the core interfaces as reported by snapd's
/v2/interfaces endpoint used to be set to "core", whereas with 2.35 it's
reported as "system". Here's a fragment of the JSON returned by this
endpoint for the optical-drive slot:

{
"snap": "system",
"slot": "optical-drive",
"interface": "optical-drive"
},

You can see this by running the following command:

$ curl --unix-socket /run/snapd.socket http:/v2/interfaces | jq

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1791814

Title:
  [2.35.1] /v2/interfaces returns "system" instead of "core" as owning
  snap of core interface slots

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1791814] Re: The core snap was renamed to system in the 2.35 release

2018-09-10 Thread Tony Espy
Sorry, the version of core that I reverted back to was 16-2.34.3 (5145),
not 2.34.1.


** Summary changed:

- The core snap was renamed to system in the 2.35 release
+ [2.35.1] /v2/interfaces returns "system" instead of "core" as owning snap of 
core interface slots

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1791814

Title:
  [2.35.1] /v2/interfaces returns "system" instead of "core" as owning
  snap of core interface slots

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1791814] Re: The core snap was renamed to system in the 2.35 release

2018-09-10 Thread John Agosta
Example error output...

admin@C031051823-00213:~$ sudo journalctl | grep observe
Sep 10 16:41:42 C031051823-00213 customer-deviceoperations.service[1765]: 
time="2018-09-10T16:41:42Z" level=error msg="Error getting slot: unknown slot 
core:hardware-observe\n" tag=plug

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1791814

Title:
  [2.35.1] /v2/interfaces returns "system" instead of "core" as owning
  snap of core interface slots

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1791814] Re: The core snap was renamed to system in the 2.35 release

2018-09-10 Thread Kyle Nitzsche
Customer says: "... using the `snapd` golang API, but that just calls
`GET /v2/interfaces`"

And:

Can someone please verify, for certain, the internal name for the core snap has 
changed to `system`. I am seeing this when using the snapd API to request 
information about available connections. Example from the API output:
```{Snap:system Name:bluetooth-control Interface:bluetooth-control Attrs:map[] 
Apps:[]```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1791814

Title:
  The core snap was renamed to system in the 2.35 release

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs