[stack@undercloud ~]$ sudo docker ps -a | grep glance
2f01d3e22aca tripleoupstream/centos-binary-glance-api:latest "kolla_start" 37 minutes ago Up 37 minutes glance_api
fae2e40050fc tripleoupstream/centos-binary-glance-api:latest "kolla_start" 46 minutes ago Exited (0) 45 minutes ago glance_api_db_sync
[stack@undercloud ~]$
cp: cannot create regular file ‘/httpboot/agent.kernel’: No such file or directory
Command 'sudo cp -f "./ironic-python-agent.kernel" "/httpboot/agent.kernel"' returned non-zero exit status 1
Image "overcloud-full-vmlinuz" was uploaded.
Images were uploaded successfully, it looks like the post upload steps failed.
[stack@undercloud ~]$ source stackrc
[stack@undercloud ~]$ glance image-list
+--------------------------------------+------------------------+
| ID | Name |
+--------------------------------------+------------------------+
| 394baeee-8a51-41ba-8ef5-5fd11e505898 | bm-deploy-kernel |
| ec52ff29-7402-4e90-a857-de77ed5af97a | bm-deploy-ramdisk |
| c3a6f128-7bd8-43f2-bbc6-0c7806887973 | overcloud-full |
| 6f345877-ac58-4de2-b847-270f4acee30c | overcloud-full-initrd |
| 61a13874-a622-4ec5-b120-763d4bbaff62 | overcloud-full-vmlinuz |
+--------------------------------------+------------------------+
Trace:
mage "bm-deploy-ramdisk" was uploaded.
+--------------------------------------+-------------------+-------------+-----------+--------+
| ID | Name | Disk Format | Size | Status |
+--------------------------------------+-------------------+-------------+-----------+--------+
| 2225bf53-1c83-456c-8cbb-f835ad10807a | bm-deploy-ramdisk | ari | 355413025 | active |
+--------------------------------------+-------------------+-------------+-----------+--------+
copy agent images to HTTP BOOT dir
cp: cannot create regular file ‘/httpboot/agent.kernel’: No such file or directory
Command 'sudo cp -f "./ironic-python-agent.kernel" "/httpboot/agent.kernel"' returned non-zero exit status 1
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
return super(Command, self).run(parsed_args)
File "/usr/lib/python2.7/site-packages/cliff/command.py", line 90, in run
return self.take_action(parsed_args) or 0
File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_image.py", line 930, in take_action
parsed_args.update_existing
File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_image.py", line 742, in _file_create_or_update
self._copy_file(src_file, dest_file)
File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_image.py", line 703, in _copy_file
shell=True)
File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
raise CalledProcessError(retcode, cmd)
CalledProcessError: Command 'sudo cp -f "./ironic-python-agent.kernel" "/httpboot/agent.kernel"' returned non-zero exit status 1
clean_up UploadOvercloudImage: Command 'sudo cp -f "./ironic-python-agent.kernel" "/httpboot/agent.kernel"' returned non-zero exit status 1
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 135, in run
ret_val = super(OpenStackShell, self).run(argv)
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 279, in run
result = self.run_subcommand(remainder)
File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 180, in run_subcommand
ret_value = super(OpenStackShell, self).run_subcommand(argv)
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
return super(Command, self).run(parsed_args)
File "/usr/lib/python2.7/site-packages/cliff/command.py", line 90, in run
return self.take_action(parsed_args) or 0
File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_image.py", line 930, in take_action
parsed_args.update_existing
File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_image.py", line 742, in _file_create_or_update
self._copy_file(src_file, dest_file)
File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_image.py", line 703, in _copy_file
shell=True)
File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
raise CalledProcessError(retcode, cmd)
CalledProcessError: Command 'sudo cp -f "./ironic-python-agent.kernel" "/httpboot/agent.kernel"' returned non-zero exit status 1
END return value: 1
full trace.