<div dir="ltr">Hi Tom,<div><br></div><div>Thanks for the reply.</div><div>But it doesn't seem to work as expected. I'm looking at the witherspoon-bmc on QEMU.</div><div><br></div><div><font face="monospace">root@witherspoon:~# systemctl status xyz.openbmc_project.Software.BMC.Updater<br>* <b>xyz.openbmc_project.Software.BMC.Updater.service</b> - OpenBMC Software Update Manager<br>     Loaded: loaded (/lib/systemd/system/xyz.openbmc_project.Software.BMC.Updater.service; enabled; vendor preset: enabled)<br>    Drop-In: /lib/systemd/system/xyz.openbmc_project.Software.BMC.Updater.service.d<br>             `-software-bmc-updater.conf<br>     Active: <b>active (running)</b> since Thu 2020-11-05 14:10:57 UTC; 13h ago<br>   Main PID: 387 (phosphor-image-)<br>     CGroup: /system.slice/xyz.openbmc_project.Software.BMC.Updater.service<br>             `-387 /usr/bin/phosphor-image-updater<br><br>Nov 05 14:10:53 witherspoon systemd[1]: Starting OpenBMC Software Update Manager...<br>Nov 05 14:10:57 witherspoon systemd[1]: Started OpenBMC Software Update Manager.</font></div><div><font face="monospace"><br>root@witherspoon:~# busctl get-property xyz.openbmc_project.State.BMC /xyz/openbmc_project/state/bmc0 xyz.openbmc_project.State.BMC CurrentBMCState<br>s "<b>xyz.openbmc_project.State.BMC.BMCState.Ready</b>"<br><br></font></div><div><font face="monospace"><b>root@witherspoon:~# busctl get-property xyz.openbmc_project.Software.Version /xyz/openbmc_project/software xyz.openbmc_project.Software.Version Version<br>Failed to get property Version on interface xyz.openbmc_project.Software.Version: Unknown interface xyz.openbmc_project.Software.Version or property Version.</b><br><br></font></div><div><font face="monospace">root@witherspoon:~# busctl introspect --no-pager xyz.openbmc_project.Software.Version /xyz/openbmc_project/software <br>NAME                                TYPE      SIGNATURE  RESULT/VALUE  FLAGS<br>org.freedesktop.DBus.Introspectable interface -          -             -<br>.Introspect                         method    -          s             -<br>org.freedesktop.DBus.ObjectManager  interface -          -             -<br>.GetManagedObjects                  method    -          a{oa{sa{sv}}} -<br>.InterfacesAdded                    signal    oa{sa{sv}} -             -<br>.InterfacesRemoved                  signal    oas        -             -<br>org.freedesktop.DBus.Peer           interface -          -             -<br>.GetMachineId                       method    -          s             -<br>.Ping                               method    -          -             -<br>org.freedesktop.DBus.Properties     interface -          -             -<br>.Get                                method    ss         v             -<br>.GetAll                             method    s          a{sv}         -<br>.Set                                method    ssv        -             -<br>.PropertiesChanged                  signal    sa{sv}as   -             -</font><br></div><div><font face="monospace"><br></font></div><div><div><br></div><div>Thanks,</div><div>Shakeeb</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 6, 2020 at 8:37 AM TOM JOSEPH <<a href="mailto:tomjose@linux.vnet.ibm.com">tomjose@linux.vnet.ibm.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>Hey Shakeeb,<br>
      <br>
      The service implementing the xyz.openbmc_project.Software.Version
      should be running in the case of a normal boot as well. In our
      systems the service is xyz.openbmc_project.Software.BMC.Updater
      and the Version property is populated when the BMCState is Ready.<br>
    </p>
    Regards,<br>
    Tom<br>
    <br>
    <div>On 05-11-2020 20:02, Shakeeb B K wrote:<br>
    </div>
    <blockquote type="cite">
      
      
      
      
      
      
       <span style="font-size:1px;color:rgb(255,255,255);line-height:1px;max-height:0px;max-width:0px;opacity:0;overflow:hidden;display:none">
        Hi All, Currently the ipmi handler for "mc info" command
        depends on the "Version"... 
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
              </span>
      
      
      <table style="width:100%;border-radius:4px;margin-bottom:16px" width="100%" cellspacing="0" cellpadding="16" border="0" bgcolor="#9CA3A7">
        <tbody>
          <tr>
            <td align="center">
              <table style="width:100%" width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
                <tbody>
                  <tr>
                    <td style="border-radius:4px" valign="top" align="center">
                      <table style="max-width:100%;width:100%" width="100%" cellspacing="0" cellpadding="0" border="0" bgcolor="#9CA3A7" align="center">
                        <tbody>
                          <tr>
                             <th style="font-weight:normal;padding:0px;width:100%;height:auto" valign="top">
                              <table style="width:100%;height:auto;text-align:left;vertical-align:middle" width="100%" cellspacing="0" cellpadding="0">
                                <tbody>
                                  <tr>
                                    <td> <span style="font-family:Roboto,Helvetica,Arial,sans-serif;font-weight:bold;font-size:18px;line-height:20px;display:block;margin-bottom:4px">This
                                        Message Is From an External
                                        Sender</span> </td>
                                  </tr>
                                  <tr>
                                    <td> <span style="font-weight:normal;font-family:Roboto,Helvetica,Arial,sans-serif;font-size:13px;line-height:16px;display:block">This
                                        message came from outside your
                                        organization.</span> </td>
                                  </tr>
                                </tbody>
                              </table>
                            </th>
                             </tr>
                        </tbody>
                      </table>
                    </td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
        </tbody>
      </table>
      
      
      <div dir="ltr">Hi All,
        <div><br>
        </div>
        <div>Currently the ipmi handler for "mc info" command depends on
          the "Version" property on
          interface xyz.openbmc_project.Software.Version. </div>
        <div>But this is getting populated only on the image update path
          by phosphor-bmc-code-mgmt.</div>
        <div>Shouldn't the version be set on a normal boot as well? Is
          this a gap in current implementation? </div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Shakeeb</div>
      </div>
    </blockquote>
  </div>

</blockquote></div>