Git Product home page Git Product logo

edgelab's Issues

Fetch rpi4 iso

Fetch rpi4 iso sledgehammer-xxx56.rpi4.tar

Following EdgeLab Bootstrap instructions I ran into an issue where the EdgeClient rpi4's looked like they attempted to boot but did not come up in the discovered machines. This is how I figured out that the rpi4 was complaining about and how I figured out / remembered how drp discovery worked.

Steps

  1. Following EdgeLab Bootstrap I got to step 6.
  2. Using the video monitor and keyboard on edgelab-server rpi4 I found the start_me.sh in the root home directory and ran the following:
root@ubuntu:~# ./start_me.sh [Wifi SSID] [Wifi Password]
  1. Step 6 warned I may need to run this again, which I did. It complained about drp already running so I went to IP found on wlan0. https://192.168.2.170:8092
  2. Got the normal redirect to https://portal.rackn.io/#/e/192.168.2.170:8092
  3. Went to Machines which only had one with no workflow. The name was the mac of the endpoint and BootEnv was local.
  4. Went to Leases I did see 2 IP's with tokens that I assumed were the rpi4 I expected to see in machines.
  5. I reset the edgelab-client rpi4's via unplug and plug usb-c power.
  6. The edgelab-client showed network activity as expected, but did not show up in machines. After awhile, the edgelab-client GreenLED did a 7 flashes: kernel.img not found sequence ( see Pi4-Powerup LED TroubleShoot ).
  7. Rob's tour of the rpi4 mods View video time here pointed out to me that maybe I'm missing sledgehammer-xxx56.rpi4.tar
  8. I went to Boot Environments clicked on discovery found the rpi4 IsoUrl
  9. I went back to isos clicked Upload and gave the URL to fetch.
  10. The sledgehammer-xxx56.rpi4.tar appeared in isos.
  11. I power cycled the edgelab-client rpi4 again.
  12. Happiness! The Machines appeared!

Notes

sledgehammer-xxx56.rpi4.tar

Finding IP on edgelab-server

root@ubuntu:~# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen  
  ...
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
 ...
    inet 10.3.14.1/24 brd 10.3.14.255 scope global eth0
 ...
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
 ...
    inet 192.168.2.170/24 brd 192.168.2.255 scope global dynamic wlan0
 ...
root@ubuntu:~# 
root@ubuntu:~# drpcli catalog item install edge-lab --version=tip 

root@ubuntu:~# drpcli machines list
[
  {
    "Address": "",
    "Arch": "amd64",
    "Available": true,
    "BootEnv": "local",
    "Bundle": "BackingStore",
    "Context": "",
    "CurrentJob": "",
    "CurrentTask": 0,
    "Description": "",
    "Endpoint": "",
    "Errors": [],
    "HardwareAddrs": [],
    "Locked": false,
    "Meta": {
      "feature-flags": "change-stage-v2"
    },
    "Name": "dc-a6-32-63-e7-bd",
    "OS": "",
    "Params": {},
    "Partial": false,
    "Profiles": [],
    "ReadOnly": false,
    "Runnable": true,
    "Secret": "Z1kQcs4HlEfEUL-V",
    "Stage": "none",
    "Tasks": [],
    "Uuid": "69e85dab-230e-4647-a9cf-7e4f134ce66c",
    "Validated": true,
    "Workflow": ""
  }
]

root@ubuntu:~# drpcli isos list
[
  "sledgehammer-9b5276ac5826520829aa73c149fe672fe2363656.arm64.tar.part",
  "sledgehammer-c7305a9ba2c6b12351530c4a9021fd5e07ef1ce1.amd64.tar"
]

Download or Fetch [sledgehammer-xxx56.rpi4.tar](http://rackn-sledgehammer.s3-website-us-west-2.amazonaws.com/sledgehammer/9b5276ac5826520829aa73c149fe672fe2363656/sledgehammer-9b5276ac5826520829aa73c149fe672fe2363656.rpi4.tar) iso to the edgelab-server endpoint

root@ubuntu:~# drpcli isos list
[
  "sledgehammer-9b5276ac5826520829aa73c149fe672fe2363656.arm64.tar.part",
  "sledgehammer-9b5276ac5826520829aa73c149fe672fe2363656.rpi4.tar",
  "sledgehammer-c7305a9ba2c6b12351530c4a9021fd5e07ef1ce1.amd64.tar"
]

eeprom update

So, I ran into an issue with 'fresh from factory pi'
Both the server and client boots look like the started but never 'seemed' to finish.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.