[Deepsea-users] DeepSea support Ubuntu OS

M Ranga Swami Reddy swamireddy at gmail.com
Thu Dec 1 07:03:38 MST 2016


Hi Lenz,
Yes, hwinfo can be replaced with lsblk on ubuntu.

Agreed with you that, DeepSea code should be independent of OS and based on
the OS user, use, should pickup appropriate commands/tools. But this
requires modularization of DeepSea code, which is not there at present.

Thanks
Swami

On Thu, Dec 1, 2016 at 6:43 PM, Lenz Grimmer <lgrimmer at suse.com> wrote:

> Hi,
>
> On 12/01/2016 10:55 AM, M Ranga Swami Reddy wrote:
>
> >  Please share the files, where we need to do the changes for ubunte...I
> > have already setup on Ubunt...and installed the salt-master and
> > salt-minion...
>
> A quick recursive grep for "hwinfo" and "zypper" turned up the following
> potential files:
>
> srv/salt/_modules/examples/freedisks.py
> srv/salt/_modules/cephdisks.py
> srv/modules/runners/validate.py
> srv/salt/ceph/rgw/default-zypper.sls
> srv/salt/ceph/updates/default.sls
> srv/salt/ceph/packages/common/default-zypper.sls
> srv/salt/ceph/igw/default-zypper.sls
> srv/salt/ceph/igw/import/default-zypper.sls
> srv/salt/_modules/zypper_locks.py
>
> It would make sense to figure out if instead of using "zypper" we could
> use the functions built into Salt for installing packages. Not sure how
> to replace the "hwinfo" calls, though. From what I could tell, it's
> being used to list disks attached to the given node. Maybe "lsblk" could
> be used here instead?
>
> In general and if possible, we should only use functions that are
> completely distribution-independent. In addition to Debian/Ubuntu, it'd
> be excellent if DeepSea would also be supported on Red Hat distributions
> like CentOS or Fedora...
>
> Lenz
>
>
> _______________________________________________
> Deepsea-users mailing list
> Deepsea-users at lists.suse.com
> http://lists.suse.com/mailman/listinfo/deepsea-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.suse.com/pipermail/deepsea-users/attachments/20161201/12a215be/attachment.htm>


More information about the Deepsea-users mailing list