Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating PNDA on OpenStack.It always stop with [deploy_package]: CREATE_FAILED CREATE aborted. #163

Open
yeweimian21 opened this issue Apr 3, 2018 · 0 comments

Comments

@yeweimian21
Copy link

I encountered a problem when I built the PNDA platform on openstack with heat.Your help is greatly appreciated.
1.The command:
root@test:/home/pnda/git3/pnda-heat-templates/cli# ./heat_cli.py -e cation -f pico -s mykey create
The log is as follows:

2018-03-20 01:07:43 [cation]: CREATE_IN_PROGRESS Stack CREATE started
2018-03-20 01:07:43 [pre_config]: CREATE_IN_PROGRESS state changed
2018-03-20 01:07:43 [expand_config]: CREATE_IN_PROGRESS state changed
2018-03-20 01:07:43 [PndaSecGroup]: CREATE_IN_PROGRESS state changed
2018-03-20 01:07:44 [install_config]: CREATE_IN_PROGRESS state changed
2018-03-20 01:07:44 [Key]: CREATE_IN_PROGRESS state changed
2018-03-20 01:07:44 [private_net]: CREATE_IN_PROGRESS state changed
2018-03-20 01:07:44 [saltmaster_sec_group]: CREATE_IN_PROGRESS state changed
2018-03-20 01:07:45 [orchestrate_config]: CREATE_IN_PROGRESS state changed
2018-03-20 01:07:45 [package_config]: CREATE_IN_PROGRESS state changed
2018-03-20 01:07:45 [router]: CREATE_IN_PROGRESS state changed
2018-03-20 01:07:45 [highstate_config]: CREATE_IN_PROGRESS state changed
2018-03-20 01:07:45 [expand_config]: CREATE_COMPLETE state changed
2018-03-20 01:07:45 [saltmaster_sec_group]: CREATE_COMPLETE state changed
2018-03-20 01:07:45 [orchestrate_config]: CREATE_COMPLETE state changed
2018-03-20 01:07:45 [install_config]: CREATE_COMPLETE state changed
2018-03-20 01:07:45 [pre_config]: CREATE_COMPLETE state changed
2018-03-20 01:07:45 [PndaSecGroup]: CREATE_COMPLETE state changed
2018-03-20 01:07:45 [router]: CREATE_COMPLETE state changed
2018-03-20 01:07:46 [package_config]: CREATE_COMPLETE state changed
2018-03-20 01:07:46 [highstate_config]: CREATE_COMPLETE state changed
2018-03-20 01:07:46 [Key]: CREATE_COMPLETE state changed
2018-03-20 01:07:46 [private_net]: CREATE_COMPLETE state changed
2018-03-20 01:07:46 [private_subnet]: CREATE_IN_PROGRESS state changed
2018-03-20 01:07:47 [private_subnet]: CREATE_COMPLETE state changed
2018-03-20 01:07:47 [saltmaster_port]: CREATE_IN_PROGRESS state changed
2018-03-20 01:07:48 [router_interface]: CREATE_IN_PROGRESS state changed
2018-03-20 01:07:49 [router_interface]: CREATE_COMPLETE state changed
2018-03-20 01:07:49 [saltmaster_port]: CREATE_COMPLETE state changed
2018-03-20 01:07:49 [saltmaster_server]: CREATE_IN_PROGRESS state changed
2018-03-20 01:07:59 [saltmaster_server]: CREATE_COMPLETE state changed
2018-03-20 01:07:59 [deploy_package]: CREATE_IN_PROGRESS state changed
2018-03-20 03:07:43 [deploy_package]: CREATE_FAILED CREATE aborted
2018-03-20 03:07:43 [cation]: CREATE_FAILED Create timed out

Stack cation CREATE_FAILED

It always stop at [deploy_package] for a long time.It eventually ended because it reached timeout(120 minutes).Did I misconfigured something?
Sometime I run the command with other parameters.For example:
./heat_cli.py -e cation -n 3 -o 1 -k 2 -z 3 -f standard -s mykey create
But it have the same problem.
2.I configure the parameter 'keystone_tenant' in pnda_env.yaml.
keystone_tenant: 'pnda'
Should I created the project 'pnda' before creating PNDA?
3.The keypair 'mykey' is created by the user 'demo' in openstack.
It is exist before create PNDA.
I run the command with the parameter -s mykey.
Why there will create a keypair 'cation' during the process of creating PNDA?
build12

The swift list output:
build11

The content of a file named 592a5fa5-94a4-4748-973b-4e0bfd91f725 which in container cation-saltmaster_server-iljkq4mpppti.

{   
        "os-collect-config": 
            {
                "request": {
                    "metadata_url": "http://controller:8081/v1/AUTH_d5d19fdbe22e4f679ea38fde968b9308/cation-saltmaster_server-iljkq4mpppti/592a5fa5-94a4-4748-973b-4e0bfd91f725?temp_url_sig=caf167275fc365562174612ce32332729d573c30&temp_url_expires=2147483587"
                }, 
                "collectors": ["ec2", "request", "local"]
             }, 
         "deployments": []
    }

Some parameters in pnda_env.yaml:

os_user: 'root'
keystone_user: 'demo'
keystone_tenant: 'pnda'
keystone_auth_url: 'http://10.10.4.13:5000/v3'
keystone_auth_version: '3'
PndaMirror: 'http://10.10.4.13/pnda-root/'
git_private_key_file: deploy
package_repository_fs_type:  'swift'
pnda_archive_container:  'pnda_archive'
pnda_apps_container:  'pnda_apps'
pnda_apps_folder:  'releases'

My environment:

operating system:Ubuntu 14.04 server amd64 LTS
OpenStack:Mitaka
swift bind_port:8081

Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant