[rdo-dev] What is a command line to commit TripleO QuickStart Queens deployment on remote host ?

2018-04-24 Thread Boris Derzhavets
Regardless:-

commit ed89f066a5840409c96aad29ba1315010705e321
Merge: 048af7b 95aa652
Author: Zuul 
Date:   Sat Apr 21 13:55:59 2018 +
  Merge "Switch default to queens"

Attempt to follow Carlos Camacho
https://www.anstack.com/blog/2018/01/05/tripleo-quickstart-cheatsheet.html
which worked around Milestone 3 (early April this year)  in meantime results 
looping during overcloud  deployment. Are any howtos for Tripleo QS Queens 
publicly available ?
I believe there should be new CLI  for quickstart.sh.  SELINUX current setup on
VIRTHOST is quite clear  as well.

Thanks.
Boris.






___
dev mailing list
dev@lists.rdoproject.org
http://lists.rdoproject.org/mailman/listinfo/dev

To unsubscribe: dev-unsubscr...@lists.rdoproject.org


[rdo-dev] Attempts for Tripleo Quickstart remote deployments stable "queens" to remote VIRTHOST (via F27 WKS)

2018-03-08 Thread Boris Derzhavets
Boris Derzhavets has shared OneDrive files with you. To view them, click the 
links below.


