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
6 years, 9 months
Cockpit 125
by Stef Walter
http://cockpit-project.org/blog/cockpit-125.html
Cockpit is the modern Linux admin interface. We release regularly. Here
are the release notes from version 123, 124 and 125.
Cockpit is now properly translatable
------------------------------------
Cockpit is now properly translatable. It was a big task to extract
all the translatable strings and make translations work consistently
between the browser and installed tools like the bridge.
We now start also run the login user session with a proper locale and
LANG environment variables.
You can help translate cockpit in Zanata, or if you find text in the
front end that isn't translatable, then please do report it.
https://fedora.zanata.org/iteration/view/cockpit/master
Changes: https://github.com/cockpit-project/cockpit/pull/5362
https://github.com/cockpit-project/cockpit/pull/5418
https://github.com/cockpit-project/cockpit/pull/5418
https://github.com/cockpit-project/cockpit/pull/5420
https://github.com/cockpit-project/cockpit/pull/1728
https://github.com/cockpit-project/cockpit/pull/5442
https://github.com/cockpit-project/cockpit/pull/5444
https://github.com/cockpit-project/cockpit/pull/5443
https://github.com/cockpit-project/cockpit/pull/5461
Display OSTree signatures
-------------------------
Peter implement displaying OSTree tree signatures. You can tell where
a certain update tree came from and who signed it.
Screenshot: http://cockpit-project.org/blog/images/ostree-signatures.png
Changes: https://github.com/cockpit-project/cockpit/pull/5433
New expandable views for storage partitions
-------------------------------------------
Marius implemented expandable views in the *Storage* pages. These let
you dive into the details of a particular partition without having
to navigate away from the page describing where it lives.
Screenshot: http://cockpit-project.org/blog/images/storage-listing.png
Changes: https://github.com/cockpit-project/cockpit/pull/5097
Other storage fixes
-------------------
Marius did work to fix many other storage related bugs. In particular
Cockpit now deals properly with passphrases stored for LUKS encrypted
devices, and also no longer offers to format read-only block devices.
Changes: https://github.com/cockpit-project/cockpit/pull/5343
https://github.com/cockpit-project/cockpit/pull/5097
Full testing on RHEL 7.3, Ubuntu 16.04 and Debian 8 Jessie
----------------------------------------------------------
The Cockpit project started testing on Cockpit on RHEL 7.3, Ubuntu 16.04
and Debian 8 Jessie along the operating systems we tested earlier. These
will be part of our usual continuous integration, where we boot
thousands or tens of thousands of instances per day to test changes and
contributions.
Marius fixed many bugs we found, and filed operating system bugs in
the issue trackers for those operating systems.
You can see the which operating systems we test Cockpit on:
http://cockpit-project.org/running.html
There's no Debian Jessie repository yet, but hopefully we can have that
ready as time permits.
Changes: https://github.com/cockpit-project/cockpit/pull/5445
https://github.com/cockpit-project/cockpit/pull/5285
System shutdown can be scheduled by date
----------------------------------------
Fridolin did work a long time ago, so that users could select a specific
date and time to schedule a shutdown or reboot of the system. Stef
finished that work added tests and it's now in Cockpit.
Screenshot: http://cockpit-project.org/blog/images/shutdown-date.png
Changes: https://github.com/cockpit-project/cockpit/pull/2419
Properly terminate user sessions on the Accounts page
-----------------------------------------------------
The Accounts page now properly terminates user sessions when the
Terminate Session button is clicked. We use the correct systemd
loginctl commands.
Changes: https://github.com/cockpit-project/cockpit/pull/5359
Get it
------
You can get Cockpit here:
http://cockpit-project.org/running.html
Cockpit 125 is available in Fedora 25:
https://bodhi.fedoraproject.org/updates/cockpit-125-1.fc25
Or download the tarball here:
https://github.com/cockpit-project/cockpit/releases/tag/125
Take care,
Stef
6 years, 10 months
cockpit web ui stays empty in firefox
by Fuji San
After i log in to cockpit web ui using firefox, the page remaines empty (white).
Sometimes I get a warning message "Unresponsive script" saying:
"A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.
Script: https:// server:9090/cockpit/$3..../shell/bundle.js:29"
I do not have this problem when I use Opera browser.
Regrads,
F.
6 years, 10 months
Referencing to Cockpit from other admin UIs
by Andreas Nilsson
The Ideals of Cockpit [1] says that "Users of Cockpit should feel they
are interacting with the underlying Server OS, not with Cockpit." so we
took extra care to make sure Cockpit is not something that is directly
visible to the end user.
Peter Volpe is currently working on integration between ManageIQ and
Cockpit.
The idea is that you can get an overview of a cluster in ManageIQ, but
then dive in, by clicking a button, to a particular node by and
administer that with Cockpit.
Initially the button was labeled "Cockpit", so we had to come up with a
better label. Peter, me, Stef and Ben discussed this back and forth a
bit with the ManageIQ designers, and settled on "Access Web Console" in
the end.
(I am fully aware that this wording is a very tempting bike-shed to
paint, but it's also consistent with how other ways of interacting with
the server is called across several products.)
Apparently there is something similar in oVirt, so Fabian Deutch was
kind enough to quickly fix that up and have it say "Web Console" as well.
Since I think this is something that will come up more in the future, as
we integrate Cockpit with more products, I thought it would be a good
idea to set up a wiki page with general guidance on how to refer to
Cockpit from another UI.
https://github.com/cockpit-project/cockpit/wiki/Product-Integration
These are only the initial recommendations, and there is probably a ton
of wrinkles to this, so I am pretty sure the document will evolve over time.
1.http://cockpit-project.org/ideals.html
- Andreas
6 years, 10 months
Cockpit not showing logs from containers
by ryan.todd@ctl.io
I am running kube 1.4 and the latest cockpit. Ever since I upgraded cockpit the logs are no longer coming through. API is working just fine. Please help
6 years, 10 months