Ask Your Question
0

How do I deploy fuel openstack, off network, with local repo?

asked 2015-12-15 19:41:45 -0600

Alteci gravatar image

I'm using Mirantis (6.1) Fuel and trying to deploy off network, using a local repo, so we can demo this to clients without a network connection. I've updated /opt/fuel-createmirror-6.1/config/common.cfg and changed PARTIAL_UPSTREAM to 0, I then ran fuel-createmirror...that ran for a while and I've verified files have been copied to the MIRROR_ROOT location.

When I deploy, I get the error below. I then manually went to each of the URL's listed below, and all but two work. The first two don't work (the ones with /targetimages/ in the path. I don't see anywhere in the Fuel Dashboard -> Settings -> Repo's where I can change this...is this something hard coded, or perhaps in a config file? What am I missing (by the way, the network test was successful and I'm able to deploy if I use the default repo's)?

Failed to execute hook 'shell' Failed to run command cd / && fa_build_image --log-file /var/log/fuel-agent-env-3.log --data_driver nailgun_build_image --input_data '{"image_data": {"/boot": {"container": "gzip", "uri": "http://10.20.0.2:8080/targetimages/env_3_ubuntu_1404_amd64-boot.img.gz", "format": "ext2"}, "/": {"container": "gzip", "uri": "http://10.20.0.2:8080/targetimages/env_3_ubuntu_1404_amd64.img.gz", "format": "ext4"}}, "output": "/var/www/nailgun/targetimages", "repos": [{"name": "ubuntu", "section": "main universe multiverse", "uri": "http://10.20.0.2:8080/ubuntu-part", "priority": null, "suite": "base", "type": "deb"}, {"name": "ubuntu-security", "section": "main universe multiverse", "uri": "http://10.20.0.2:8080/ubuntu-part", "priority": null, "suite": "security", "type": "deb"}, {"name": "ubuntu-updates", "section": "main universe multiverse", "uri": "http://10.20.0.2:8080/ubuntu-part", "priority": null, "suite": "updates", "type": "deb"}, {"name": "mos", "section": "main restricted", "uri": "http://10.20.0.2:8080/2014.2.2-6.1/ubuntu/x86_64", "priority": 1050, "suite": "mos6.1", "type": "deb"}, {"name": "mos-updates", "section": "main restricted", "uri": "http://10.20.0.2:8080/mos-ubuntu", "priority": 1050, "suite": "mos6.1-updates", "type": "deb"}, {"name": "mos-security", "section": "main restricted", "uri": "http://10.20.0.2:8080/mos-ubuntu", "priority": 1050, "suite": "mos6.1-security", "type": "deb"}, {"name": "mos-holdback", "section": "main restricted", "uri": "http://10.20.0.2:8080/mos-ubuntu", "priority": 1100, "suite": "mos6.1-holdback", "type": "deb"}, {"name": "Auxiliary", "section": "main restricted", "uri": "http://10.20.0.2:8080/2014.2.2-6.1/ubuntu/auxiliary", "priority": 1150, "suite": "auxiliary", "type": "deb"}], "codename": "trusty"}'

Thanks in advance,

John

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-01-21 08:06:02 -0600

kelepirci gravatar image

Hello Alteci,

With Mirantis Openstack 8.0 there is a option to add proxy. You can use proxy to pass your company firewall.

But I am not sure how to overcome this problem in 7.0

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2015-12-15 19:41:45 -0600

Seen: 968 times

Last updated: Jan 21 '16