<https://1drv.ms/u/s!AqjiDzRpwaKogSsjoeRWq1H9xKPW>
[https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<https://1drv.ms/u/s!AqjiDzRpwaKogSsjoeRWq1H9xKPW>

overcloud_deploy.log040318<https://1drv.ms/u/s!AqjiDzRpwaKogSsjoeRWq1H9xKPW>

<https://1drv.ms/u/s!AqjiDzRpwaKogSzecP79UTtYy-Vj>
[https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<https://1drv.ms/u/s!AqjiDzRpwaKogSzecP79UTtYy-Vj>

overcloud_deploy.log060318<https://1drv.ms/u/s!AqjiDzRpwaKogSzecP79UTtYy-Vj>




During the most recent 3 or 4 days deployments like

[boris@f27wks~]$ bash ./tripleo-quickstart/quickstart.sh \
--clean \
--release queens \
--teardown all \
--tags all \
-e @$CONFIG \
 $VIRTHOST

with following configs :-


Minimal case


[boris@fedora27workstation ~]$ cat deploy-config.yaml
overcloud_nodes:
  - name: control_0
flavor: control
virtualbmc_port: 6230
  - name: compute_0
flavor: compute
virtualbmc_port: 6231
node_count: 2
containerized_overcloud: true
delete_docker_cache: true
enable_pacemaker: true
run_tempest: false
extra_args: >-
  --libvirt-type qemu
  --ntp-server pool.ntp.org
  -e /usr/share/openstack-tripleo-heat-templates/environments/docker.yaml
  -e /usr/share/openstack-tripleo-heat-templates/environments/docker-ha.yaml

log040318

HA Minimal case

[boris@fedora27workstation ~]$ cat deploy-configHA.yaml
# 32 GB VIRTHOST

control_memory: 7500
compute_memory: 6500

overcloud_nodes:
  - name: control_0
flavor: control
virtualbmc_port: 6230
  - name: control_1
flavor: control
virtualbmc_port: 6231
  - name: control_2
flavor: control
virtualbmc_port: 6232

  - name: compute_0
flavor: compute
virtualbmc_port: 6233
node_count: 4
containerized_overcloud: true
delete_docker_cache: true
enable_pacemaker: true
run_tempest: false
extra_args: >-
  --libvirt-type qemu
  --ntp-server pool.ntp.org
  --control-scale 3
  --compute-scale 1
  -e /usr/share/openstack-tripleo-heat-templates/environments/docker.yaml
  -e /usr/share/openstack-tripleo-heat-templates/environments/docker-ha.yaml

log060318

generates error logs at step 4 overcloud deployment, which are attached to 
message.


Thanks.

Boris.



___
dev mailing list
dev@lists.rdoproject.org
http://lists.rdoproject.org/mailman/listinfo/dev

To unsubscribe: dev-unsubscr...@lists.rdoproject.org


Re: [rdo-dev] Attempt to reproduce Carlos Camacho simplest deployment (controller+compute) . It fails when running overcloud_prep_containers.sh

2018-02-23 Thread Boris Derzhavets
In meantime script  overcloud_prep_containers.sh crashes with log log.

This behavior stays the same for about several  days already.

---

overcloud_prep_containers.log

---

2018-02-23 07:21:27 | Trying paths: ['/home/stack/.docker/config.json', 
'/home/stack/.dockercfg']
2018-02-23 07:21:27 | No config file found
2018-02-23 07:21:27 | http://localhost:None "GET /version HTTP/1.1" 200 299
2018-02-23 07:21:27 | Running skopeo inspect 
docker://docker.io/tripleomaster/centos-binary-gnocchi-api:current-tripleo-rdo
2018-02-23 07:21:28 | Extracting
2018-02-23 07:21:28 | Extracting
2018-02-23 07:21:28 | None: None
2018-02-23 07:21:28 | Traceback (most recent call last):
2018-02-23 07:21:28 |   File "/usr/lib/python2.7/site-packages/cliff/app.py", 
line 400, in run_subcommand
2018-02-23 07:21:28 | result = cmd.run(parsed_args)
2018-02-23 07:21:28 |   File 
"/usr/lib/python2.7/site-packages/tripleoclient/command.py", line 25, in run
2018-02-23 07:21:28 | super(Command, self).run(parsed_args)
2018-02-23 07:21:28 |   File 
"/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
2018-02-23 07:21:28 | return super(Command, self).run(parsed_args)
2018-02-23 07:21:28 |   File 
"/usr/lib/python2.7/site-packages/cliff/command.py", line 184, in run
2018-02-23 07:21:28 | return_code = self.take_action(parsed_args) or 0
2018-02-23 07:21:28 |   File 
"/usr/lib/python2.7/site-packages/tripleoclient/v1/container_image.py", line 
66, in take_action
2018-02-23 07:21:28 | uploader.upload()
2018-02-23 07:21:28 |   File 
"/usr/lib/python2.7/site-packages/tripleo_common/image/image_uploader.py", line 
94, in upload
2018-02-23 07:21:28 | uploader.run_tasks()
2018-02-23 07:21:28 |   File 
"/usr/lib/python2.7/site-packages/tripleo_common/image/image_uploader.py", line 
354, in run_tasks
2018-02-23 07:21:28 | for result in p.map(docker_upload, self.upload_tasks):
2018-02-23 07:21:28 |   File "/usr/lib64/python2.7/multiprocessing/pool.py", 
line 250, in map
2018-02-23 07:21:28 | return self.map_async(func, iterable, chunksize).get()
2018-02-23 07:21:28 |   File "/usr/lib64/python2.7/multiprocessing/pool.py", 
line 554, in get
2018-02-23 07:21:28 | raise self._value
2018-02-23 07:21:28 | ReadTimeoutError: None: None
2018-02-23 07:21:28 | clean_up UploadImage: None: None
2018-02-23 07:21:28 | Traceback (most recent call last):
2018-02-23 07:21:28 |   File 
"/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 134, in run
2018-02-23 07:21:28 | ret_val = super(OpenStackShell, self).run(argv)
2018-02-23 07:21:28 |   File "/usr/lib/python2.7/site-packages/cliff/app.py", 
line 279, in run
2018-02-23 07:21:28 | result = self.run_subcommand(remainder)
2018-02-23 07:21:28 |   File 
"/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 169, in run_subcommand
2018-02-23 07:21:28 | ret_value = super(OpenStackShell, 
self).run_subcommand(argv)
2018-02-23 07:21:28 |   File "/usr/lib/python2.7/site-packages/cliff/app.py", 
line 400, in run_subcommand
2018-02-23 07:21:28 | result = cmd.run(parsed_args)
2018-02-23 07:21:28 |   File 
"/usr/lib/python2.7/site-packages/tripleoclient/command.py", line 25, in run
2018-02-23 07:21:28 | super(Command, self).run(parsed_args)
2018-02-23 07:21:28 |   File 
"/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
2018-02-23 07:21:28 | return super(Command, self).run(parsed_args)
2018-02-23 07:21:28 |   File 
"/usr/lib/python2.7/site-packages/cliff/command.py", line 184, in run
2018-02-23 07:21:28 | return_code = self.take_action(parsed_args) or 0
2018-02-23 07:21:28 |   File 
"/usr/lib/python2.7/site-packages/tripleoclient/v1/container_image.py", line 
66, in take_action
2018-02-23 07:21:28 | uploader.upload()
2018-02-23 07:21:28 |   File 
"/usr/lib/python2.7/site-packages/tripleo_common/image/image_uploader.py", line 
94, in upload
2018-02-23 07:21:28 | uploader.run_tasks()
2018-02-23 07:21:28 |   File 
"/usr/lib/python2.7/site-packages/tripleo_common/image/image_uploader.py", line 
354, in run_tasks
2018-02-23 07:21:28 | for result in p.map(docker_upload, self.upload_tasks):
2018-02-23 07:21:28 |   File "/usr/lib64/python2.7/multiprocessing/pool.py", 
line 250, in map
2018-02-23 07:21:28 | return self.map_async(func, iterable, chunksize).get()
2018-02-23 07:21:28 |   File "/usr/lib64/python2.7/multiprocessing/pool.py", 
line 554, in get
2018-02-23 07:21:28 | raise self._value
2018-02-23 07:21:28 | ReadTimeoutError: None: None
2018-02-23 07:21:28 |
2018-02-23 07:21:28 | END return value: 1

Thanks.

Boris


From: dev <dev-boun...@

[rdo-dev] Attempt to reproduce Carlos Camacho simplest deployment (controller+compute) now fails as well.

2018-02-16 Thread Boris Derzhavets
Follow 
https://www.anstack.com/blog/2018/01/05/tripleo-quickstart-cheatsheet.html




just via remote connection to VIRTHOST (32 GB)  from F27 wks . Overcloud 
deployment

fails with error :-



overcloud_deploy.log



2018-02-16 19:02:51 | 2018-02-16 19:02:39Z [overcloud.Compute.0]: 
CREATE_COMPLETE  Stack CREATE completed successfully
2018-02-16 19:02:51 | 2018-02-16 19:02:40Z [overcloud.Compute.0]: 
CREATE_COMPLETE  state changed
2018-02-16 19:02:51 | 2018-02-16 19:02:40Z [overcloud.Compute]: UPDATE_COMPLETE 
 Stack UPDATE completed successfully
2018-02-16 19:02:51 | 2018-02-16 19:02:40Z 
[overcloud.Controller.0.ControllerExtraConfigPre]: CREATE_COMPLETE  state 
changed
2018-02-16 19:02:51 | 2018-02-16 19:02:40Z 
[overcloud.Controller.0.NodeExtraConfig]: CREATE_IN_PROGRESS  state changed
2018-02-16 19:02:51 | 2018-02-16 19:02:41Z [overcloud.Compute]: CREATE_COMPLETE 
 state changed
2018-02-16 19:02:51 | 2018-02-16 19:02:42Z [overcloud.ComputeServers]: 
CREATE_IN_PROGRESS  state changed
2018-02-16 19:02:51 | 2018-02-16 19:02:42Z [overcloud.ComputeServers]: 
CREATE_COMPLETE  state changed
2018-02-16 19:02:51 | 2018-02-16 19:02:42Z [overcloud]: CREATE_FAILED  list 
index out of range
2018-02-16 19:02:51 | 2018-02-16 19:02:42Z 
[overcloud.Controller.0.NodeExtraConfig]: CREATE_COMPLETE  state changed
2018-02-16 19:02:51 |
2018-02-16 19:02:51 |  Stack overcloud CREATE_FAILED
2018-02-16 19:02:51 |
2018-02-16 19:02:51 | + status_code=1
2018-02-16 19:02:51 | + openstack stack list
2018-02-16 19:02:51 | + grep -q overcloud
2018-02-16 19:02:55 | + openstack stack list
2018-02-16 19:02:55 | + grep -Eq '(CREATE|UPDATE)_COMPLETE'
2018-02-16 19:02:57 | + openstack stack failures list overcloud --long
2018-02-16 19:03:01 | ++ openstack stack resource list --nested-depth 5 
overcloud
2018-02-16 19:03:01 | ++ grep FAILED
2018-02-16 19:03:01 | ++ grep 'StructuredDeployment '
2018-02-16 19:03:01 | ++ cut -d '|' -f3
2018-02-16 19:03:16 | + exit 1

Thanks
Boris.


___
dev mailing list
dev@lists.rdoproject.org
http://lists.rdoproject.org/mailman/listinfo/dev

To unsubscribe: dev-unsubscr...@lists.rdoproject.org


Re: [rdo-dev] [rdo-users] Quickstart and containers

2018-02-12 Thread Boris Derzhavets
Mentioned bellow my deployment (4 Node HA) via F27 WKS, which worked fine twice 
on 02/06  and 02/09  now fails with message in log :


2018-02-11 10:19:50 | 2018-02-11 10:19:27Z [overcloud]: CREATE_FAILED  Resource 
CREATE failed: Error: 
resources.AllNodesDeploySteps.resources.ControllerDeployment_Step1.resources[0]:
 Deployment to server failed: deploy_status_code: Deployment exited with 
non-zero status code: 2
2018-02-11 10:19:50 |
2018-02-11 10:19:50 |  Stack overcloud CREATE_FAILED
2018-02-11 10:19:50 |
2018-02-11 10:19:50 | 
overcloud.AllNodesDeploySteps.ControllerDeployment_Step1.0:
2018-02-11 10:19:50 |   resource_type: OS::Heat::StructuredDeployment
2018-02-11 10:19:50 |   physical_resource_id: 
a9db44c8-39f7-4bc6-80b8-534b2c402b48
2018-02-11 10:19:50 |   status: CREATE_FAILED
2018-02-11 10:19:50 |   status_reason: |
2018-02-11 10:19:50 | Error: resources[0]: Deployment to server failed: 
deploy_status_code : Deployment exited with non-zero status code: 2
2018-02-11 10:19:50 |   deploy_stdout: |
2018-02-11 10:19:50 | ...
2018-02-11 10:19:50 | "2018-02-11 10:19:11,526 INFO: 22569 -- 
Removing container: docker-puppet-heat_api_cfn",
2018-02-11 10:19:50 | "2018-02-11 10:19:11,558 INFO: 22569 -- 
Finished processing puppet configs for heat_api_cfn",
2018-02-11 10:19:50 | "2018-02-11 10:19:11,559 ERROR: 22567 -- 
ERROR configuring swift_ringbuilder"
2018-02-11 10:19:50 | ]
2018-02-11 10:19:50 | }
2018-02-11 10:19:50 |   to retry, use: --limit 
@/var/lib/heat-config/heat-config-ansible/a25a263b-579b-4954-bf09-25bda1c4f1c3_playbook.retry
2018-02-11 10:19:50 |
2018-02-11 10:19:50 | PLAY RECAP 
*
2018-02-11 10:19:50 | localhost  : ok=6changed=2
unreachable=0failed=1
2018-02-11 10:19:50 |
2018-02-11 10:19:50 | (truncated, view all with --long)
2018-02-11 10:19:50 |   deploy_stderr: |
2018-02-11 10:19:50 |
2018-02-11 10:19:51 | + status_code=1
2018-02-11 10:19:51 | + openstack stack list
2018-02-11 10:19:51 | + grep -q overcloud
2018-02-11 10:20:20 | + openstack stack list
2018-02-11 10:20:20 | + grep -Eq '(CREATE|UPDATE)_COMPLETE'


