• Icon: Bug Bug
    • Resolution: Done
    • Icon: Highest Highest
    • None

      The Hello World xApp failed to start. There are at least the following problems:

      1. init/config-file.json file: it is better to have two separate files, one called config-file.json which only has the value part of the "config-file.json" key; the other called config-schema.json, which only has the value part of the "config-schema.json" key. Please take a look at the ricxapp/ts repo's xapp-descriptor/config.json file as an example.
      2. the init/config-file.json file specifies docker image version of 0.0.1, while there is only 1.0.0 in the docker registries. Please change what's in init/config-file.json file to 1.0.0.
      3. the init/config-file.json file has a "command" key under "containers". Its value is different from Dockerfile's startups command. This overrides what the Dockerfile specifies so make sure it is correct. Current value is not, not runnable.
      4. The init_script.py script fails to run, with the following error:
      Traceback (most recent call last):
      File "/etc/xapp/init_script.py", line 106, in <module>
      result = parseConfigJson(config);
      File "/etc/xapp/init_script.py", line 46, in parseConfigJson
      for k2 in config[k1].keys():
      AttributeError: 'str' object has no attribute 'keys'
      The config file that's used is the /opt/ric/config/config-file.json file, which is exactly the init/config-file.json file. There is no "keys" in this json structure.

        # Subject Branch Project Status CR V

            sjana Shraboni Jana
            wrider Lusheng Ji
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: