Home › Forums › FABRIC General Questions and Discussion › Unable to assign ip address
- This topic has 8 replies, 3 voices, and was last updated 1 month, 3 weeks ago by Kimberly Westfall.
-
AuthorPosts
-
September 30, 2024 at 12:04 pm #7578
Using the “Creating FABnet IPv4 Network” notebook (as well as other notebooks) I am failing at:
node1_iface.ip_addr_add(addr=node1_addr, subnet=network1.get_subnet())
I get an “Authentication failed” error, but my key has worked previously and is not expired. I tried setting up a new key anyway, and ran configure and “configure & validate” with no success. Wondering if it’s an error with the mgmt interface instead of an authentication error.
Slice ID is 72822f32-9878-4aa9-9895-0e193d52a39c
Any ideas?
September 30, 2024 at 12:07 pm #7579Reattaching to see if these are more visible.
Nodes are at BRIST and STAR
September 30, 2024 at 12:13 pm #7580Hi Kim,
Both of your VMs are accessible via SSH. I can verify with Nova SSH key. I also verified that your SSH keys are pushed in to the VM.
Could you please share the output of the following?
Please run the following snippet in a notebook cell before the configure step.
If this does show the management IPs for the VMs, please try running the configure cells again and let us know if it works.
slice = fablib.get_slice(slice_name)slice.show();
slice.list_nodes();
Thanks,
KomalSeptember 30, 2024 at 12:15 pm #7581Can you also please provide more details like
- you fabric user id
- slicename/slice details.
September 30, 2024 at 12:23 pm #7582<caption>Slice</caption>
ID 72822f32-9878-4aa9-9895-0e193d52a39c Name MySlice Lease Expiration (UTC) 2024-10-01 14:30:22 +0000 Lease Start (UTC) 2024-09-30 14:30:22 +0000 Project ID 990d8a8b-7e50-4d13-a3be-0f133ffa8653 State StableOK <caption>Nodes</caption>
ID Name Cores RAM Disk Image Image Type Host Site Username Management IP State Error SSH Command Public SSH Key File Private SSH Key File 91997e55-dc1f-4db6-8140-43a258236927 Node1 2 8 10 default_rocky_8 qcow2 brist-w2.fabric-testbed.net BRIST rocky 137.222.230.26 Active ssh -i /home/fabric/work/fabric_config/slice_key -F /home/fabric/work/fabric_config/ssh_config rocky@137.222.230.26 /home/fabric/work/fabric_config/slice_key.pub /home/fabric/work/fabric_config/slice_key c3ff04c2-355e-4447-98cc-73ea3ddd843b Node2 2 8 10 default_rocky_8 qcow2 star-w3.fabric-testbed.net STAR rocky 2001:400:a100:3030:f816:3eff:fecb:cff3 Active ssh -i /home/fabric/work/fabric_config/slice_key -F /home/fabric/work/fabric_config/ssh_config rocky@2001:400:a100:3030:f816:3eff:fecb:cff3 /home/fabric/work/fabric_config/slice_key.pub /home/fabric/work/fabric_config/slice_key <caption>FABlib Config</caption>
Credential Manager cm.fabric-testbed.net Orchestrator orchestrator.fabric-testbed.net Project ID 990d8a8b-7e50-4d13-a3be-0f133ffa8653 Token File /home/fabric/.tokens.json Bastion Host bastion.fabric-testbed.net Bastion Username kw26_0000131232 Bastion Private Key File /home/fabric/work/fabric_config/new-bastion-keypair.pub Slice Private Key File /home/fabric/work/fabric_config/slice_key Slice Public Key File /home/fabric/work/fabric_config/slice_key.pub Log File /tmp/fablib/fablib.log Log Level INFO Sites to avoid SSH Command Line ssh -i {{ _self_.private_ssh_key_file }} -F /home/fabric/work/fabric_config/ssh_config {{ _self_.username }}@{{ _self_.management_ip }} Version 1.7.3 Data directory /tmp/fablib Core API uis.fabric-testbed.net Bastion SSH Config File /home/fabric/work/fabric_config/ssh_config Userid: kw26_0000131232
Slicename: MySlice
September 30, 2024 at 12:26 pm #7583Thank you Kim! Could you also please open a terminal on JH and try SSH to the VM using the command displayed above?
ssh -i /home/fabric/work/fabric_config/slice_key -F /home/fabric/work/fabric_config/ssh_config rocky@137.222.230.26
Thanks,
KomalSeptember 30, 2024 at 12:30 pm #7584fabric@spring:jupyter-examples-main-48%$ ssh -i /home/fabric/work/fabric_config/slice_key -F /home/fabric/work/fabric_config/ssh_config rocky@137.222.230.26 Warning: Permanently added 'bastion.fabric-testbed.net' (ED25519) to the list of known hosts. Load key "/home/fabric/work/fabric_config/new-bastion-keypair.pub": error in libcrypto kw26_0000131232@bastion.fabric-testbed.net: Permission denied (publickey,gssapi-keyex,gssapi-with-mic). kex_exchange_identification: Connection closed by remote host Connection closed by UNKNOWN port 65535
September 30, 2024 at 1:03 pm #7587I reconfigured my key again and can ssh now. Not sure why my original key stopped working, but must have not set it up correctly the second time. So sorry, thanks for looking into it.
September 30, 2024 at 1:37 pm #7588Unless the key disappears from the portal once it expires. Anyway, thanks for your time and help. Closing this.
-
AuthorPosts
- The topic ‘Unable to assign ip address’ is closed to new replies.