Thanks

Boris



From: users <users-boun...@lists.rdoproject.org> on behalf of Boris 
<dba...@list.ru>
Sent: Friday, February 9, 2018 9:03 PM
To: James LaBarre
Cc: us...@lists.rdoproject.org
Subject: Re: [rdo-users] Quickstart and containers




Пятница, 9 февраля 2018, 19:17 +03:00 от James LaBarre <jlaba...@redhat.com>:

If I am trying to familiarize myself with the newer containerized
overcloud (Queens & upwards), is there a way to build a TripleO
Quickstart on a single node?
   Due to I cannot any longer respond from  hotmail.com ( backup address is 
used )

   1. https://www.anstack.com/blog/2018/01/05/tripleo-quickstart-cheatsheet.html
   2. this one was done via F27 connection to VIRTHOST
  http://lxer.com/module/newswire/view/252059/index.html

  I believe it might work in the way suggested by Carlos Camacho (1)

  Boris.

As I say, it's mainly to get some
experience in the newer configurations, after which I could probably
grab some more baremetal and do proper setups.

I do find myself wondering, though, with the way Quickstart worked with
images, if it's been doing containers all along...


___
users mailing list
us...@lists.rdoproject.org<mailto:us...@lists.rdoproject.org>
http://lists.rdoproject.org/mailman/listinfo/users

To unsubscribe: 
users-unsubscr...@lists.rdoproject.org<mailto:users-unsubscr...@lists.rdoproject.org>


С уважением,
Boris Derzhavets
dba...@list.ru
___
dev mailing list
dev@lists.rdoproject.org
http://lists.rdoproject.org/mailman/listinfo/dev

To unsubscribe: dev-unsubscr...@lists.rdoproject.org