Latest post Fri, Sep 18 2020 4:25 AM by Vadym. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • Thu, Sep 17 2020 5:14 PM

    unable to push my app to cloudux server for others to see.

    Hello.

    I have a cloudUX server and a developer tools. When I launch via npm start I can access and see my app no problem at https://localhost:9000

     

    I have been trying to figure out how to put it onto my cloudUX server so that other people can see it/comment/demo it

     

    I have run the steps below which seemed to work. but when i access the cloudux server service at https://cloudux2020-4 my app is not there after these steps. I am wondering what i am missing?

     

    --------------------------------------------------------------------------------------------------------------------------

     

    jeffk@jeffk-H81M-D2V:~/work/mediator-ui/apps/avid-cloudux-extension$ npm run buildFeaturePack

     

    > [email protected] buildFeaturePack /home/jeffk/work/mediator-ui/apps/avid-cloudux-extension

    > node ./scripts/buildFeaturePack.js

     

    [2020-09-17T10:17:48.636] [INFO] mediacentral-publish /home/jeffk/work/mediator-ui/apps/avid-cloudux-extension/node_modules/mediacentral-publish/lib/helper.js - ----- Passed options are valid -----

    [2020-09-17T10:18:41.010] [INFO] mediacentral-feature-pack /home/jeffk/work/mediator-ui/apps/avid-cloudux-extension/node_modules/mediacentral-feature-pack/lib/pack.js - ----- Starting feature-pack creation process -----

    [2020-09-17T10:18:41.011] [INFO] mediacentral-feature-pack /home/jeffk/work/mediator-ui/apps/avid-cloudux-extension/node_modules/mediacentral-feature-pack/lib/pack.js - ----- Passed options are valid -----

    [2020-09-17T10:18:41.012] [INFO] mediacentral-feature-pack /home/jeffk/work/mediator-ui/apps/avid-cloudux-extension/node_modules/mediacentral-feature-pack/lib/helper.js - ----- Creating feature-packs -----

    [2020-09-17T10:18:41.126] [INFO] mediacentral-feature-pack /home/jeffk/work/mediator-ui/apps/avid-cloudux-extension/node_modules/mediacentral-feature-pack/lib/pack.js - ----- Feature-pack successfully created -----

    jeffk@jeffk-H81M-D2V:~/work/mediator-ui/apps/avid-cloudux-extension$ ls

    changelogs  KM3wtiPhpNexbMXmfNxUUNEjzDwQRmc6  log           node_modules  package-lock.json  README-CLI.md  README-UX.md   RoWgUD7H3NRxKv9aJYUox2HL6pdiW05E  src

    EULA.md     LICENSE.txt                       mediator.zip  package.json  postcss.config.js  README.md      README-VCS.md  scripts

     

     

    -------------------------------------------------------------------------------------------------------------------------

    on the cloudUX server 

     

     

    [root@cloudux2020-4 ~]# avidctl feature-pack import mediator.zip

    Temporary artifact dir: /tmp/feature-import/feature-vJePENVIFr

    Extract feature pack file: mediator.zip

    Feature: mediator Version: 0.1.0

    Import Docker Images, please be patient (mediator-0.1.0-images.tar)...

    514c3a3e64d4: Loading layer [==================================================>]  1.442MB/1.442MB

    8248ff47012c: Loading layer [==================================================>]  1.001MB/1.001MB

    Loaded image: local/evertz/mediator:0.1.0

    The push refers to repository [localhost:30135/evertz/mediator]

    8248ff47012c: Pushed 

    514c3a3e64d4: Pushed 

    0.1.0: digest: sha256:a4f3bdf061a99d77bff7b3506e325d7931a31161f9bfb7b7f2147a363cb86abf size: 737

    Copy Charts file: mediator-0.1.0.tgz

    Recreate Chart Repo Index: /var/lib/registry/data/charts

     

    ---------------------------------------------------------------------------------------------------------------------------

    [root@cloudux2020-4 ~]# helm repo update

    Hang tight while we grab the latest from your chart repositories...

    ...Successfully got an update from the "avid-releases" chart repository

    Update Complete. ⎈ Happy Helming!⎈ 

     

     

    ---------------------------------------------------------------------------------------------------------------------------

     

    [root@cloudux2020-4 ~]# avidctl feature install --feature avid-releases/mediator --version=0.1.0 --name mediator

    Config files used for the deployment:

    /etc/avid/config/auth.yaml

    /etc/avid/config/cert.yaml

    /etc/avid/config/pam.yaml

    /etc/avid/config/site-key.yaml

    Hang tight while we grab the latest from your chart repositories...

    ...Successfully got an update from the "avid-releases" chart repository

    Update Complete. ⎈ Happy Helming!⎈ 

    E0917 10:30:35.607342    2381 portforward.go:303] error copying from remote stream to local connection: readfrom tcp4 127.0.0.1:34025->127.0.0.1:44406: write tcp4 127.0.0.1:34025->127.0.0.1:44406: write: broken pipe

    Release "mediator" has been upgraded. Happy Helming!

    E0917 10:30:35.785195    2381 portforward.go:303] error copying from remote stream to local connection: readfrom tcp4 127.0.0.1:34025->127.0.0.1:44410: write tcp4 127.0.0.1:34025->127.0.0.1:44410: write: broken pipe

    LAST DEPLOYED: Thu Sep 17 10:30:35 2020

    NAMESPACE: default

    STATUS: DEPLOYED

     

    RESOURCES:

    ==> v1/UIPlugin

    NAME      AGE

    mediator  3m11s

     

    -------------------------------------------------------------------------------------------------------------------------------

    [root@cloudux2020-4 ~]# avidctl platform deploy -i

     

    This tool deploys the platform and additional feature-packs

    -----------------------------------------------------------

     

    Config files used for the deployment:

    [OK   ] /etc/avid/config/auth.yaml

    [OK   ] /etc/avid/config/cert.yaml

    [OK   ] /etc/avid/config/pam.yaml

    [OK   ] /etc/avid/config/site-key.yaml

     

    Do you want to import feature packs from ISO? [Y/n]: n

     

    Do you want to deploy Production Management pack (pam)? [y/N]: y

     

    Do you want to deploy Asset Management pack (mam)? [y/N]: n

     

    Do you want to deploy Multi Platform Distribution (MPD) pack (mpd)? [y/N]: n

     

    Do you want to deploy Hoverscrub pack (hoverscrub)? [y/N]: n

     

    Do you want to deploy Enterprise Editing pack (ee)? [y/N]: n

     

    Do you want to deploy MediaCentral Ingest pack (ingest)? [y/N]: n

     

    Do you want to deploy Distributed Processing pack (dp)? [y/N]: n

     

    Do you want to deploy Media Composer Enterprise pack (mce)? [y/N]: n

     

    Do you want to deploy Asset Logger pack (asset-logger)? [y/N]: n

     

    Do you want to deploy Publisher pack (publisher)? [y/N]: n

     

    Deploy feature packs

    -----------------------------------------------------------

    Deploy avid-release-cloudux - avid-release-cloudux - avid-releases/avid-release-cloudux 

    Deploy CloudUX Core Services - core - avid-releases/platform-core 

    Deploy CloudUX Core App - core-app - avid-releases/platform-core-app 

    Deploy CloudUX Playback Services - playback - avid-releases/platform-playback 

    Deploy CloudUX Search Services - search - avid-releases/platform-search 

    Deploy Production Management - pam - avid-releases/platform-pam 

     

    -----------------------------------------------------------

    Deployment was successful

  • Thu, Sep 17 2020 5:32 PM In reply to

    Re: unable to push my app to cloudux server for others to see.

    also worthy of note I can see my app in   

    /var/lib/registry/data/charts/index.yaml

     

    mediator:

      - apiVersion: v1

        created: 2020-09-17T10:25:24.766866545-04:00

        description: A ui plugin chart example

        digest: ------------------Omitted due to looking liek a security key----------------------------

        name: mediator

        urls:

        - mediator-0.1.0.tgz

        version: 0.1.0

     

    ------------------------------------------------------------------

    Also I can see the app listed on the kubernetes page.

    ------------------------------------------------------------------

    mediator-uidpl controllerName: avid-kube-ui-manager uiplugin: mediator 1 / 13 hours localhost:30135/mcs_stage/avid-kube-ui-plugin-nginx:20191025-083402 localhost:30135/mcs_stage/avid-kube-ui-plugin-copy:20180425-090501 localhost:30135/evertz/mediator:0.1.0 localhost:30135/mcs_stage/avid-kube-ui-plugin-lister:20180425-090428
  • Fri, Sep 18 2020 4:25 AM In reply to

    • Vadym
    • Top 500 Contributor
    • Joined on Thu, Apr 17 2014
    • Posts 262
    • Points 3,110
    • ! Avid Employee
      Avid Developer Moderator

    Re: unable to push my app to cloudux server for others to see.

    Hi Jeff,

    To distribute your app you'll need a production set of id/secret built into your feature pack that you can obtain on a seller portal.

    Once that is done and feature pack is built you can deploy just your feature pack as described http://developer.avid.com/connector_api/feature-pack-installation/docs-public/README.html

    Please note that you'll also need a license that enables your app on the system and can be obtained through the Avid partner relations team or sales.

     

    Hope this helps,

    Thanks,

    Vadym

Page 1 of 1 (3 items)

© Copyright 2011 Avid Technology, Inc.  Terms of Use |  Privacy Policy |  Site Map |  Find a Reseller