gingerbase icon indicating copy to clipboard operation
gingerbase copied to clipboard

Repositories is not supported on OpenSuse

Open pvital opened this issue 9 years ago • 6 comments
trafficstars

The Repositories class is not supported on OpenSuse host machine. With that Ginger Base is not able to manage/list Zypper repositories by the API.

$ curl -k -u test -H "Content-Type: application/json" -H "Accept: application/json" 'https://192.168.122.34:8001/plugins/gingerbase/host/capabilities' -X GET
Enter host password for user 'test':
{
  "update_tool":true,
  "federation":"off",
  "repo_mngt_tool":null,
  "system_report_tool":false
}

Tested on OpenSUSE Leap 42.1

pvital avatar Jan 05 '16 13:01 pvital

Looks like there's a python biding to libzypp that can help:

http://software.opensuse.org/package/zypp-plugin-python

pvital avatar Jan 05 '16 13:01 pvital

This is an official opensuse package, right? We can use it no problem

danielhb avatar Jan 05 '16 13:01 danielhb

@danielhb not sure, but will look better. You can assign this issue to me.

pvital avatar Jan 05 '16 17:01 pvital

I can assert that the package update is working for OpenSuse 42.1 LEAP

danielhb avatar Jun 01 '16 12:06 danielhb

@danielhb please, reopen this issue.

Package Update works well in OpenSuse. The issue reported here is regarding Repositories management using GingerBase.

pvital avatar Jun 01 '16 14:06 pvital

My bad

danielhb avatar Jun 01 '16 14:06 danielhb