Ask Your Question

Apex installer problems

asked 2016-05-24 09:31:30 -0700

dbalsige gravatar image

Hi there,

I gave the apex installer a try. I used a centos host and installed . Seems I used the correct inventory.yaml, network_settings.yaml and deploy-settings.yaml for my lab with opnfv-deploy, since in a first run of opnfv-deploy undercloud install went fine. My nodes got PXE booted on the right interface. :)

However something failed with overcloud installation and I wanted to re-install. I run opnfv-clean In the second run (and all following runs) of opnfv-deploy I had however problems get the undercloud installation done.

It fails with:

Running undercloud configuration. Logging undercloud configuration to instack:/home/stack/apex-undercloud-install.log INFO: Sleeping 15 seconds while services come back from restart Copying overcloud image to instack INFO: Number of compute nodes set for deployment: 2 INFO: Deploy options set: -e /usr/share/openstack-tripleo-heat-templates/environments/opendaylight.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/storage-environment.yaml --control-scale 3 -e /usr/share/openstack-tripleo-heat-templates/environments/puppet-pacemaker.yaml --compute-scale 2 -e network-environment.yaml --ntp-server --control-flavor control --compute-flavor compute

-bash: line 5: stackrc: No such file or directory

Uploading overcloud glance images

Seems undercloud stack user has no stackrc. Is this a known behavior ? Does opnfv-clean not clean up everything? It seems in the very first run I was able to get the undercloud up. Not in the following runs after opnfv-clean though. Anyone experiencing the same problems?

Any help appreciated, Daniel

edit retag flag offensive close merge delete


How did you manage to solve this? I have the same issue.

jmguzman ( 2016-07-25 08:25:24 -0700 )edit

5 answers

Sort by » oldest newest most voted

answered 2016-07-21 09:54:52 -0700 gravatar image

Same problem here, but I am installing in a virtualised environment, ie,

opnfv-deploy --virtual --no-ha --flat --deploy-settings /etc/opnfv-apex/os-odl_l2-sfc-noha.yaml

and I am getting

Uploading overcloud glance images
-bash: line 5: stackrc: No such file or directory
Missing parameter(s):
Set a username with --os-username, OS_USERNAME, or auth.username
Set an authentication URL, with --os-auth-url, OS_AUTH_URL or auth.auth_url
Set a scope, such as a project or domain, set a project scope with --os-project-name, OS_PROJECT_NAME or auth.project_name, set a domain scope with --os-domain-name, OS_DOMAIN_NAME or auth.domain_name

I sshed to the instack VM, and I see that /root/stackrc is there, but it seems it is not loaded at the installation time. If I sourced the file, openstack commands don´t complain anymore. There was also some locale errors, that I fixed in /etc/profile.d

I think the problem is that the installation user could not find stackrc, but the file is there...

How do you guys solved this issue?

Thanks JM

edit flag offensive delete link more

answered 2019-03-04 01:04:45 -0700

Undercloud installation process isn't easy as you've described in the article but the method is also understandable as I read it now. This is good effort by your developer team to share everything about it and this website help me to get useful task. Thank you!

edit flag offensive delete link more

answered 2016-05-24 19:39:14 -0700

Xiaofeng gravatar image

stackrc is in undercloud. It will be clean up with opnfv-clean.

You can ssh to undercloud and go to /home/stack, stackrc will be found there.

edit flag offensive delete link more


Thank you for pointing that out. I am able to SSH in to instack as stack user. No stackrc there. :( Anyway it seems opnfv-deploy doesnt set up my network interfaces correctly, only admin and public networks are set up (brbm and brbm2). storage and private bridges (brbm1 and brbm3) are not set up.

dbalsige ( 2016-05-25 08:00:29 -0700 )edit

It's ok without private and storage bridges which depends on network-setting.yaml.

Xiaofeng ( 2016-06-06 05:31:55 -0700 )edit

answered 2018-09-23 23:29:16 -0700

Me and my friend always prefer to play mahjongg dimensions free online game and it can make exiting moment, this is a perfect place for all online game players. keep trying to play this mahjong and create most exiting moment.

edit flag offensive delete link more

answered 2016-10-11 09:31:53 -0700

Aarti gravatar image

Hi, I am new to this area. Could you help me how did you install APEX-OPNFV in virtualization environment.

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

[hide preview]

Question Tools

1 follower


Asked: 2016-05-24 09:31:30 -0700

Seen: 2,888 times

Last updated: Mar 04