[Starlingx-discuss] [MultiOS] Maintenance enabling on openSUSE - first steps and errors

Rosales Jimenez, Marcela A marcela.a.rosales.jimenez at intel.com
Tue Oct 8 00:14:36 UTC 2019


Hi team,

As you may know, we have all the StarlingX flock packaged and available for openSUSE in OBS [1], but we still need to make it run and work correctly.

For StarlingX Maintenance services enabling on openSUSE I am doing the following experiment:


  1.  Identify MTCE appropriate projects to enable on openSUSE (all except kickstart and pxe-network-installer)
  2.  Identify per repo, the packages generated
  3.  Identify per package, its services provided
  4.  Install one by one the MTCE packages
  5.  After an installation, run the service’s binary manually (without systemd or Service Manager, as all that flow is not supported in openSUSE yet)

My goal is to run all services and see if they have common problems, so I can start asking questions and solving the ones that impact more services first.

So, I mapped everything into a list here [2], and started the step 4 and 5.
I installed mtce-1.0-lp151.10.2.x86_64.rpm and libamon1-1.0-lp151.10.2.x86_64.rpm on an openSUSE vagrant VM, I have my working flow documented in a github repo [3].

Here are the results I have for now:
project: mtce
    package: libamon1-1.0-lp151.10.2.x86_64.rpm (184 KB) / this is pmon [SUCCESSFUL INSTALLATION]
        service: pmon.service - Missing /etc/platform/platform.conf
    package: mtce-1.0-lp151.10.2.x86_64.rpm (902 KB) [SUCCESSFUL INSTALLATION]
        service: fsmon.service - Missing /etc/platform/platform.conf
        service: goenabled.service - failed to write state file /var/run/.goenabled, but returns an exit status 0 if it runs with sudo
        service: hbsClient.service - Missing /etc/platform/platform.conf
        service: hwclock.service - exit status 0, but it has some errors about /usr/lib/locale/en_US.UTF-8/ not existing, in openSUSE is /usr/lib/locale/en_US.utf8/
        service: mtcClient.service - Missing /etc/platform/platform.conf
        service: mtcalarm.service - Missing /etc/platform/platform.conf
        service: mtclog.service - Missing /etc/platform/platform.conf

My questions:

  *   At least for now I see that most of the errors are about not having /etc/platform/platform.conf file. Who provides that file? How do I satisfy that dependency? In the spec file?
  *   Also, I don’t know what are the expected results of each service. Is it enough to get an exit status of 0?

Dominig, Saul, do you think this is a good experiment? Do you have any suggestion for me?

Thanks!

Marcela

[1] https://build.opensuse.org/project/show/Cloud:StarlingX:2.0
[2] https://github.com/marcelarosalesj/learning-starlingx/blob/master/roadmap/opensuse-mtce-enabling.md
[3] https://github.com/marcelarosalesj/suse-starlingx/tree/master/vagrant

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20191008/90f4a745/attachment.html>


More information about the Starlingx-discuss mailing list