pyJu fails to deploy/upgrade charm with 32MB payload

Bug #1156649 reported by David Ames
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
pyjuju
Triaged
Low
Unassigned

Bug Description

Charm with 32Mb payload fails to deploy or update, deploys and updates without it.

Confirmed with GSAs canonistack swift working fine.

2013-03-15 10:43:45,102 DEBUG Initializing juju upgrade-charm runtime
2013-03-15 10:43:45,110 DEBUG openstack: using auth-mode 'userpass' with https://keystone.canonistack.canonical.com:443/v2.0/
2013-03-15 10:43:45,110 INFO Connecting to environment...
2013-03-15 10:43:46,050 DEBUG openstack: authenticated til u'2013-03-16T17:43:45Z'
2013-03-15 10:43:46,051 DEBUG access object-store @ https://swift.canonistack.canonical.com/v1/AUTH_[REDACTED]/juju-dames-metadata-swift/provider-state
2013-03-15 10:43:46,051 DEBUG openstack: GET 'https://swift.canonistack.canonical.com/v1/AUTH_[REDACTED]/juju-dames-metadata-swift/provider-state'
2013-03-15 10:43:46,878 DEBUG openstack: 200 'zookeeper-instances: [[REDACTED]]\n'
2013-03-15 10:43:46,879 DEBUG access compute @ https://nova-lcy02.canonistack.canonical.com/v2/[REDACTED]/servers/[REDACTED]
2013-03-15 10:43:46,879 DEBUG openstack: GET 'https://nova-lcy02.canonistack.canonical.com/v2/[REDACTED]/servers/[REDACTED]'
2013-03-15 10:43:47,787 DEBUG openstack: 200 '{"server": {"status": "ACTIVE", "updated": "2013-03-15T16:55:42Z", "hostId": "[REDACTED]", "addresses": {"canonistack": [{"version": 4, "addr": "10.55.63.87"}]}, "links": [{"href": "http://nova-lcy02.canonistack.canonical.com/v2/[REDACTED]/servers/[REDACTED]", "rel": "self"}, {"href": "http://nova-lcy02.canonistack.canonical.com/[REDACTED]/servers/[REDACTED]", "rel": "bookmark"}], "key_name": null, "image": {"id": "4326c238-e834-450f-8b5d-29e045d1a4d2", "links": [{"href": "http://nova-lcy02.canonistack.canonical.com/[REDACTED]/images/4326c238-e834-450f-8b5d-29e045d1a4d2", "rel": "bookmark"}]}, "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "active", "flavor": {"id": "2", "links": [{"href": "http://nova-lcy02.canonistack.canonical.com/[REDACTED]/flavors/2", "rel": "bookmark"}]}, "id": "[REDACTED]", "security_groups": [{"name": "juju-dames-canonistack"}, {"name": "juju-dames-canonistack-0"}], "user_id": "[REDACTED]", "name": "juju dames-canonistack instance 0", "created": "2013-03-15T16:54:18Z", "tenant_id": "[REDACTED]", "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "config_drive": "", "metadata": {}}}'
2013-03-15 10:43:47,788 DEBUG Connecting to environment using 10.55.63.87...
2013-03-15 10:43:47,789 DEBUG Spawning SSH process with remote_user="ubuntu" remote_host="10.55.63.87" remote_port="2181" local_port="35413".
2013-03-15 10:43:51,806:26603(0xb75526c0):ZOO_INFO@log_env@658: Client environment:zookeeper.version=zookeeper C client 3.3.6
2013-03-15 10:43:51,806:26603(0xb75526c0):ZOO_INFO@log_env@662: Client environment:host.name=zed
2013-03-15 10:43:51,806:26603(0xb75526c0):ZOO_INFO@log_env@669: Client environment:os.name=Linux
2013-03-15 10:43:51,806:26603(0xb75526c0):ZOO_INFO@log_env@670: Client environment:os.arch=3.5.0-25-generic
2013-03-15 10:43:51,806:26603(0xb75526c0):ZOO_INFO@log_env@671: Client environment:os.version=#39-Ubuntu SMP Mon Feb 25 19:02:34 UTC 2013
2013-03-15 10:43:51,807:26603(0xb75526c0):ZOO_INFO@log_env@679: Client environment:user.name=(null)
2013-03-15 10:43:51,807:26603(0xb75526c0):ZOO_INFO@log_env@687: Client environment:user.home=/home/thedac
2013-03-15 10:43:51,808:26603(0xb75526c0):ZOO_INFO@log_env@699: Client environment:user.dir=/home/thedac
2013-03-15 10:43:51,808:26603(0xb75526c0):ZOO_INFO@zookeeper_init@727: Initiating client connection, host=localhost:35413 sessionTimeout=10000 watcher=0xb71fe580 sessionId=0 sessionPasswd=<null> context=0x97d96a0 flags=0
2013-03-15 10:43:51,809:26603(0xb64b3b40):ZOO_INFO@check_events@1585: initiated connection to server [127.0.0.1:35413]
2013-03-15 10:43:52,148:26603(0xb64b3b40):ZOO_INFO@check_events@1632: session establishment complete on server [127.0.0.1:35413], sessionId=0x13d6efd50cc0010, negotiated timeout=10000
2013-03-15 10:43:52,348 DEBUG Environment is initialized.
2013-03-15 10:43:52,349 INFO Connected to environment.
2013-03-15 10:43:55,657 DEBUG access object-store @ https://swift.canonistack.canonical.com/v1/AUTH_[REDACTED]/juju-dames-metadata-swift/local_3a_precise_2f_productsearch-4_3a_7331d87da45cbc489bd3ad29a504a9a244d5ce10dbbbc34625a786883df3a23f
2013-03-15 10:43:55,658 DEBUG openstack: PUT 'https://swift.canonistack.canonical.com/v1/AUTH_[REDACTED]/juju-dames-metadata-swift/local_3a_precise_2f_productsearch-4_3a_7331d87da45cbc489bd3ad29a504a9a244d5ce10dbbbc34625a786883df3a23f'
Traceback (most recent call last):
Failure: twisted.web._newclient.ResponseNeverReceived: [<twisted.python.failure.Failure <class 'twisted.internet.error.ConnectionLost'>>]
2013-03-15 10:44:34,673 ERROR Traceback (most recent call last):
Failure: twisted.web._newclient.ResponseNeverReceived: [<twisted.python.failure.Failure <class 'twisted.internet.error.ConnectionLost'>>]

