cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6932
Views
5
Helpful
4
Replies

Downloading firmware to APIC issues

dodgerfan78
Level 1
Level 1

Hello,

I have two issues:

1) What is the format for the URL in the Download Tasks section? I cannot seem to get it right. I can copy directly from the APIC using the scp command with the format user@x.x.x.x:filename (I put the file in the root of my scp server path). If I use the format x.x.x.x:<filename> it does not work. I tried adding slash, nothing works.

2) I successfully download 3 files this way (2 switch bins and an apic iso) and now the 4th one is "stalling":

admin@apic1:Downloads> scp bryan@172.28.1.90:aci-apic-dk9.1.1.4l.iso .
bryan@172.28.1.90's password:
aci-apic-dk9.1.1.4l.iso 0% 0 0.0KB/s - stalled -

Any idea what the issue could be?

Thanks,

Bryan

1 Accepted Solution

Accepted Solutions

Tomas de Leon
Cisco Employee
Cisco Employee

Bryan,

In regards to this question and future questions, please provide the currently running versions on your APIC(s) and Leaf\Spine Nodes when posting a question.  Also if you are upgrading, also provide the Target version that your intend to upgrade to.

For #1, the existing version is important since we changed the patch statements in the download task policies with each version or various versions.  The reason for the changes is to make it easier for you to configure the download task.  So that is why the current version is important.

For Example:

Application Policy Infrastructure Controller
Version: 1.0(4o)

HTTP Source Path

URL:
a.b.c.d/http/Software/Cisco/ACI/aci-n9000-dk9.11.2.2h.bin

SCP Source Path

URL:
a.b.c.d:/scp/Software/Cisco/ACI/aci-n9000-dk9.11.2.2h.bin

For #2, you may be running out of disk space on the directory partition.  Hard to tell from the information that you provided.

Thanks

T.

 

 

View solution in original post

4 Replies 4

Tomas de Leon
Cisco Employee
Cisco Employee

Bryan,

In regards to this question and future questions, please provide the currently running versions on your APIC(s) and Leaf\Spine Nodes when posting a question.  Also if you are upgrading, also provide the Target version that your intend to upgrade to.

For #1, the existing version is important since we changed the patch statements in the download task policies with each version or various versions.  The reason for the changes is to make it easier for you to configure the download task.  So that is why the current version is important.

For Example:

Application Policy Infrastructure Controller
Version: 1.0(4o)

HTTP Source Path

URL:
a.b.c.d/http/Software/Cisco/ACI/aci-n9000-dk9.11.2.2h.bin

SCP Source Path

URL:
a.b.c.d:/scp/Software/Cisco/ACI/aci-n9000-dk9.11.2.2h.bin

For #2, you may be running out of disk space on the directory partition.  Hard to tell from the information that you provided.

Thanks

T.

 

 

dodgerfan78
Level 1
Level 1

Hey Tomas, thanks for the reply. I am currently on 1.0(3f). trying to upgrade to 1.1(4l) for now. Just trying to learn the process.

I don't seem to be out of space:

admin@apic1:~> df -h
Filesystem Size Used Avail Use% Mounted on
/dev/dm-1 36G 9.6G 25G 29% /
tmpfs 4.0G 53M 4.0G 2% /dev/shm
tmpfs 32G 676K 32G 1% /tmp
df: `/boot': No such file or directory
df: `/efiboot': No such file or directory
/dev/mapper/vg_ifc0_ssd-data
36G 9.6G 25G 29% /data
df: `/logs': No such file or directory
df: `/dmecores': No such file or directory
df: `/techsupport': No such file or directory
/dev/mapper/vg_ifc0-firmware
36G 4.4G 30G 14% /firmware
df: `/scratch': No such file or directory
df: `/data2': No such file or directory
df: `/data/log': No such file or directory
df: `/data/shell-data': No such file or directory
df: `/rfs2': No such file or directory
df: `/securedata': No such file or directory
df: `/var/run/bashroot/.aci': No such file or directory

Bryan,

Did the paths listed above work?

In the earlier releases, the supported way to add firmware to the repository was to create "Download Tasks" using SCP or HTTP.  As you have seen the path and creating those Download Tasks can be a challenge.  As you will see, the later releases make this much easier and also add the ability to simply browse for the file on your desktop and upload it directly to the repository.

Another way is to scp or sftp the file to the home directory of admin and use the CLI commands to add the firmware to the repository.

Just let us know if you are still having issues

T.

Hi Tomas,

They didn't work, I ended up just copying to apic using scp. I did notice you can now upload directly. Also in 1.1.4l the "ignore compatibility check" box was missing and it prevented from upgrading to 1.2.3c which should have been ok. I had to do this from apic cli:

icurl 'http://127.0.0.1:7777/api/node/mo/uni/controller.json' -g -X POST --data '{"firmwareCtrlrFwP":{"attributes":{"ignoreCompat":"yes"}}}’

Bryan

Review Cisco Networking for a $25 gift card

Save 25% on Day-2 Operations Add-On License