1. get_ssh_command not including management IP

get_ssh_command not including management IP

Home Forums FABRIC General Questions and Discussion get_ssh_command not including management IP

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6091
    Fraida Fund
    Participant

      I’ve noticed that sometimes the get_ssh_command fails to include the management IP, is this a known issue? (See image attached.)

      It’s not an issue for my personal use – I can still get the management IP myself – but it is a problem when I am asking students to use the output of get_ssh_command.

      (The attached image is from slice w/ ID e92e9e62-ddfb-4220-bc21-9e79ac121b39 but I have noticed it before with other slices.  I am using the default JupyterHub, fablib 1.5.4.)

      #6095
      Ilya Baldin
      Participant

        A lot of time it has to do with race conditions that exist when querying for slice state and information about e.g. IP addresses arriving asynchronously from different sites. One workaround is to call get_slice() again – that’s what queries the system for the latest slice model that has the information to produce the SSH command line (like the management IP).

        get_ssh_command() just looks inside the current model and reports what is there (so while the name may suggest it gets the latest information, it doesn’t – its information is as current as the last call to get_slice()).

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.
      FABRIC invites nominations for four awards recognizing innovative uses of FABRIC resources—Best Published Paper, Best FABRIC Matrix, Best FABRIC Experiment, and Best Classroom Use of FABRIC — submissions due by **Monday, February 24 at 11:59 PM ET**, and winners announced at KNIT10. [>>>Submit Form](https://docs.google.com/forms/d/e/1FAIpQLSeTp3i2iDhB7bHgN8ryMxZci8ya87yjeQd7_JMZImUodNinVA/viewform)

      KNIT10 Call for Demos Now Open! Submit your demo by **February 24**. [>>>Submit Demo](https://docs.google.com/forms/d/e/1FAIpQLScRIWqHliNP3DFWBCnalYN_fBXJXVM0PpP9YWWJdSebC95TvA/viewform)
      FABRIC invites nominations for four awards recognizing innovative uses of FABRIC resources—Best Published Paper, Best FABRIC Matrix, Best FABRIC Experiment, and Best Classroom Use of FABRIC — submissions due by **Monday, February 24 at 11:59 PM ET**, and winners announced at KNIT10. [>>>Submit Form](https://docs.google.com/forms/d/e/1FAIpQLSeTp3i2iDhB7bHgN8ryMxZci8ya87yjeQd7_JMZImUodNinVA/viewform)

      KNIT10 Call for Demos Now Open! Submit your demo by **February 24**. [>>>Submit Demo](https://docs.google.com/forms/d/e/1FAIpQLScRIWqHliNP3DFWBCnalYN_fBXJXVM0PpP9YWWJdSebC95TvA/viewform)