2013-03-15 10:44:34,673 ERROR [<twisted.python.failure.Failure <class 'twisted.internet.error.ConnectionLost'>>]

Revision history for this message
Kapil Thangavelu (hazmat) wrote :
Download full text (5.7 KiB)

and can you upload a larger than 32mb file to swift ignoring juju?

-k

On Mon, Mar 18, 2013 at 7:54 AM, David Ames <email address hidden>wrote:

> Public bug reported:
>
> Charm with 32Mb payload fails to deploy or update, deploys and updates
> without it.
>
> Confirmed with GSAs canonistack swift working fine.
>
> 2013-03-15 10:43:45,102 DEBUG Initializing juju upgrade-charm runtime
> 2013-03-15 10:43:45,110 DEBUG openstack: using auth-mode 'userpass' with
> https://keystone.canonistack.canonical.com:443/v2.0/
> 2013-03-15 10:43:45,110 INFO Connecting to environment...
> 2013-03-15 10:43:46,050 DEBUG openstack: authenticated til
> u'2013-03-16T17:43:45Z'
> 2013-03-15 10:43:46,051 DEBUG access object-store @
> https://swift.canonistack.canonical.com/v1/AUTH_[REDACTED]/juju-dames-metadata-swift/provider-state
> 2013-03-15 10:43:46,051 DEBUG openstack: GET '
> https://swift.canonistack.canonical.com/v1/AUTH_[REDACTED]/juju-dames-metadata-swift/provider-state
> '
> 2013-03-15 10:43:46,878 DEBUG openstack: 200 'zookeeper-instances:
> [[REDACTED]]\n'
> 2013-03-15 10:43:46,879 DEBUG access compute @
> https://nova-lcy02.canonistack.canonical.com/v2/[REDACTED]/servers/[REDACTED]
> 2013-03-15 10:43:46,879 DEBUG openstack: GET '
> https://nova-lcy02.canonistack.canonical.com/v2/[REDACTED]/servers/[REDACTED]
> '
> 2013-03-15 10:43:47,787 DEBUG openstack: 200 '{"server": {"status":
> "ACTIVE", "updated": "2013-03-15T16:55:42Z", "hostId": "[REDACTED]",
> "addresses": {"canonistack": [{"version": 4, "addr": "10.55.63.87"}]},
> "links": [{"href": "
> http://nova-lcy02.canonistack.canonical.com/v2/[REDACTED]/servers/[REDACTED]",
> "rel": "self"}, {"href": "
> http://nova-lcy02.canonistack.canonical.com/[REDACTED]/servers/[REDACTED]",
> "rel": "bookmark"}], "key_name": null, "image": {"id":
> "4326c238-e834-450f-8b5d-29e045d1a4d2", "links": [{"href": "
> http://nova-lcy02.canonistack.canonical.com/[REDACTED]/images/4326c238-e834-450f-8b5d-29e045d1a4d2",
> "rel": "bookmark"}]}, "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state":
> "active", "flavor": {"id": "2", "links": [{"href": "
> http://nova-lcy02.canonistack.canonical.com/[REDACTED]/flavors/2", "rel":
> "bookmark"}]}, "id": "[REDACTED]", "security_groups": [{"name":
> "juju-dames-canonistack"}, {"name": "juju-dames-canonistack-0"}],
> "user_id": "[REDACTED]", "name": "juju dames-canonistack instance 0",
> "created": "2013-03-15T16:54:18Z", "tenant_id": "[REDACTED]",
> "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "",
> "progress": 0, "OS-EXT-STS:power_state": 1, "config_drive": "", "metadata":
> {}}}'
> 2013-03-15 10:43:47,788 DEBUG Connecting to environment using
> 10.55.63.87...
> 2013-03-15 10:43:47,789 DEBUG Spawning SSH process with
> remote_user="ubuntu" remote_host="10.55.63.87" remote_port="2181"
> local_port="35413".
> 2013-03-15 10:43:51,806:26603(0xb75526c0):ZOO_INFO@log_env@658: Client
> environment:zookeeper.version=zookeeper C client 3.3.6
> 2013-03-15 10:43:51,806:26603(0xb75526c0):ZOO_INFO@log_env@662: Client
> environment:host.name=zed
> 2013-03-15 10:43:51,806:26603(0xb75526c0):ZOO_INFO@log_env@669: Client
> environment:os.name=Linux
> 2013-03-15 10:43:51,806:2...

