idea/rfc: device screen in cockpit
by Martin Polednik
Hello,
I have an idea for cockpit, but before thinking it further, I'm
interested in hearing your opinions. I am oVirt developer mostly
dealing with system stuff and this is something that could be useful
in virtualization while also providing utility for administrators
using cockpit.
The idea is about new tab/plugin (not sure of the terminology) called
'devices', that would allow access to (hardware) devices as exposed by
sysfs. The interface could be similar to 'Services' tab/plugin,
showing a list of device names created from their physical location,
similarly to libvirt's nodedev-list.
After clicking on the name, new screen would be presented, showing
additional information such as
* physical address,
* driver in use,
* special capabilities (SR-IOV numvfs and totalvfs, NPIV max_vports,
vports),
* iommu group (possibly clickable to reveal all devices in given
group),
* vendor, vendor id, product, product id.
Additionally, it makes sense to allow some basic operations:
* unbinding from host driver, binding it to specific one (useful for
local vfio-pci testing),
* reattaching it back (one use case is that
oVirt does not reattach devices automatically due to possible
issues, needs user intervention),
* setting numvfs, vports,
* ... ?
Do you find ideas above reasonable for cockpit? It is mostly in idea
phase, and builds on development and requirements of oVirt. I
personally believe that this could be useful for broader audience.
Thanks,
mpolednik
7 years, 3 months
Limit access to a user, and specific functions
by Brian Dunbar
New to cockpit - a co-worker mentioned it last week and it seems pretty nifty. I'm curious if it's a good fit for a project of mine.
I want to host Open Bazaar servers (https://openbazaar.org/). I'd _like_ to give my users access a GUI as 'a' user to run a limited set of functions such as ..
* start / stop a service
* look at a log file
* run a predefined set of API calls using CURL
* run a predefined script to backup a database
Is Cockpit a good fit?
~brian
7 years, 11 months
Idea: Administer Virtual Machines from Cockpit
by Marek Libra
Hi,
I would like to hear your opinion on adding Virtual Machine status and management capability to the Cockpit.
I've already played with this idea for some time. It lead me to a plugin providing such a functionality, but with dependency on the oVirt (VDSM).
The plugin
- lists all VMs running on the host,
- displays some charts, statistics and other VM details
- plus allows set of actions on them (so far basic - shutdown, restart, console, but can grow).
With optional access to oVirt's engine, additional cluster-related functionality is made accessible:
- list of VMs in a cluster,
- VM run,
- click-through to other cockpit running particular VM
- ...
In hindsight, there might be a better approach in contributing VM status&management to the Cockpit upstream, alongside with recent Docker or Kubernetes.
As a starting point, a list of running VMs will be displayed and basic set of actions provided.
Vision: implement in the Cockpit
- similar functionality as is recently done for the desktop's virt-manager but with the benefit of revising the User Experience
- allow monitoring&management of cluster VMs, if the host is part of any
This feature would be libvirt-based, not VDSM - so no additional dependencies for Cockpit.
The VDSM would be preferred service provider, if *optionally* installed on the host.
Similar for oVirt's engine - if accessible then cluster-related functionality is provided (i.e. cluster VMs list, managed VM migration, run a VM "in a cluster", cockpit's VM detail click-through, etc.).
Benefit for users: support for VM management out of the box with layered access to functionality as more advanced VM management tools are installed on a host
Please share your ideas.
Thanks,
Marek
7 years, 11 months
Bug in creating symlinks for pkg/*
by Abhishek Gupta
Hi,
Currently a package with a "name"(in manifest.json) causes the package loading
logic from various package directories to fail. Instead of the
first one (ie: ~/.local/share/cockpit) being used, the
last instance of a package will be used (ie: /usr/share/cockpit)
A fix will be running the following command-
sudo rm -rf /usr/share/cockpit/realmd
PR associated with the issue-
https://github.com/cockpit-project/cockpit/pull/4011
Cheers
Abhishek
8 years
Weekly meeting
by Marius Vollmer
========================
#cockpit: weekly meeting
========================
Meeting started by mvollmer at 14:01:46 UTC. The full logs are available
at
https://meetbot.fedoraproject.org/cockpit/2016-03-14/weekly_meeting.2016-...
.
Meeting summary
---------------
* agenda (mvollmer, 14:04:20)
* Cleanup of test directory (mvollmer, 14:05:53)
* storage polish (mvollmer, 14:10:54)
* LINK: https://trello.com/c/hqj8oZdu/273-storage-polish (mvollmer,
14:15:57)
* Debian repository (mvollmer, 14:20:32)
* Kubernetes repository (mvollmer, 14:44:01)
Meeting ended at 14:59:21 UTC.
Action Items
------------
Action Items, by person
-----------------------
* **UNASSIGNED**
* (none)
People Present (lines said)
---------------------------
* mvollmer (85)
* stefw (60)
* larsu (20)
* dperpeet (7)
* zodbot (6)
* github (5)
* sgallagh (4)
* petervo (3)
Generated by `MeetBot`_ 0.1.4
.. _`MeetBot`: http://wiki.debian.org/MeetBot
8 years
Cockpit 0.97
by Stef Walter
A summary of the Cockpit weekly release. This week it was 0.97
Testing Fedora 24
-----------------
Cockpit started doing integration testing against the upcoming Fedora 24
release, and doing continuous delivery to Fedora 24 as well. Obviously
this is in addition to operating systems like Debian, Atomic and RHEL.
As you can imagine, there were tons of regressions, compatibility issues
and API changes found and bugs filed against things like NetworkManager,
Kubernetes, Atomic App, openssh and SELinux. Some of the packagers
already have fixes, good for them.
Change: https://github.com/cockpit-project/cockpit/pull/3936
Storage UI Behavior
-------------------
Marius has been doing lots of work brushing up the storage interface.
Cockpit now displays the correct IEC (ie: MiB) style units for most
storage things, in addition to helpfully showing the base-10 units when
looking in the details of actual disks.
Change: https://github.com/cockpit-project/cockpit/pull/3944
Anne Mullern submitted a patch to prevent entering negative sizes for
partitions.
Change: https://github.com/cockpit-project/cockpit/pull/3925
More work in this area happening right now, and lots of discussion.
Nicer sliders for example:
Preview:
https://raw.githubusercontent.com/cockpit-project/cockpit-design/master/s...
Content-Security-Policy
-----------------------
Work on implementing the strict Content-Security-Policy is continuing.
The docker Containers part of Cockpit now runs in strict mode. The
term.js code was fixed to support Content-Security-Policy.
This prevents javascript from being loaded from unexpected places, and
being used as an attack vector against the server. It's a safety
measure, sort of like SELinux for your browser.
Change: https://github.com/cockpit-project/cockpit/pull/3951
term.js: https://github.com/chjj/term.js/pull/115
Get it
------
You can get Cockpit 0.97 in Fedora 24:
https://bodhi.fedoraproject.org/updates/cockpit-0.97-1.fc24
Or via COPR for CentOS, RHEL, and earlier versions of Fedora:
https://copr.fedoraproject.org/coprs/g/cockpit/cockpit-preview/
Or download the tarball here:
https://github.com/cockpit-project/cockpit/releases/tag/0.97
Take care,
Stef
8 years