Cockpit 162 released
by Martin Pitt
http://cockpit-project.org/blog/cockpit-162.html
Cockpit is the modern Linux admin interface. We release regularly. Here
are the release notes from version 162.
Show pod name and disks of VMs running in Kubernetes
----------------------------------------------------
The KubeVirt Virtual Machines overview now shows the pod of running VMs.
Clicking on the name navigates to the pod's detail page.
The new "Disks" tab shows information about the emulated QEMU storage devices
in the VM, similar to the Machines page.
Screenshots:
http://cockpit-project.org/images/kubernetes-kubevirt-podname.png
http://cockpit-project.org/images/kubernetes-kubevirt-disks.png
Thanks to Marek Libra for this feature!
Tighten up the default Content-Security-Policy
----------------------------------------------
Cockpit's pages now further restrict their Content-Security-Policy
(https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) to prevent forms and
links from accidentally leaking data off-host.
An additional benefit is improved privacy, as `Referrer:` headers are no longer
sent when following a link in Cockpit to an external site. (One common place
where Cockpit links externally is on changelogs in the Software Updates page.)
Note that this is *not* an actual security device - once a malicious page runs
in Cockpit, it can use the Cockpit API to run arbitrary code on the host. This
change is intended as a defense against programming errors.
Drop cockpit-subscriptions and cockpit-integration-tests on Fedora
------------------------------------------------------------------
There is a new package "subscription-manager-cockpit" now which supersedes the
"cockpit-subscriptions" package that was previously shipped by Cockpit.
The cockpit-integration-tests package had been an experiment, was never used
in Fedora CI, and requires additional files from Cockpit's upstream git tree to
work.
Get it
------
You can get Cockpit here:
http://cockpit-project.org/running.html
Cockpit 162 is available in Fedora 27:
https://bodhi.fedoraproject.org/updates/cockpit-162-1.fc27
Or download the tarball here:
https://github.com/cockpit-project/cockpit/releases/tag/162
Take care,
Martin Pitt
5 years, 9 months
Cockpit 161 released
by Martin Pitt
http://cockpit-project.org/blog/cockpit-161.html
Cockpit is the modern Linux admin interface. We release regularly. Here
are the release notes from version 161.
New VMs can be created on Machines page
---------------------------------------
The Machines page now has a "Create New VM" button for installing a new libvirt
virtual machine from a local or remote ISO image. It allows the user to set
some basic properties such as memory and storage sizes.
Thanks to Dominik Perpeet and suomiy for this feature!
Screenshot: http://cockpit-project.org/images/machines-create-iso.png
VMs running in Kubernetes can now be deleted
--------------------------------------------
Cockpit 160 added an initial overview of kubevirt Virtual Machines. This page
now got a first action to delete a running VM.
Thanks to Marek Libra for this feature!
Screenshot: http://cockpit-project.org/images/kubernetes-kubevirt-delete.png
Improve LVM volume resizing
---------------------------
Cockpit now knows upfront whether shrinking or growing an LVM logical volume is
possible, and whether the filesystem needs to be unmounted. Since shrinking
and growing are quite different in practice, the Storage page now shows
separate "Shrink" and "Grow" buttons.
Video: https://www.youtube.com/watch?v=M43yTrJ0jzc
Add new Hardware Information page
---------------------------------
On the System page the "Hardware" name is now a link to a new "Hardware
information" page. For now this shows information about the system name, form
factor, CPU, BIOS, and PCI devices. Other types of hardware will be added in
future versions.
Screenshot: http://cockpit-project.org/images/system-hwinfo.png
Rename cockpit-ovirt package to cockpit-machines-ovirt
------------------------------------------------------
The previous package name collided with a package that is already available in
Red Hat Virtualization Host. This only affects Fedora, as other operating systems
do not ship the Cockpit ovirt extension.
Stop advertising and supporting cockpit-bundled jQuery library
--------------------------------------------------------------
Cockpit's JavaScript API documentation
(http://cockpit-project.org/guide/latest/api-base1-jquery.html)
previously had some outdated information about jQuery, suggesting that users of
the Cockpit API should always load jQuery, and use the one bundled with `cockpit.js`.
This has not been true for a long time, and was just forgotten to be cleaned up.
Previously the Cockpit code examples also did that, misleading developers who
used them as a starting point for their own modules.
Both the documentation and the examples got cleaned up now, and issues got
filed on affected GitHub projects. From now on, please use your own jQuery
module for your projects instead of cockpit's bundled one. This avoids breaking
your project when cockpit's jQuery version gets updated.
Get it
------
You can get Cockpit here:
http://cockpit-project.org/running.html
Cockpit 161 is available in Fedora 27:
https://bodhi.fedoraproject.org/updates/cockpit-161-1.fc27
Or download the tarball here:
https://github.com/cockpit-project/cockpit/releases/tag/161
Take care,
Martin Pitt
5 years, 10 months
Remote management of linux devices
by John Pearson
I manage a fleet of linux devices and I need a way to send telemtry
data(CPU, memory, drives, etc.) from devices to a centralized server and
also send commands(linux service restarts for example) from server to
devices to execute on the device. I understand Cockpit works great for
this.
What I need help with: The 15 different linux devices are bare metal boxes
in 15 different locations access to WAN with a dynamic IP address. Would
Cockpit work for this? In a year the number of devices could jump to 100 so
I'm looking for suggestions on best to manage.
Thanks.
5 years, 10 months
Kubernetes based package problem
by Iván Chavero
Hello,
I'm writing a cockpit package based on the kubernetes modules and i
got an error while trying to create replication controllers and
services from files:
kube-controller-manager[3793]: I0131 20:56:41.083074 3793
event.go:217] Event(v1.ObjectReference{Kind:"ReplicationController",
Namespace:"default", Name:"webserver-controller", UID:"52463259-064a-
11e8-b244-086d41bdeb72", APIVersion:"v1", ResourceVersion:"1741601",
FieldPath:""}): type: 'Warning' reason: 'FailedCreate' Error creating:
No API token found for service account "default", retry after the token
is automatically created and added to the service account
i'm trying to create the service and replication controller with the
following code:
$http.get(service.rc_file).then(function(data)
{
service.json.service = data.data;
console.log("Creating RC from JSON: "
+ JSON.stringify(data.data));
request = new CockpitKubeRequest("POST", link,
JSON.stringify(data.data), "");
request.then(function(response) {
console.log("Create RC RESPONSE: " + response);
});
});
I've checked the kubernetes package and is not clear to me how to
create or get the token.
Can somebody give me a hand?
Thanks,
Ivan
5 years, 10 months
Translations
by Tiago Machado
What is the correct way to submit new translation statements inside the translation files?
There are a lot of missing terms in our language (Portuguese) and I would like to add them to the po/pt_BR.po file.
Should I just open a PR or there is a procedure for that?
5 years, 10 months