Read more...

Revision history for this message
Kapil Thangavelu (hazmat) wrote : Re: [Bug 1156649] [NEW] pyJu fails to deploy/upgrade charm with 32MB payload
Download full text (6.4 KiB)

ie. i'm trying to rule out swift configuration issues.

On Mon, Mar 18, 2013 at 8:01 AM, Kapil Thangavelu <
<email address hidden>> wrote:

> and can you upload a larger than 32mb file to swift ignoring juju?
>
> -k
>
>
> On Mon, Mar 18, 2013 at 7:54 AM, David Ames <email address hidden>wrote:
>
>> Public bug reported:
>>
>> Charm with 32Mb payload fails to deploy or update, deploys and updates
>> without it.
>>
>> Confirmed with GSAs canonistack swift working fine.
>>
>> 2013-03-15 10:43:45,102 DEBUG Initializing juju upgrade-charm runtime
>> 2013-03-15 10:43:45,110 DEBUG openstack: using auth-mode 'userpass' with
>> https://keystone.canonistack.canonical.com:443/v2.0/
>> 2013-03-15<https://keystone.canonistack.canonical.com:443/v2.0/2013-03-15>10:43:45,110 INFO Connecting to environment...
>> 2013-03-15 10:43:46,050 DEBUG openstack: authenticated til
>> u'2013-03-16T17:43:45Z'
>> 2013-03-15 10:43:46,051 DEBUG access object-store @
>> https://swift.canonistack.canonical.com/v1/AUTH_[REDACTED]/juju-dames-metadata-swift/provider-state
>> 2013-03-15<https://swift.canonistack.canonical.com/v1/AUTH_%5BREDACTED%5D/juju-dames-metadata-swift/provider-state2013-03-15>10:43:46,051 DEBUG openstack: GET '
>> https://swift.canonistack.canonical.com/v1/AUTH_[REDACTED]/juju-dames-metadata-swift/provider-state
>> '
>> 2013-03-15 10:43:46,878 DEBUG openstack: 200 'zookeeper-instances:
>> [[REDACTED]]\n'
>> 2013-03-15 10:43:46,879 DEBUG access compute @
>> https://nova-lcy02.canonistack.canonical.com/v2/[REDACTED]/servers/[REDACTED]
>> 2013-03-15<https://nova-lcy02.canonistack.canonical.com/v2/%5BREDACTED%5D/servers/%5BREDACTED%5D2013-03-15>10:43:46,879 DEBUG openstack: GET '
>> https://nova-lcy02.canonistack.canonical.com/v2/[REDACTED]/servers/[REDACTED]
>> '
>> 2013-03-15 10:43:47,787 DEBUG openstack: 200 '{"server": {"status":
>> "ACTIVE", "updated": "2013-03-15T16:55:42Z", "hostId": "[REDACTED]",
>> "addresses": {"canonistack": [{"version": 4, "addr": "10.55.63.87"}]},
>> "links": [{"href": "
>> http://nova-lcy02.canonistack.canonical.com/v2/[REDACTED]/servers/[REDACTED]",
>> "rel": "self"}, {"href": "
>> http://nova-lcy02.canonistack.canonical.com/[REDACTED]/servers/[REDACTED]",
>> "rel": "bookmark"}], "key_name": null, "image": {"id":
>> "4326c238-e834-450f-8b5d-29e045d1a4d2", "links": [{"href": "
>> http://nova-lcy02.canonistack.canonical.com/[REDACTED]/images/4326c238-e834-450f-8b5d-29e045d1a4d2",
>> "rel": "bookmark"}]}, "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state":
>> "active", "flavor": {"id": "2", "links": [{"href": "
>> http://nova-lcy02.canonistack.canonical.com/[REDACTED]/flavors/2",
>> "rel": "bookmark"}]}, "id": "[REDACTED]", "security_groups": [{"name":
>> "juju-dames-canonistack"}, {"name": "juju-dames-canonistack-0"}],
>> "user_id": "[REDACTED]", "name": "juju dames-canonistack instance 0",
>> "created": "2013-03-15T16:54:18Z", "tenant_id": "[REDACTED]",
>> "OS-DCF:diskConfig": "MANUAL", "accessIPv4": "", "accessIPv6": "",
>> "progress": 0, "OS-EXT-STS:power_state": 1, "config_drive": "", "metadata":
>> {}}}'
>> 2013-03-15 10:43:47,788 DEBUG Connecting to environment using
>> 10.55.63.87...
>> 2013-03-15 10:43:47,789 DE...

Read more...

Revision history for this message
David Ames (thedac) wrote :

The GSA uploaded a 500MB file to swift as a test. I'll do some testing on my local machine as well.

Revision history for this message
David Ames (thedac) wrote :

More information:

With the python-swiftclient I can upload the file to swift from my local without error.

On prodstack and stagingstack charm upgrades work with this payload.

prodstack and stagingstack are precise with juju 0.6.0.1+bzr598-0juju1~0.IS.12.04 package installed. With juju-origin: lp:~canonical-losas/juju/{prod,staging}stack.

My laptop is quantal with juju 0.6.0.1+bzr608-0juju2~quantal1 package installed. And fails with either juju-origin: lp:~canonical-losas/juju/prodstack or juju-origin: ppa.

Revision history for this message
Evan (ev) wrote :

I can independently confirm this with a 76MB payload against lcy02.

Curtis Hovey (sinzui)
Changed in juju:
importance: Undecided → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.